MVC PHP Tutorial | Model View Controller CRUD Application Example



MVC PHP Tutorial | Model View Controller CRUD Application Example

MVC PHP Tutorial | Model View Controller CRUD Application Example

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

This MVC PHP Tutorial provides a Model-View-Controller CRUD Application Example. We take an existing PHP CRUD application and refactor it. The MVC design pattern makes our PHP code functional and easier to read.

Subscribe ➜ https://bit.ly/3nGHmNn

PHP is a backend development language that runs on a server. I suggest installing the XAMPP development server. Here is my guide to getting XAMPP set up: https://youtu.be/btauAEqaifw

Install XAMPP ➜ https://www.apachefriends.org/

How to Connect a Form to a Database: https://youtu.be/rVt3UsEg4CQ
🔗 Source Code (not refactored): https://github.com/gitdagray/php_form_to_database

🔗 New Source Code (refactored with MVC): https://github.com/gitdagray/mvc_php_functions

📺 This tutorial is part of my PHP and MySQL for Beginners Playlist: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6MeRUt-z60DRxNqcrFAUYIb

(0:00) Intro
(0:44) Set up and the World database
(3:55) Filtering Data
(12:53) Basic Views
(18:13) PHP Functions for the Model
(27:37) Form Views
(36:52) The Controller
(46:59) Status Messages
(50:23) Overview of File Organization
(51:15) Testing and Debugging

✅ Follow Me:
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/DaveOnEleven

Was this tutorial about applying the Model-View-Controller design pattern to organize an application helpful? If so, please share. Let me know your thoughts in the comments.

#model #view #controller

Comments are closed.