This article for everyone to introduce PHPCMS V9 the basic knowledge of this system, PHPCMS is based on the object-oriented, strict installation of the MVC Development Model developed CMS system, and he is a non-
Often good PHP framework. Let's take a look at the simple knowledge of phpcms V9.
First, the directory structure of Phpcms V9
|-api API File Directory
|-caches cache and Configuration Files directory
|-html generates a static paging file directory that can be modified from the configuration file.
|-phpcms The system directory is very important.
|-languages Language Pack Directory
|-libs System class file directory
|-model Model File Directory
The |-modules module directory, where each module exists, is a controller file similar to MVC.
|-plugin Plugin Directory
|-templates Front template file directory
The class file loaded by the |-base.php portal file.
|-phpsso_server Phpsso Directory
|-statics static file directory, storing JS, CSS, images
|-uploadfile Accessories Storage directory, upload pictures and accessories are stored here
|-admin.php Background Access Address
|-api.php API Access Address
|-index.php phpcms Portal File address
|-plugin.php Plugin Address
|-index.html Generated Home page file
|-js.html
Second, Phpcms V9 's access process
Phpcms through the unique portal file index.php to determine which page to access, the following address:
Http://www.****.com/index.php?m=content&c=index&a=init
The above address is accessed by the Init method in the modules/content/index.php file, the default Phpcms routing settings, the above address to access the front page of the phpcms.
M stands for module
C stands for the controller, which is the PHP file under the current module.
A is the method in C.
Understand this after the benefit of the next two times development.
Third, the backstage of Phpcms V9
The background access address is: http://www.****.com/admin.php; in fact, is the visit of the Http://www.****.com/index.php?m=admin&c=index&a=init, You can see in the admin.php file that the code inside is a jump code. Of course we directly access the URL can also be seen in the jump.
OK, here is our preliminary understanding of Phpcms V9.