Skip to content

Learn PHP Model View Controller Pattern (PHP MVC)
eTrain

CM

Summary

Price
£99 inc VAT
Or £33.00/mo. for 3 months...
Study method
Online
Duration
5 hours · Self-paced
Access to content
1 year
Qualification
No formal qualification
Additional info
  • Exam(s) / assessment(s) is included in price
  • Tutor is available to students

Overview

In this course you will learn how PHP Model View Controllers (PHP MVC) work and how to create one yourself.

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.

Description

Course Curriculum

Course Introduction

Course Introduction (1:53)

What Is MVC?

How You Shouldn't Structure Code (7:13)

What Is MVC? (6:07)

Creating an MVC Application

Introduction (10:46)

Composer Requirements (1:29)

Directory Structure (3:18)

Parsing URLs (17:06)

Creating Controllers (15:08)

Accessing URL Parameters (2:40)

Working with Views (16:41)

Loading Modules (7:05)

Passing Data To Our View (5:37)

Working with the Database (19:08)

Including Assets (11:25)

Course Conclusion

Course Conclusion (0:57)

Introduction to the PHP Model View Controller (Old Content)

What Is MVC (1:55)

InstallingPhpMVC (9:35)

ExploringMVC (11:37)

Url Parameters (4:51)

Database (13:09)

Create Your Own MVC Framework (Old Content)

Introduction to the Project (2:04)

A Look At What We'llBeBuilding (10:25)

Structure (6:36)

Parsing Url (14:36)

Routing (17:02)

Models (5:17)

View (9:12)

Assets In Views (9:08)

Templating (2:47)

Database (16:57)

Frequently Asked Questions

When does the course start and finish?

The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.

How long do I have access to the course?

After enrolling, you will have unlimited course access for 12 months.

What if I am unhappy with the course?

We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Who is this course for?

Requirements

Career path

Questions and answers

There are currently no Q&As for this course. Be the first to ask a question.

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs

Interest free credit agreements provided by Zopa Bank Limited trading as DivideBuy are not regulated by the Financial Conduct Authority and do not fall under the jurisdiction of the Financial Ombudsman Service. Zopa Bank Limited trading as DivideBuy is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority, and entered on the Financial Services Register (800542). Zopa Bank Limited (10627575) is incorporated in England & Wales and has its registered office at: 1st Floor, Cottons Centre, Tooley Street, London, SE1 2QG. VAT Number 281765280. DivideBuy's trading address is First Floor, Brunswick Court, Brunswick Street, Newcastle-under-Lyme, ST5 1HH. © Zopa Bank Limited 2026. All rights reserved.