Create a PHP Application | PHP MVC Project Tutorial

preview_player
Показать описание

Learn how to create a PHP application with this PHP MVC Project Tutorial. We'll use the Model-View-Controller design pattern to create an Assignment Tracker web application for students with PHP.

(0:00) Intro
(1:51) Building the MySQL Database
(6:15) The Model-View-Controller / MVC
(6:54) Create the Database Connection with PDO
(9:28) View: error, header, footer
(12:41) Model: Assignment Functions
(20:54) Model: Course Functions
(27:38) Controller: Receiving Data
(34:18) View: Assignment List
(54:42) View: Course List
(1:04:12) Controller: Routing Actions
(1:13:47) Styling the App with Sass / SCSS

✅ Follow Me:

Was this PHP MVC Project Tutorial helpful? If so, please share. Let me know your thoughts in the comments.

#php #mvc #project
Рекомендации по теме
Комментарии
Автор

There's not so many "Short" practical PHP projects on YouTube so I'm glad I've found your chanel a few days ago!😀

frvCars
Автор

That most interesting thing in this project is, you are showing what is a primary key? and what is a foreign key? And the working process of PHP code. This is wonderful Dave. Thank you very much.

srinivasaraoyp
Автор

Thanks so much for sharing! VS Code tip: use shift+option+down arrow to copy/duplicate a full line or section of code.

willugoupordown
Автор

I am In Somalia (East Africa ) In here most web projects built in Php

abbasmohamedwalaal
Автор

Hey I am new to using vs code and xampp. Can you tell me how you opened the html page on the web at 41:04?

wajidaanwarasha
Автор

I'm learning loads from your videos, thanks. For this one, everything was going well until I added in the case code for the switch in index.php... Once that was typed in I have a couple of errors (which relate to text other than the case code)
I realise you can't troubleshoot this, but am wondering if it's likely to be browser settings (although it's the same fofr Firefox and Chrome), or maybe VS Studio settings? I was also getting a couple of warnings because of the folders within folders, which you weren't getting in the video - why would this be?

Or, is it because I'm on OSX (Macbook Pro 2015/Monterey)?

Apart from I'm enjoying it immensely :)

Warning: Use of undefined constant action - assumed 'action' (this will throw an Error in a future version of PHP) in on line 19

Fatal error: Uncaught Error: Call to undefined function execute() in Stack trace: #0 get_courses() #1 {main} thrown in on line 7

shadesofgrey
Автор

tell me this isn't begginer level though cus i didn't know what was going on half the time

TenderHooligan
Автор

thanks for your efforts, I have a problem with CSS files that my php doesn't affect by the styling Iam sure with paths and every thing.

mayaratef
Автор

sir, I'm waiting for your full laravel course. I really love your teaching way.

msecure
Автор

Hi Dave, I'm a bit new to PHP and I am getting a fatal error round about minute 41 of the video where you display the view assignment list. I researched how to fix it for hours, gave up and downloaded the source code. Then when I run it I am getting the same error. How do I fix it? Thanks

christiansimbarashe
Автор

Hi, what is that "live sass compiler" for. I am using Sublime so I'm not sure if I have that! Thank you for this amazing video

DucMinhTeaching
Автор

this video will make me great to continue practicing php, thanks!

hsardrake
Автор

Hi, does anyone know answer to error SQLSTATE[HY000] [1049] Unknown database because before this project I have used database world and it only want to connect to that database and others do not recognize. How to fix this?

milicavasovic
Автор

شكرا لك على هذا المشروع لكن أريد ربطه ب صفحة تسجيل دخول كيف يمكنني ذلك؟

hedaralmahdi
Автор

Great tutorial.. but i have a question.. can i start learn laravel with this tutorial as a PHP base?

jeanlos
Автор

I like your vids and always follow along. It's very challenging to follow along with code for some time without checking to see if your, (my), syntax is clean. I know it's hard to produce tight, time sensitive content. In this one there are many files opened and dependencies opened before anything get vetted.

atouchofadd
Автор

a huge thank you from Morocco, that tutorial was awesome and helpful, is there a way to get the source code ??

iliasbekkali
Автор

Symfony 5 course please you are a great teacher!

francisseneve
Автор

what is the best template engine can i use in native project with php?!

salmamehanny
Автор

Is this MVC project reliable and can be used in production?

rimantasdanilevicius
welcome to shbcf.ru