Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Use PHP to Create an MVC Framework - Full Course

via freeCodeCamp

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Embark on a comprehensive 6-hour journey to build an MVC framework from scratch using PHP. Gain deep insights into framework architecture by developing essential components like routing, controllers, models, and views. Explore file system operations, database interactions, and the practical application of abstraction principles. Master custom routing implementation, composer package management, and the creation of reusable components. Dive into advanced topics such as migrations, active record pattern, session handling, and security features. By the end, you'll have constructed a functional framework, understanding its inner workings and limitations, while acquiring valuable skills applicable to real-world PHP development.

Syllabus

Introduction.
Show features.
Demo of the Framework.
Create Application and Router.
Enable autoloading using composer.
Implement Routing.
Create project structure.
Implement views & layouts.
Implement Controllers.
Sanitize $_POST data.
Start Registration.
Implement second layout.
Implement Models.
Implement Validation using models.
Implement form Widget.
Migrations & Connection to Database.
.env file & Application Config.
Implement Migrations.
Implement ActiveRecord & Finish Registration.
Restrict registration with the same email.
Implement Session Flash messages.
Implement Input labels.
Implement Login.
Hide Login/Register buttons When user is authorized.
Create protected routes.
Create View component & implement page titles.
Improve form widget with abstraction.
Make core installable composer package.
Create second website to use the same core.
Add new feature to core and release new version.

Taught by

freeCodeCamp.org

Reviews

Start your review of Use PHP to Create an MVC Framework - Full Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.