Build a complete CMS in just a few hours 1


If you are interested in learning the inner workings of a Content Management System here’s an insightful tutorial by Matt Doyle from elated.com where he details how to build a complete CMS using PHP and MySQL in just a few hours.

It comes with all the code used in the available for download. You will need to have an Apache web server with PHP installed, as well as a MySQL database server. If you don’t have access to a web server to play with, both can be run locally on your computer by simply installing XAMPP, an Apache distribution containing MySQL, PHP, Perl and other Open Source modules. XAMPP is really very easy to install and to use – just download from the Apache Friend’s website, extract and start.

The tutorial is divided into the following steps:

  1. Create the database
  2. Create the articles database table
  3. Make a configuration file
  4. Build the Article class
  5. Write the front-end index.php script
  6. Write the back-end admin.php script
  7. Create the front-end templates
  8. Create the back-end templates
  9. Create the stylesheet and logo image

Head over to:
http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/
for the complete tutorial.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

One thought on “Build a complete CMS in just a few hours

  • Paul Sneaker

    It really takes a toll on a person emotionally, physically, mentally, to create a CMS from scratch. Trust me I know from a customer who insisted in creating such a frankestein monstert, and then you have to keep it updated, fix bugs, patch security vulnerabilities …. perfect recipe for disaster.
    “It’s simple,”, you might think, but nothing beats installing wordpress or any other excellent CMS out there and achieving your goals using plugins. Let their team of developers do the hard part and stop worrying about it.