About the small CMS demo version I made using some PHP frameworks

Source: Internet
Author: User
Tags php basics
(1) students who have studied PHP basics must have met the small CMS system-Article Management System (test4.veryphp.cn) I developed using nativecode ). The basic functions of the website are as follows: Login, article management, article Classification Management, administrator and permission management, password modification, account information editing, and exit.

(1) students who have studied PHP basic courses, must have seen a small CMS system-Article Management System (http://test4.veryphp1.cn/) developed with native code of PHP /). The basic functions of the website are as follows: Login, article management, article Classification Management, administrator and permission management, password modification, account information editing, and exit.

(1) students who have studied PHP basic courses, must have seen a small CMS system-Article Management System (http://test4.veryphp1.cn/) developed with native code of PHP /).
The basic functions of the website background are as follows:
Login; Article management; Article classification management; Administrator and permission management; password modification; account information editing; exit.
It has covered most of the features developed by small websites.
In particular, the permission system is no longer the only administrator of a normal website. It can add multiple administrators and assign the background functions to the administrators according to their permissions. Each administrator can only manage the features he/she has specified.
Permission management is the most complex part of website development. It is implemented in a simple and efficient manner in the system. You can observe the demo and model code, learn the concept of permission management and basic development ideas, and lay a theoretical foundation for understanding or developing a more advanced RBAC permission system.

(2) Article Management System: Implemented Using ThinkPHP framework
I used PHP native code to develop the article management system. You can open the web site on the front-end interface.
And I use ThinkPHP development of the article Management System: MyPHPCMS-TP-V1.0-with ThinkPHP3.1 development, web site: http://test6.veryphp1.cn/after the opening of the student will find the interface and http://test4.veryphp1.cn/basic example.

This website is developed with ThinkPHP3.1 as an example and a practical CMS system. There are many bugs in the examples released on the TP official website, and many of them have been corrected here. There are still many reasonable improvements.
The TP-Based RBAC permission system manages the background permissions. The Code adopts the TP project grouping technology, which makes the front and back-end code reasonable and facilitates code management.
It can be used as an example of learning TP, or you can develop your own Web project, such as a website, based on this platform.

In the future, I will also use CodeIgniter (CI) and my own PHP framework to develop the above article management system, and the interface will be the same as the above two sites. To do this, consider:

1. I am engaged in PHP development rather than demonstration of Html front-end development. I don't want to distract students from attention because of different front-end code;
2. I want to prove that different PHP frameworks can create websites with the same interface. Like a car with the same shell, the engine of different manufacturers can be installed. Furthermore, different Web development systems and languages, such as JAVA or ASP. NET, can also create websites with the same interface.

The small CMS demo I made using the Yii framework is also coming soon. The code of this system is more dependent on the Code and interface generated by its scaffolding. It differs greatly from the interface of the aforementioned article management system, but its functions are basically the same. In fact, you can also make the same interface, you can implement it yourself.

Currently, I have developed a website based on my own development framework, including:
Very PHP Learning Network: http://www.veryphp1.cn/
Xi'an very PHP training Learning Network: http://www.veryphp1.cn/
Http://www.why100000.com/
Taotao village Website: http://test3.veryphp1.cn/. it is actually completely HTML static.
Xi'an jinyuan financial consulting network: http://www.jycaiwu.com/

Appendix: Small CMS system project plan developed with PHP native code (Lite version)

(1) Design

Website function: Document Management System

Front-end:
Pagination of all articles
Pagination of articles by category
Details page

Background:
Login
Article Management
Document Classification Management
Administrator and permission management
Password Modification
Account Information
Exit

Database: mysite
Table Structure:
User table: account
Article table: article
Document Category Table: article_cat

(2) implement with native code
Create databases and tables
Create a VM
Build a website folder structure
Front-end and back-end interfaces (login interface)
Write code
Avoid gibberish

(3) website improvement and Optimization
Merge add and modify Interfaces
Special Character Processing
Use the editor CKEditor
Input front-end and back-end Verification

(4)
1. template system smarty Learning
2. Use the Smarty template system to reconstruct the website

(5) test
Security Questions
Front and back-end input verification
Garbled
Special Html characters: '"<> &

Zhang Qing (mesh), Weibo: http://t.qq.com/zhangking
From mesh horizon: http://blog.why100000.com
Why 100,000 computer learning networks: http://www.why100000.com
2013-9-1

"Information Source: Very PHP Learning Network: http://www.veryphp1.cn]

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.