Home >PHP Framework >ThinkPHP >Brief analysis of the operating process of TP6 framework (with mind map)
The followingthinkphp frameworkThe tutorial column will introduce to you the impact on performance of introducing so many files in the TP execution method. I hope it will be helpful to friends in need!
1. Application entry file
2. Register automatic loading file
3. Instantiation System application basic class think\App
4. Execute the run method of Http
to obtain the current request object instance and save it in the container.
Initialize HTTP application
Listen to the AppInit (application initialization) event
Listen to the HttpRun event
Listen to the RouteLoaded event
Listen to the HttpEnd event
The mind map is as follows:
Recommended: "The latest 10 thinkphp video tutorials"
The above is the detailed content of Brief analysis of the operating process of TP6 framework (with mind map). For more information, please follow other related articles on the PHP Chinese website!