How to WCMS (web content management system)


CONTENT MANAGEMENT SYSTEM

content management application (CMA)content delivery application (CDA)

WYSIWYG DATA

read and write RAW DATA from CDA to database

Public Website Read-only







































Tristan Griffin : Interactive Media 2015

Most modern websites use some form of content management system (CMS ) for example this 'how to' has been made using blogspot.com. While we take for granted how these CMS platforms work, it does not hurt to take a look under the hood.


Typically, a CMS consists of two elements: the content management application (CMA) and the content delivery application (CDA).


The CMA element allows the content manager or author, who may not know Hypertext Markup Language (HTML), to manage the creation, modification, and removal of content from a Web site without needing the expertise of a Webmaster.
The CDA element uses and compiles that information to update the Web site via a database, commonly SQL. The features of a CMS system vary, but most include Web-based publishing, format management, revision control, and indexing, search, and retrieval.


If you hover your mouse over the above diagram to see examples of how PHP and Sqlite code work and how the CMA, CDA and PUBLIC WEBSITE interact. The diagram describes:

  • The web designer edits text content on the CMA, and presses save.
  • This data is then sent to the CDA which converts the data and sends it to the database
  • The Public website then displays the new content




The CMA is written in a php file, this allows both server side and client side code to run parallel.
The CDA is also written in a php file but uses mostly the PDO ( php data object) language to access the sqlite databases. The reason for this choice is that it enables easy of installation in that nothing needs to be done by the user. Simply upload to the server and the CMS and website work.


Features included in this CMS are:
  • account management
  • create/delete/edit webpages and other content such as images, sounds, videos etc
  • theme/skinning of webpages: color change through to full theme change
  • file management: upload/delete/display
  • WYSIWYG text editor
  • responsive website template



The major downside to most CMS is that you can only edit content that the CMS is configured for which is the case of this CMS.For example blogger limits the width of all elements to 800px ie the iframes. The intention with this CMS is to provide C3kingscliff with a responsive website with minimal page scrolling that can be updated by people with limited computer skills.




LINKS


Test php page for reading and writing data to a sqlite database

http://artworkprocess.com/interactivemedia2015/week11/c3kingscliff/4updateServicespage/admin/indexTEST.php




















Public webpage
http://artworkprocess.com/interactivemedia2015/week11/c3kingscliff/4updateServicespage/services.php


Admin editor
http://artworkprocess.com/interactivemedia2015/week11/c3kingscliff/4updateServicespage/admin.php
http://artworkprocess.com/interactivemedia2015/week11/c3kingscliff/4updateServicespage/admin/EDIT_services.php

Sample of working PHP and Sqlite code
http://artworkprocess.blogspot.com.au/p/showing-php-code.html
http://artworkprocess.blogspot.com.au/p/public-servicesphp-code-example.html


















http://artworkprocess.blogspot.com.au/p/admin-servicesphp-code-example.html















http://artworkprocess.blogspot.com.au/p/complete-pdo-server-code-examples.html








































































footer

No comments:

Post a Comment