The puzzle of the template system of CMS development record

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

I'm trying to do a CMS based on PHP, in the now complex PHP world, my idea is small and confused. When all the CMS are already occupied by the king of the time, I still for some insignificant technical issues, struggling to find, I really do not know, this is still wrong. I wrote the process of my own development in preparation for my future memory. My CMS named bubble, I just want to make it simple and stupid, so that all want to own the site can simply build a legitimate website, not blog, I think this is also a lot of small business owners of the idea. But after all, we are not engaged in this, what is simple, how to be convenient, this is too much of a matter of opinion. In fact a CMS workflow is quite simple, add, modify, delete, do list, do the homepage, do content. What else, nothing, but what should be the performance of these content, who should be to achieve these performance? This is a problem. Let the person who do not understand to make the template basically is spot. We want to make the template to do as simple as possible, I can not like discuz to use their own products to guide users, after all, he is a big guy, I am not.

There are two ways to store the template system at present. One is to read the directory directly on the server, set up a directory tree, and use a plug-in configuration file to classify these files to facilitate the program identification read; the second is all the template content into the database, the combination of methods and categories, the attributes are all stored in the table, Is that they are more convenient to expand management. One of the benefits of this approach is that it allows you to edit the user of a template that writes permissions such as FTP, easy to modify the template, but its configuration file is very inflexible, inadequate management; Method Two advantage is that it strengthens management, easy to generate templates see logical structure, but not convenient through the way outside the CMS for direct editing. In this way, there is a clear trade-off problem, what is our target group? How do we plan the way of building the template?

Starting address: http://www.cmslabs.net/thread-44-1-1.html I want you to leave a message

Related Article

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.