Plan the Content Management System

The application to be created in this tutorial is divided into two sections:

  1. Front-end - in this section you will learn how to create the site's publicly accessible pages - pages to display topics, article titles and entire articles.

  2. Administration section - in this section you will learn how to create pages that allow administrators manage the entire site - from content to users and work flow.

 

The application will allow users to:

 

The database used for this tutorial is relatively simple, using only four tables, as shown in the diagram below:

 

Note: The database diagram in the image above was built with MX Query Builder (an InterAKT product, also referred as QuB) to better illustrate the database structure. You do not need to build it in order to complete this tutorial.

 

  1. topic_top - this table stores data about the article topics:

  2. status_sta - this table stores data about the possible article states. Possible values are: 1 - Draft, 2 - Assigned for review and 3 - Approved. These values are inserted by default.

  3. user_usr - this table stores information about the site users:

  4. article_art - this table stores information about the site articles:

 

The database script offered in the package contains several records, to help you get started. Among these there are some default user accounts:
 

Username

Password

webmaster@interaktcms.org

root

author@interaktcms.org

root

author2@interaktcms.org

root

editor1@interaktcms.org

root

editor2@interaktcms.org

root

 

In order to create this application you will have to define a file structure similar to the one below:


 

 

To quickly create a similar file structure, unpack the downloaded .zip file from the \tutorials\your_server_model\CMS\ into the root of your Dreamweaver site.
Note:
When locating this path, replace "your_server_model" with the server model you are using.

Before starting to work on the actual pages, you must define a Dreamweaver database connection. Open one of the site pages, and go to the Databases tab -> Plus (+) and select the option that creates a new connection. Configure it with your particular details:

 

After creating the database and file structure, a Dreamweaver site and a database connection, you can move on and start creating the actual pages.