Mini PHP MVC Framework: A Step-by-Step Guide

preview_player
Показать описание
Welcome to phpdemy, where you get exciting tutorial on building your own Mini PHP MVC (Model-View-Controller) Framework! Join us as we guide you through each step in this comprehensive and beginner-friendly tutorial.

In this video, we'll dive deep into the world of PHP MVC frameworks and show you how to create your very own from scratch. With MVC, you'll learn how to separate your application's logic, presentation, and data management, resulting in cleaner, more organized code.

By the end of this tutorial, you'll have a solid understanding of the core concepts behind MVC frameworks and be able to develop dynamic web applications with ease. Get ready to level up your PHP skills!

🔴 Topics covered in this tutorial:

1️⃣ Introduction to PHP MVC frameworks (what is PHP MVC?)
2️⃣ Exploring the Model-View-Controller architecture (Project Structure)
3️⃣ Setting up the development environment
4️⃣ Building the router: segmenting URLs into controllers/Methods/Params
5️⃣ Creating the Base Controller
6️⃣ Implementing the controller layer: Handling user requests and actions

⏱️ Timestamps:
00:00 - Introduction and overview
00:55 - Application structure
01:50 - Setting up the development environment
04:17 - Creating router
23:20 - Implementing the Base & Home Controller
30:25 - Connecting the layers (views)
18:40 - Implementing config file, Config and Database Class
56:00 - Creating form, insert and fetch data from database

Whether you're a PHP beginner or an experienced developer looking to expand your skill set, this tutorial is for you. Join us and embark on this exciting journey to create your own Mini PHP MVC Framework!

🌟 Don't forget to like, comment, and subscribe to our channel for more web development tutorials and guides!

📢 Hashtags: #PHPMVC #WebDevelopment #Tutorial #MVCFramework #PHPProgramming #DynamicWebApplications #LearnPHP #codefromscratch #programming #codinggirl #html #computerscience #compsci #code #programmers #algorithms #earnmone y #earn #datastructure #datastructures #artificial intelligence #competitive programming # java #mernstack #python # html5 #expressjs #github #javascript #coding #softwaredeveloper #learntocode #codingtips #codingisfun #codingfun # 100day sofcode #learnprogramming

Thanks for watching and happy coding! 💻✨
Рекомендации по теме
Комментарии
Автор

The rest of the video is amazing, but I could not get the part of the base model that you are extending later at the user model.

Shaqouun
Автор

Very useful MVC framework tut, I like this one, structor, codes are clear and well organized. thanks so much & keep going!

mounir
Автор

@phpdemy THANKS for your GREAT Tutorials, specially this PHP MVC Tutorial. Good Work ! 👏 I comment from Mozambique, Africa. I'm Subscribed in your Channel.

Face_Anthony
Автор

Good job Bro !!! THank you very much !!! Can you make a project with email sending (PHPmailer)??? It would be great !!!

phpstudy
Автор

Great first video! How soon for next one and how often will you be putting them out?

terrymurray
Автор

Good explanation of process. Unfortunately if we follow this video from start to finish we clearly see that you have skipped some steps which renders this application useless. An example would be at 1:05:54 in Database.php. Inserting user does not work because UserModel.php does not have access to database. Also your download source code is more incomplete then the video code so we cannot correct errors.

TubeKens
Автор

Can someone please share the source code?

codobyte
Автор

I think this video is a bad rewrite of the tutorial below... so my advice is to follow the one bellow. Is 3 hours long but has no errors.

ml