Home  >  Article  >  Backend Development  >  ThinkPHP 5.0 RC2 发布--为API开发而设计

ThinkPHP 5.0 RC2 发布--为API开发而设计

WBOY
WBOYOriginal
2016-06-20 12:35:011018browse

ThinkPHP5.0版本是一个颠覆和重构版本,基于PHP5.4设计(支持PHP7),采用全新的架构思想,引入了很多的PHP新特性,优化了核心,减少了依赖,实现了真正的惰性加载。

本次RC2版本改进如下:

重新设计的自动验证和自动完成机制;

验证类Validate独立设计;

自动生成功能交给Console完成;

对数据表字段大小写的处理;

改进Controller类(取消traits\contorller\View);

优化Loader类;

改进Input类;

改进Url类;

优化Route类;

Session类自动初始化;

增加traits\model\Bulk模型扩展用于大批量数据写入和更新;

缓存类和日志类增加Test驱动;

对异常机制和错误处理的改进;

增加URL控制器和操作是否自动转换开关;

支持类名后缀设置;

开放完全开发手册(尚未完善);

取消操作绑定到类的功能;

取消use_db_switch参数设计;

简化3.2版本的升级工作;

修正社区和单元测试反馈的BUG;

[ 下载地址 ]

官网: http://www.thinkphp.cn/down/725.html

GIT:  https://github.com/top-think/think

[ 开发手册 ]

http://www.kancloud.cn/manual/thinkphp5

文档尚在不断完善中~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn