CMS Content Management System

Source: Internet
Author: User
CMS Content Management System

1. CMS (Content Manage System Content Management System ):

For example, news/e-commerce/movie/Company publicity websites/software/articles)

2. Popular CMS [dedecms/phpcms/cmstop]

Dedecms: focuses on medium/small websites, but has enterprise users

Phpcms: Medium/large

Cmstop: process large processes and Loads

3. CMS features

    • Practical, open-source, simple open-source, and free are not the same thing
    • CMS structure (MVC), not all object-oriented
    • Technology: PHP + MySql
    • Use full-site static
Dedecms Installation

1. decompress the package and copy the uploads folder to the Home Directory of the website and change it to dedecms.

  

  

2. Installation

Address Bar http: // localhost/dedecms/install/index. php

Install and agree-> enable GD library

    

After the installation is successful:

Http: // localhost: 88/dedecms/index. php [foreground]

 

Http: // localhost: 88/dedecms/Dede/index. php [background]

3. Security Settings:

    • Change the dedecms/Dede directory to another name, such as manage.
    • Change dedecms/date/common. Inc. php to read-only
    • Change the admin password:
Dedecms directory description:
  • Dedecms/a directory stores static pages of our columns and static pages of content
  • Dedecms/data directory stores temporary files, cache files, and configuration files
  • Dedecms/image directory stores website Images
  • The dedecms/include directory contains the core class library file image processing class, and the database processing class (dedecms/include/dedesql. class. PHP), string processing class (dedecms/include/helper/string. helper. PHP), tag Library Class dedecms/include/taglib, small tool class, payment interface (dedecms/includepayment)
  • Dedecms/install installation directory (reinstallation problem)
  • Dedecms/Dede Directory management background
  • The dedecms/member directory is the member management module.
  • The dedecms/plus directory is plug-in development. You can develop your own programs.
  • The dedecms/templets/default directory is the directory where our templates are stored. We can put our own template pages here.
  • The dedecms/uploads directory contains the uploaded images and files.
Dedecms reinstallation

1. Delete two files: index.html install_lock.txt.

2. Modify an object name index. php. Bak -- "index. php

Dedecms principles

    

Easy to use

Now the boss asks you to create an article management system. The topic (Category) includes (martial arts, love, music ...), each topic (Category) has a corresponding article. The article has already been prepared for you. Please fix the website in 30 minutes. How can this problem be solved?

Steps:

1, Log on to the dedecms background and create three columns (categories)

(1) Back-> core-> website topic management-> Add top-level topic

(2) Add three. Refresh the home page and you will be able to see it.

2, Add corresponding articles to each topic and add articles to the martial arts topic

Background-> core-> common articles-> Add articles (the thumbnail code can be used out)

Here you can add an article and refresh the homepage.

When you click the hyperlink of an article, you can see the corresponding article content.

3, Create Topic Page

Background-> Generate-> Update Topic Page

At this time, all our third-level pages go through.

Details:

1. Dede designers believe that each topic belongs to a model martial arts Article | music article => Article model, a content model, the dede_channeltype column provides five content models by default.

2. Dede designers believe that all data (movies, articles, software, and news) belong to one topic. to record the information of this topic, put it in the dede_arctype table.

Field name

Description

ID

Id Primary Key

Topid

Who is the first-level ID? 0 represents the top-level column.

3. Dede designers believe that all records (News, articles, software ..) All data should be put into the dede_archives [master table], and some data should be put into the corresponding slave table

4. Dede designers believe that no matter what kind of data (News, articles, software ..) they have the same field and put the same field into the primary table (dede_archives). They also think that each type of data has its own unique field, so they put the information into the slave table. For example:

News slave table: dede_addonnews

Item goods slave table: dede_addongoods

5. When we create a topic in the background,

(1) This topic information will be recorded in the dede_arctype table.

(2) At the same time, a corresponding folder will be created, the topic folder dedecms/A/topic Folder/

6. When I create a record in a column,

(1) The record will be saved to the database (dede_archives + corresponding slave table)

(2) dedecms/A/topic Folder/

 

CMS Content Management System

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.