Simple object-oriented CMS in PHP (MVC)
An online course that shows you how to program a simple CMS (Content Management System) in PHP, for your websites, using object-oriented programming and the MVC architecture.
Lessons
Lesson 1 - MVC architecture explained
It this tutorial, we'll introduce you to the MVC architecture, and undergo the preparation needed to create a simple, custom object-oriented CMS in PHP.Lesson 2 - .htaccess, autoloader and the common controller
This time, we'll start programming our object-oriented CMS in PHP using MVC. We'll create an .htaccess, an autoloader, and prepare the common controller.Lesson 3 - Router
In the tutorial, we'll create a router for our MVC object-oriented CMS in PHP. We'll parse URL addresses and make a controller class specifically for them.Lesson 4 - Wiring controllers and views
In the tutorial, we'll wire a controller and a view in our object-oriented CMS in PHP. The result will display a simple article on a dynamic page.Lesson 5 - Contact form
In this tutorial, we'll create a contact form that sends an email to the administrator in our object-oriented MVC CMS in PHP.Lesson 6 - Creating the database and PHP SQL drivers
In this tutorial, we'll create a database for our object-oriented CMS in PHP using the MVC architecture and go over some theory about databases in PHP.Lesson 7 - Database wrapper
In the tutorial, we'll learn how object-oriented applications work with databases. Then, we'll create a simple CRUD wrapper on top of a PDO driver.Lesson 8 - Listing articles from the database in PHP (MVC)
In this tutorial about object-oriented CMS using the MVC architecture, we'll implement listing articles from the database using loop template syntax.Lesson 9 - Securing templates
In this tutorial, we'll learn to secure variables in templates. We're programming an object-oriented CMS using the MVC architecture in PHP.Lesson 10 - The flash-message mechanism
In this tutorial, we'll add the flash-message mechanism to our object-oriented MVC CMS in PHP. We'll learn the template syntax for conditions and loops.Lesson 11 - Enhancing the wrapper and editor
In this tutorial, we'll extend the database wrapper with INSERT and UPDATE methods, and start working on the article editor for our object-oriented CMS.Lesson 12 - MVC CMS in PHP: Article editor
In this tutorial, we'll finish the article editor in our object-oriented CMS on MVC in PHP. It'll be able to add new articles and edit existing ones.Lesson 13 - Finishing the object-oriented CMS in PHP (MVC)
In this tutorial about programming an object-oriented MVC CMS in PHP, we'll perfect user registration and login, and finish the system.