PHP MVC Framework from scratch | Update#1 | Source code included | Quick programming tutorial

preview_player
Показать описание
We make some updates to the PHP Framework we made earlier from scratch. We will add important functions, use namespaces to prevent class name clashes and a few other things. We'll be using this Framework as the base for future practical projects

Original tutorial:

Final source code:

Playlist:
00:00 - Intro
01:32 - Direct file access
09:30 - PHP version
12:00 - Check php extensions
20:20 - Image loader
24:50 - Pagination vars
27:50 - Alert messages
31:25 - Old input values
36:30 - Get date
38:00 - Text editor functions
53:20 - URL vars
01:01:00 - Session class
01:13:30 - Request class
01:17:50 - Class loading
01:34:10 - Image class
01:39:20 - Pagination class

more tutorials:
HTML basics tutorial:

Absolute beginner PHP with practical project:

make a social website from scratch:

all crash courses:

code a live chat app in PHP and JavaScript:

make an eCommerce website from template:

convert an HTML template to PHP website:

simple signup and login system & security:

crop images with PHP:

PHP Object Oriented Programming basics:

Chart or graph using SVG:

Responsive web design:

clean pretty URLs:

support me on patreon:

my facebook:
Рекомендации по теме
Комментарии
Автор

Hey guys let's all click on the ads to promote this channel. I learned a lot from this channel.

KumJudeTTem-voqt
Автор

literally watching him and coding at the same time, after the video try to write it again by yourself until you learn it all its concepts what each do and her you go you learned and you know how to create a whole mvc framework

emgodas
Автор

thank you Quick Programing for real world php mvc from scratch videos is the best to learn php javascript and all web development code! You are great teacher explaining all thinks and provide the source code of each lesson to help us, have the best luck!

basilistigris
Автор

Thank you very much!!! There are few people like you! You really help!🤝

gru
Автор

Thanks a million for this detailed tutorial. It's really helpful. I have learned few new things about PHP.

martebest
Автор

first, i just want to thank you for your classes are easy to follow and has really improved my skills on mvc. when i first saw this update, i thought you will handle the part where the query involves joining tables in the database

primepryme
Автор

Thank you so much for sharing your knowledge and source code with us! Another great tutorial!!! Will sure help you with the clicks!!!

DRFreelancer
Автор

I should have found this channel sooner!

Автор

At 1:21:08 you’re fixing the issue of the namespace being included in the path. Once removed, it’s calling Controller.php in the models folder. But that file is in the core folder. How do you fix that? The auto loader is defaulting to everything being in the models folder and that’s not the case.

rpbale
Автор

I was hoping that the update would add composer and routing. Maybe in the next mvc updates (2-4). Or other projects... At least there were namespaces. However, some strange workarounds. A template system would also be useful. Like in clone udemy, which contained a lot of redundant code. Although I would prefer blade components :D In this project (2 years after the premiere) I had a problem with $_GET['url'] from the beginning. I was not alone, using php serving. And you had to use $_SERVER['REQUEST_URI'] and splitURL had to be modified a bit.

JACKoPL
Автор

First of all, thank you so much for your tutorials - they are hugely important to me and many, many others learning new programming skills.
I particularly appreciate the candour with which they are presented.

With respect to 'Namespaces', I can only see their need if one is importing an external module or package that may employ class names that conflict with the ones used in your application. In which case could you not simply create a namespace 'My_Namespace' and put everything you create into that and simply 'use' the namespace of the vendor of the package as and when necessary? Even you found namespaces confusing so goodness knows how difficult it is to grasp for ordinary mortals.


Thanks again for your tutorials, they are very helpful.

Stephen
Автор

Hello our Teacher
We have a very beautifull and organized basic framework

Please Can you use it to create a complete CMS with advanced features ?

We will learn a lot from that

Thank you a lot for your humanity

Let all your projects be successful

👌🙏

mawudzrohounnake
Автор

Hey Im watching your old videos the learning management system i have a request can you add the books like for uploading a files

regiecajes
Автор

Dear all viewers, we must view and click his Advertise. just imagine what if we need to buy all these videos as a premium course

MinhazTaher
Автор

So I use PHPStorm for my PHP development and at 20:21 I'm getting this error hint from my IDE "Scalar type hints are only allowed since PHP 7.0". I'm yet to check for possible solutions, but whats your take on that.

davebudah
Автор

do you use this framework on your production sir ? and may I know what version of php do you use? sorry for my bad english.

rickywisnadri
Автор

I want you to to help me with the school project. It has problem updating profile picture

abdulazizbah
Автор

I would like if you would insert in your videos for what purpose. You tell why and how it works. But for example what is the purpose of converting image ? Can't you just ROOT . or something like that ?

Psyzenn
Автор

Hey it helped a lot,
How can we load abstract class with spl_autoload?

ngma
Автор

Where do we put PHP mailer folder ? Assets or?

rishabhkundravlog
welcome to shbcf.ru