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

Learn how to use PHP to build an MVC framework from scratch in this 6-hour course. By the end of the course, you will have a solid understanding of how frameworks are constructed, including working with the file system, databases, abstraction, custom routing, composer for third-party packages, and creating reusable composer packages. The course teaches through hands-on projects, covering topics such as creating project structures, implementing controllers, models, validation, migrations, and more. The course is designed for individuals interested in PHP development and framework creation.

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.