Quick start of Phpcms V9 tutorial

Source: Internet
Author: User
Tags php framework

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.