Improve associated save method
Improve model data validation
Collection adds values method
Improve unique verification method
Improve the method method of Request class
Introduction to ThinkPHPThinkPHP is a free and open source, fast and simple object-oriented lightweight PHP development framework. It is released under the Apache2 open source agreement and was born for agile WEB application development and simplified enterprise-level application development. It has many excellent functions and features. After more than three years of development, with the active participation of the community team, it has been continuously optimized and improved in terms of ease of use, scalability and performance. Numerous typical cases ensure that it can be stably used in commercial applications. and portal-level development.
ThinkPHP draws on many excellent foreign frameworks and models, uses object-oriented development structure and MVC model, adopts single entry model, etc., and integrates Struts' Action ideas and JSP's TagLib (tag library), RoR's ORM mapping and ActiveRecord model. It encapsulates CURD and some common operations in project configuration, class library import, template engine, query language, automatic verification, view model, project compilation, caching mechanism, SEO support, distributed database, multi-database connection and switching, authentication mechanism and It has unique performance in terms of scalability.
The main features of ThinkPHP include Specifications: Comply with PSR-2 and PSR-4 specifications, Composer and unit test support;
Rigorous: Extremely rigorous error detection and security mechanisms, detailed log information, to protect your development;
Flexible: Reduce core dependencies, make expansion more flexible and convenient, and support command line instruction expansion;
API friendly: excellent performance and REST support, remote debugging, better support for API development;
Efficient: lazy loading, and caching mechanism for routing, configuration and automatic loading;
ORM: Reconstructed database, model and association, supported by MongoDb;