Home>Article>PHP Framework> what is thinkphp5

what is thinkphp5

藏色散人
藏色散人 Original
2019-06-04 11:48:13 4797browse

ThinkPHP V5.0 is a high-performance framework designed for API development - a subversive and reconstructed version that adopts new architectural ideas, introduces many new PHP features, optimizes the core, and reduces dependencies. It implements true lazy loading, supports composer, and makes a lot of optimizations for API development.

what is thinkphp5

ThinkPHP5 is a new milestone version, including routing, logging, exceptions, models, databases, template engines and validation modulesallhas been refactored and is not suitable for upgrading original 3.2 projects. Please carefully consider upgrading commercial projects, but it is definitely the first choice for new projects (whether it is WEB or API development), and it is best to forget the thinking habits of version 3.2. Re-understand TP5.

ThinkPHP is afree open source, fast, simple object-oriented lightweight PHP development framework,was born for agile WEB application development and simplified enterprise application development. ThinkPHP has been adhering to the simple and practical design principle since its birth. While maintaining excellent performance and minimal code, it also focuses on ease of use. Publishing under the Apache2 open source license agreement means that you can use ThinkPHP for free, and even allow the applications you develop based on ThinkPHP to be open source or released/sold as commercial products.

ThinkPHP5.0 version is a subversive and reconstructed version. It adopts a new architectural idea, introduces more new PHP features, optimizes the core, reduces dependencies, realizes true lazy loading, and supports composer , and made a lot of optimizations for API development, including routing, logs, exceptions, models, databases, template engines and verification modules have been reconstructed, which is not suitable for the upgrade of the original 3.2 project. Please carefully consider upgrading commercial projects, but Definitely the first choice for new projects (whether it is WEB or API development).

Main features:

Specifications: Follow PSR-2, PSR-4 specifications, Composer and unit test support;

Rigorous: Extremely rigorous Error detection and security mechanisms, detailed log information, protect your development;

Flexible: reduce core dependencies, make expansion more flexible and convenient, 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: Reconstruction Database, model and association, supported by MongoDb;

The above is the detailed content of what is thinkphp5. For more information, please follow other related articles on the PHP Chinese website!

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