Build a PHP MVC Application: Finished (Part 8/9)

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

Official site

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

Thank you for this series. This was just what I needed - a basic breakdown of the MVC design pattern. Cheers mate.

capt-morgan
Автор

Yes, I would love a continuation of this. I would love to learn the true ins and outs of MCV so I can fully have a better understanding of how some frameworks work such as CakePHP

HbGamers
Автор

This is the most simple PHP MVC framework I could find and the way it works explained so clear and straightforward. Thank you very much!

gffphiv
Автор

Thank you for the tutorial. The mvc concepts were just hard to grasp for me. (Reminds me of when i was learning about arrays for the first time) Still a little confusing, but definetely much clearer with the tutorials. Thanks again!

ArbieNFT
Автор

From the bottom of my heart, thanks for this excellent series, exactly what i was looking for!

maz
Автор

Thanks for the series! Basic but straight to the point, finally a good understanding of MVC design.

m.hammed
Автор

Good series about MVC, thanks so much for taking the time to set this up for us!

thegoodcollection
Автор

Very nice tutorial, I learned many things thanks.You can add extract($data) to the view method in order to avoid calling the data array each time in the views

charaf
Автор

How do you handle with path in the view ? I got not the same path to my css when I call the controller without an method or when I call it with an method. 

Domiwa
Автор

I actually already built my own MVC, a bit more advanced but as a refresh of mind this video tutorial does help  :-) Great guide ! 

Xantioss
Автор

Hi. Thanks for tutorial. Can you add layout/template support in this part?

Nutscracker
Автор

Thank you very much. But it was very hard for me to keep up with it because you were jumping from class to class and I was like what are you :P
I had to rewatch every 10 seconds to understand everything but it was pretty much worth it, thanks again.

randomdude
Автор

Thanks a lot, The series was too much useful for me .

nasirnasrallah
Автор

Very good even for people with basic PHP knowledge like me!

Автор

Very interesting to watch and learn. But, I'm confused as to how I would be able to implement words that PHP has reserved, which I'm guessing the workaround to that would also allow me to use a hyphen in my url aswell. I'm sure I'll probably figure something out, but some help would be much appreciated :)

SoulweaverXyzz
Автор

a really basic series good for beginners who want to learn the basic concept of the mvc structure, but i would love a  more in depth version with something like a DI container to handle dependencies with the reflexive api  and type hinting,
Note : for beginners the routing system is too basic a may have security issues   don't use this in production .  
anyway good job . 

peace
Автор

Thanks for the great series.
Can you give me some hints on how to extend this to support an admin panel?
I suppose I can duplicate the same structure and create a separate admin panel application.
But that would result in a lot of duplicate files for no reason.
So, what should I do to make a single app that supports both user and admin areas?

ameerelsherif
Автор

I'm making a login/reg system but i don't know how, with mvc. I've done it procedurally in the past. I don't understand why I need the model. I have a controller called load, which contains a function. The function's name is register. I then use the view function to point to my view called register. I add my form and then use procedural code in the view file. But I'm trying to understand why I should use a model instead of the current method. Also, I would like to know how to get POST data from my form and insert it to the db, using a model, not procedural code in the view.

TheTopgun
Автор

Hi, How to access helper methods class in the controllers ? We used to keep helper methods like clean inputs, db connect etc . I wonder how to get it connected to controller class

guruzone
Автор

Hi Alex, amazing series as always. Thank you !
How do I add css & js to the views ? At the beginning you created the css folder but you didn't show us how can we use it.

ArthurChaykovskiPlus
welcome to shbcf.ru