Use PHP to Create an MVC Framework - Full Course

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=6ERdu4k62wI



Duration: 6:03:46
228,293 views
5,994


Learn how to use PHP to build an MVC framework from scratch.

You will get an understanding of how frameworks are made. The framework you build is not production-ready.

During this project we will learn many things:
- How to work with file system
- How to work with databases
- How to use Abstraction in real projects
- How to implement custom routing
- How to install third party packages using composer
- How to create reusable composer package
- and many other important things

✏️ This course was developed by
Zura Sekhniashvili (The Codeholic). Check out his YouTube channel: https://www.youtube.com/thecodeholic

💻 Code: https://github.com/thecodeholic/php-mvc-framework

⭐️ Course Contents ⭐️
⌨️ (00:00:00) Introduction
⌨️ (00:01:29) Show features
⌨️ (00:03:57) Demo of the Framework
⌨️ (00:07:40) Create Application and Router
⌨️ (00:14:17) Enable autoloading using composer
⌨️ (00:19:20) Implement Routing
⌨️ (00:32:31) Create project structure
⌨️ (00:36:03) Implement views & layouts
⌨️ (01:00:54) Implement Controllers
⌨️ (01:12:49) Sanitize $_POST data
⌨️ (01:18:19) Start Registration
⌨️ (01:24:54) Implement second layout
⌨️ (01:29:56) Implement Models
⌨️ (01:41:18) Implement Validation using models
⌨️ (02:00:21) Implement form Widget
⌨️ (02:21:01) Migrations & Connection to Database
⌨️ (02:29:53) .env file & Application Config
⌨️ (02:38:59) Implement Migrations
⌨️ (03:04:21) Implement ActiveRecord & Finish Registration
⌨️ (03:23:56) Restrict registration with the same email
⌨️ (03:32:49) Implement Session Flash messages
⌨️ (03:49:44) Implement Input labels
⌨️ (03:59:43) Implement Login
⌨️ (04:29:26) Hide Login/Register buttons When user is authorized
⌨️ (04:35:15) Create protected routes
⌨️ (04:57:45) Create View component & implement page titles
⌨️ (05:06:55) Improve form widget with abstraction
⌨️ (05:20:55) Make core installable composer package
⌨️ (05:47:18) Create second website to use the same core
⌨️ (05:52:18) Add new feature to core and release new version

⭐️ Special thanks to our Champion supporters! ⭐️
🏆 Loc Do
🏆 Joseph C
🏆 DeezMaster

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news







Tags:
php
php mvc
php mvc framework
php custom router
php mvc framework from scratch
how to build php framework
how to build mvc framework
mvc framework in PHP
php custom routing
TheCodeholic
php custom MVC
PHP login & registration
PHP authentication
PHP authorization
create composer package
create custom mvc framework