CakePHP 2.6.8 发布,PHP 开发框架

jopen 9年前

CakePHP 2.6.8 发布,此版本是个维护版本,主要是 bug 修复:

  • Fix issue with overlapping irregular inflections. When irregular inflections  overlap we should choose the longest match, not the shortest.

  • Fix regression in Inflector::camelize(). The input should not be lowercased  before camelizing, as this can cause inputs that were previously camelized to  create incorrect results.

  • Fix Validation::multiple() regarding 0 value. Previously 0 could not be  a valid option.

  • FormHelper::radio() now supports complex option definition. This makes it  easier to define custom attributes on each radio button.

  • Element tags had trailing whitespace removed. If you have custom element tags  with HtmlHelper you might need to update your templates.

  • Shells will now never print HTML errors. Previously if you used custom the  console error handlers you could end up with HTML in your terminal.

  • SQL operators in Postgres are now less greedy when fields are quoted.

详细改进请看更新日志,下载:https://github.com/cakephp/cakephp/archive/2.6.8.zip

CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:

基于MVC架构
视图支持Ajax
内置校验框架
提供应用程序的基础模块和CRUD 代码自动生成功能
提供处理session,request,security的组件
灵活的视图缓存功能
面向对象
无需配置:只要安装好数据库
兼容PHP4和PHP5。



来自:http://www.oschina.net/news/63797/cakephp-2-6-8