欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

CakePHP 3.2.6 发布,PHP 开发框架

程序员文章站 2022-03-27 16:57:48
...
CakePHP 3.2.6 发布了。CakePHP 是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:
  • 基于MVC架构

  • 视图支持Ajax

  • 内置校验框架

  • 提供应用程序的基础模块和CRUD 代码自动生成功能

  • 提供处理session,request,security的组件

  • 灵活的视图缓存功能

  • 面向对象

  • 无需配置:只要安装好数据库

  • 兼容PHP4和PHP5。

此次更新,Bug 修复:

  • Improved API documentation ( @Sethathi , @thinkingmedia )

  • Queries generated by the marshaller now correctly alias primary key columns. ( @markstory )

  • Complex conditions in BelongsToMany associations now work correctly. ( @markstory )

  • Select box widgets for boolean values now generate correctly. false is now treated as equivalent to 0. ( @markstory )

  • Http\Client now supports ssl_verify_peer_name option correctly now. ( @curtisgibby )

  • CakePHP can now be used from within a phar file. ( @lorenzo )

  • Bound parameters in sub-queries now propagate to their parent query. ( @markstory )

  • A regression in the Postgres schema reflection code has been corrected. ( @markstory )

  • Accessing TitleCase properties from entities now works as expected. ( @dakota )

  • Cells in sub-namespaces now work as one would expect. ( @markstory )

  • '' is now a valid value for time inputs. ( @markstory )

新特性:

  • Cake\ORM\Marshaller::one() now supports a forceNew option that can be used to create 'new' belongsToMany association records when the primary key is not defined. ( @Tzaoh )

  • SecurityComponent now emits helpful error messages when secure field comparisons fail and an application is in debug mode. ( @steinkel )

  • Validation::localizedTime() was added. ( @ypnos-web )

  • Error logs contain request URL and referrer URLs. (@mirko-paglial)

下载: