Home>Article>Backend Development> What does Thinkphp mean? The difference between thinkphp5.0 and thinkphp3.2
When mentioning php, many people will think of thinkphp, so what is thinkphp? Is thinkphp php? What is the difference between thinkphp and php? Below, the php Chinese website will explain Thinkphp to you.
1: What is Thinkphp
Thinkphp is a free development framework. The earliest Thinkphp was created to simplify development. , Thinkphp also follows the Apache2 protocol. It originally evolved from Struts. It also makes use of some good foreign framework models, uses an object-oriented development structure, and is compatible with many tag libraries and other models.
2: The difference between thinkphp5.0 and thinkphp3.2
1.URL and routing
thinkphp5.0 has made some improvements in routing Improvements include adding routing rules and combination variables. At the same time, the URL access of thinkphp5.0 does not support the general mode, and the routing no longer supports routing customization, and has been changed to the regular definition method.
2. Request and response
In thinkphp5.0, requests and responses are added, namely Request and Response, where Request is the processing request object and outputs to the client.
3. Database
thinkphp5.0 has a strong data query function, and the query returns objects and supports closure and block queries. Previously, it was through chained queries, and it is Called through Db class.
4. Automatic verification and automatic completion
There is a big difference between automatic verification and automatic completion. thinkphp5.0 uses a validator for verification, and defines a modifier after automatic completion. .
5. Log
The thinkphp5.0 page is enhanced using Trace and the browser console.
The above is what does Thinkphp mean? A complete introduction to the differences between thinkphp5.0 and thinkphp3.2. If you want to know more aboutphpGetting Started, please pay attention to the php Chinese website.
The above is the detailed content of What does Thinkphp mean? The difference between thinkphp5.0 and thinkphp3.2. For more information, please follow other related articles on the PHP Chinese website!