PHP has been learning for some time, has not felt, recently began to look at the framework, my simple understanding, the so-called framework is the presentation layer and the logical layer separation of a tool, and thinkphp is this tool, of course, he also integrates some powerful features to help programmers convenient, standardized, rapid development of code.
Create a project folder in the root directory, and then write to index.php, and the browser will enter Localhost:appname to automatically generate the appropriate folder in the project directory. The default is the IndexAction.class.php under the Action folder under Lib The index method corresponds to the representation layer picture under the TPL index (need to create it yourself) index.php
(entry file index.php) define (' App_path ', './appname/');
Define (' App_name ', ' APP ');
Require ("/thinkphp/thinkphp.php");
This article is from the "lamp94" blog, make sure to keep this source http://lamp94.blog.51cto.com/9340829/1553067
Initial knowledge of thinkphp--> on the path (the root directory of the Htdocs under XAMPP)