ThinkPHP is a fast and simple lightweight PHP development framework based on MVC and object-oriented. It is released under the Apache2 open source license. Since its inception, it has been adhering to simple and practical design principles while maintaining excellent performance and minimal code. At the same time, it pays special attention to development experience and ease of use, and has many original functions and features, providing strong support for WEB application development.
Version 3.2 has made some architectural adjustments on the original basis, introduced namespace support and modularization improvements, providing more convenience for large-scale applications and modular development.
- The database driver is completely rewritten using PDO;
- Supports universal insertAll method;
- Improve parameter binding mechanism;
- Master-slave distributed database connection improvement;
- More complete support for Mongo;
- Many enhancements and improvements to the model class;
- Add aggregation model extension;
- Support composite primary key;
- Complete support for multi-table operations;
- The CURD operation of the model supports only obtaining SQL statements without executing them;
- Add using/index/fetchSql/strict/token coherent operation method;
- The setInc and setDec methods of the model class support delayed writing;
- I function adds variable modifier and regular detection support;
- Supports global variable filtering and variable filtering for Action parameter binding;
- Fix possible SQL injection vulnerability;
- Support global routing definition;
- Add plug-in controller support;
- Add flexible settings for global and module template paths;
- The log directory is stored in modules;
- Add memcache Session driver;
- Improve the array operation of session function;