What's new in CakePHP 1.2?

 reference: http://cakebaker.42dh.com/2007/04/05/whats-new-in-cakephp-12/trackback/

An often heard question is “What are the differences between CakePHP 1.1 and CakePHP 1.2?”. So with this post I try to give you a short overview of the differences between those two versions (if you miss an important change in the list below, please let me know and I will append it). As CakePHP 1.2 is still under development, not all topics listed below are fully implemented yet. And for many topics there is no documentation available yet.

  • New file extension for view files (.ctp instead of .thtml)
  • Definition of routes in app/config/routes.php changed a bit (Router::connect instead of $Route->connect)
  • Integrated test suite
  • A growing number of core classes are tested (cake/tests/cases)
  • Three new core components: Auth, Cookie, and Email
  • Support for DB2, Oracle and Sybase
  • Support for global Javascript and CSS files (vendors/js resp. vendors/css)
  • Model behaviors
  • Three core behaviors: Acl, Translate, Tree
  • Form related functions have been moved from the HTMLHelper to the FormHelper
  • Four new core helpers: Js, Paginator, Rss, and Xml
  • Support for themes
  • i18n and l10n support
  • Command line console (bake2 will probably get integrated into this new console infrastructure)
  • More advanced validation
  • Dot notation for HtmlHelper and FormHelper (Model.field instead of Model/field), thanks to Dieter@be for the hint
  • Named arguments (thanks to poLK)
  • New core classes: Set (thanks to poLK), Debugger, HttpSocket, Socket
  • More advanced caching facilities. Support for APC, memcache, xcache, file-based and database-based caching

And of course CakePHP 1.2 contains a lot of bug fixes and small enhancements.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值