This article will give you a brief introduction to ThinkPHP and understand the basic knowledge. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
1. Domestic open source framework based on apache protocol
2. Can develop commercial software
3. Regardless of server platform Or the web server we use
Server platform: windows, linux, unix
web server: apache, iis, bgix,
is better for cross-platform implementation.
4. Convenient cross-platform aspects (unix and windows)
Unix-like case-sensitive
windows is not case-sensitive
5. Supported by URL Multiple modes, convenient for SEO
6. Automatic loading, dynamic compilation, saving system overhead
7. Ajax, views, grouping, permission management, associated operations, master-slave database, cache (apc ,db,mecache,shmop,xcache,file)
8. Automatic verification, automatic completion, mapping
9. MVC
m: model model (database operation class)
v: view view (the first view refers to the view in mysql, the second view refers to the template)
c: control controller (the template is implemented through the controller , the control relationship between models)
10. Index.php main entry file (to find modules and methods), all file loading is subject to the main entry file.
The above is the detailed content of What is ThinkPHP? Simple introduction. For more information, please follow other related articles on the PHP Chinese website!