Mastering PHP Code Structure: Creating a Custom PHP Framework with OOP & MVC [HINDI]

Channel:
Subscribers:
16,000
Published on ● Video Link: https://www.youtube.com/watch?v=BI_fXe8DnDg



Duration: 1:10:46
2,134 views
69


In this comprehensive tutorial, we dive into the world of PHP development and take you on a journey to build your own custom PHP framework. With a focus on code structure, object-oriented programming (OOP), and the model-view-controller (MVC) pattern, this video is perfect for PHP enthusiasts looking to take their skills to the next level.

Throughout the tutorial, we guide you through the process of structuring your PHP code effectively, emphasizing the principles of OOP and the organization provided by the MVC pattern. We demonstrate how these concepts can be applied to create a robust PHP framework that offers a powerful foundation for web application development.

But that's not all! We also go beyond the basics and showcase how to incorporate essential features into our PHP framework. Specifically, we cover the implementation of a user authentication system, including login, register, and a secure dashboard page. By integrating these functionalities, you'll gain valuable insights into building user-centric web applications with PHP.

Whether you're a beginner seeking to learn PHP best practices or an experienced developer aiming to enhance your knowledge of frameworks, this tutorial has something for everyone. Join us as we unlock the potential of PHP, and equip yourself with the skills to build your own custom framework, complete with OOP, MVC, login, register, and dashboard functionality. Get ready to take your PHP development to new heights!

Mastering PHP Code Structure: Creating a Custom PHP Framework with OOP & MVC [HINDI]

00:00 - 00:43: Introduction to the project.
00:43 - 02:19: Recap of the previous video.
02:19 - 02:33: Setting up Composer.
02:33 - 09:45: Writing index.php and creating directories.
09:45 - 23:18: Implementing the routing system in the Xenophp framework.
23:18 - 28:54: Managing the Login and Register pages using routes.
28:54 - 34:00: Handling the Login route and form submission.
34:00 - 35:41: Handling the logout process.
35:41 - 37:00: Creating helper functions.
37:00 - 40:00: Redirecting routes.
40:00 - 42:15: Handling the Register route and form submission.
42:15 - 43:31: Recap.
43:31 - 46:47: Adding GET and POST methods in routes.
46:47 - 52:40: Loading view files.
52:40 - 58:52: Implementing middleware to protect your routes.
58:52 - 01:03:18: Separating header and footer in HTML files.
01:03:18 - 01:05:02: Adding a base model class in the Models.
01:05:02 - 01:09:30: Making database query code reusable.
01:09:30 - Conclusion.

Download Code : Github
https://github.com/AjayYadavAi/xenophp/tree/0.1.0

Our Playlists:

OOP In PHP:
https://www.youtube.com/playlist?list=PLT51dtioU1pOCka0jIwYYaIGhPct3El_i
Git Full Tutorial
https://www.youtube.com/playlist?list=PLT51dtioU1pNwl2YZX2ukc04qvozZiRoy
Laravel 9:
https://www.youtube.com/playlist?list=PLT51dtioU1pMRjcKAxaFzvWu8Sts_UxoC
Vue 3 Laravel 9 Tutorial:
https://www.youtube.com/playlist?list=PLT51dtioU1pNUZtUhg9pmKpa8JyaCVUXh
Laravel Testing:
https://www.youtube.com/playlist?list=PLT51dtioU1pMVyvwyPVc-UwdeP2pQYeAU
Nuxt Js
https://www.youtube.com/playlist?list=PLT51dtioU1pPGuiF-LUncoy4dBlNZQZBR
Laravel And Vuejs
https://www.youtube.com/playlist?list=PLT51dtioU1pN0mQqQ5RM5nE8uOfzsqml2
Laravel Notifications:
https://www.youtube.com/playlist?list=PLT51dtioU1pPaMcBTIvxVcVEnH9X5ynIt
Laravel And React Js
https://www.youtube.com/playlist?list=PLT51dtioU1pNoJ1C-TJbp13hEw7NmJv6i
Laravel Interview Questions And Answers:
https://www.youtube.com/playlist?list=PLT51dtioU1pMFovNbZHkHdJEzU5RNJwa2
Laravel User Management System:
https://www.youtube.com/playlist?list=PLT51dtioU1pPNxwwo3dWfkUCKI2BXnc_H
Laravel Multi Auth System
https://www.youtube.com/playlist?list=PLT51dtioU1pPmtFnYQ5WRnYvvL1zW74wl
Laravel Vue3 GraphQL
https://www.youtube.com/playlist?list=PLT51dtioU1pNpri2F02ydaRMyvjg8uvFg

Follow us:
YoutTube: https://www.youtube.com/c/Ajayyadavexpo
Instagram: https://www.instagram.com/ajayyadavexpo/
Twitter : https://twitter.com/ajayyadavexpo
Linkedin: https://www.linkedin.com/in/ajayyadavexpo/
Github: https://github.com/AjayYadavAi


Please subscribe to my channel and share the video with your friends.


#phpoop #php #ajayyadav #PHPCODESTRUCTURE #phpframework #xenoph




Other Videos By Ajay yadav


2023-08-13Laravel Multi-Tenancy Tutorial | Implementing Multi-Tenancy in Laravel Applications |Part #1 | HINDI
2023-07-30Protecting Admin and User Pages in Laravel with Middleware | Advanced Laravel Middleware | HINDI
2023-07-23Create a Role-based User Management System in Laravel | Full CRUD Guide | HINDI
2023-07-16Laravel Attach and Detach Method: Mastering ORM Relationships | HINDI
2023-07-13Laravel CRUD with Single Form for Updates and Additions | Streamlined Laravel CRUD | HINDI
2023-07-10How to Import and Save Multiple Images from a Zip File in Laravel | HINDI
2023-07-02Laravel Pest Testing Framework: Introduction and Setup Tutorial | Laravel Pest Vs PHPUnit | HINDI
2023-06-29Complete Guide to Form Handling and Validation in Laravel Build a Contact Form with Error Handling
2023-06-25Understanding Data Transfer in PHP MVC: Controller to View Communication | XenoPHP | HINDI
2023-06-22PHP Const vs Define: Understanding the Differences | Choosing the Right Constant [HINDI]
2023-06-18Mastering PHP Code Structure: Creating a Custom PHP Framework with OOP & MVC [HINDI]
2023-06-11PHP Auth System Tutorial: Building Login, Register, and Dashboard Pages with OOP for Beginners|HINDI
2023-06-08PHP Namespaces Explained: Organize Your Code like a Pro | PHP OOP Tutorial for Beginner |[Hindi] #13
2023-06-04PHP Static Method and Properties | PHP OOP Tutorial for Beginner |[Hindi] #12
2023-06-01PHP Traits for Better Code Organization | PHP OOP Tutorial for Beginner |[Hindi] #11
2023-05-28PHP OOP: Understanding Interfaces and Implementing Them | PHP OOP Tutorial for Beginner |[Hindi] #10
2023-05-25Understanding Abstract Classes and Methods | PHP Object Oriented Tutorial for Beginners |[Hindi]| #9
2023-05-24Laravel Package Development: A Step-by-Step Guide | HelloWorld Package Development | HINDI
2023-05-21PHP Constants Explained | PHP Object Oriented Tutorial for Beginners | [Hindi] | #8
2023-05-20Building Secure User Authentication with Laravel: Breeze, Vue.js, and Inertia.js | HINDI
2023-05-18PHP OOPs Final Class vs Final Method | PHP OOP Tutorial | [HINDI] - #7



Tags:
php project
php projects for beginners
php project with source code
php code style
php code structure
mini framework php mvc
php project setup
xenophp
php framework create
code structure php
php custom framework
php custom mvc framework
custom php framework in hindi
php framework mvc
build php mvc framework in hindi
php custom framework mvc in hindi
mvc framework in php in hindi
php mvc
php mvc tutorial
php mvc framework
php mvc framework from scratch
xeno