PHP开发框架 CakePHP 2.0.6 发布
fmms 13年前
<p><img style="width:93px;height:86px;" alt="PHP开发框架 CakePHP" src="https://simg.open-open.com/show/6263b2deecbb4d14913c05bf1b1d5350.png" width="180" height="180" /></p> <p>CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:</p> <p>基于MVC架构<br /> 视图支持Ajax<br /> 内置校验框架<br /> 提供应用程序的基础模块和CRUD 代码自动生成功能<br /> 提供处理session,request,security的组件<br /> 灵活的视图缓存功能<br /> 面向对象<br /> 无需配置:只要安装好数据库<br /> 兼容PHP4和PHP5。<br /> </p> <p>CakePHP 2.0.6 发布了,这可能是 2.0 的最后一个版本,而接下来 CakePHP 团队将致力于 2.1 版本的开发,目前 2.1 最新的版本是 beta 版(<a href="/misc/goto?guid=4958328475343557942" target="_blank">下载</a>),将兼容 2.0 版本。</p> <p>CakePHP 2.0.6 有超过 90 个提交以及解决了 45 个问题,主要有:</p> <ul> <li>Updating minimum PHP version requirement to 5.2.8 due to PHP bugs #44251 and #45748</li> <li>Model does not call calculate() and expression() method on the datasource if it does not implements it.</li> <li>SqlServer views can be mapped with models as you can do with normal tables.</li> <li>Fixed issue where session would always be regenerated regardeless of configs set.</li> <li>Not requiring a database connection for Models having $useTable = false when combined with the FormHelper</li> <li>Not throwing errors when instantiating model classes with no constructor using the ClassRegistry</li> <li>Fixing memory leaks in some Database drivers</li> <li>TextHelper::excerpt() now works as documented.</li> <li>Defaulting back to using PHP_SELF to get current url, this solves several issues in shared hosts</li> </ul> <h3>相关链接:</h3> <ul> <li><a href="/misc/goto?guid=4958328476141914222">http://github.com/cakephp/cakephp/zipball/2.0.6</a></li> <li><a href="/misc/goto?guid=4958328476929456280">http://cakephp.org/changelogs/2.0.6</a></li> <li><a href="/misc/goto?guid=4958328477722759146">http://cakephp.lighthouseapp.com/projects/42648/development-roadmap</a></li> <li><a href="/misc/goto?guid=4958328478512450909">http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html</a></li> </ul> <p></p>