PHP Model View Controller Pattern Online Course

PHP Model View Controller Pattern Online Course in Kenya


2KO is an IT consulting and training company, offering both business services and multi-platform training. 2KO Africa's wide range of computer courses are available as full time classes, or as online learning.

Using the open source and well documented PHP MVC Project as a starting point, you will learn how to incorporate Model View Controllers into your development and solidify your skills by building your own MVC based framework.


What Is Model-View-Control?
The Model-View-Control (MVC) pattern, originally formulated in the late 1970s, is a software architecture pattern built on the basis of keeping the presentation of data separate from the methods that interact with the data. In theory, a well-developed MVC system should allow a front-end developer and a back-end developer to work on the same system without interfering, sharing, or editing files either party is working on. Even though MVC was originally designed for personal computing, it has been adapted and is widely used by web developers due to its emphasis on separation of concerns, and thus indirectly, reusable code. The pattern encourages the development of modular systems, allowing developers to quickly update, add, or even remove functionality.


Introduction to the Course

Course Introduction


What Is MVC?

How You Shouldn't Structure Code

What Is MVC


Creating an MVC Application


Composer Requirements

Directory Structure

Parsing URLs

Creating Controllers

Accessing URL Parameters

Working with Views

Loading Modules

Passing Data To Our View

Working with the Database

Including Assets


Course Conclusion

Course Conclusion