sucks. you dont explain shit! you act like everyone is a pro, but you dont realize that most of the people watching this are not here to refresh their memory, theyre here to LEARN!!!
thank you but i think this tut needs to be remade and without ViM. you moved too fast icouldnt comprehend what you were doing. please use textmate next time so iwe can easily follow.
Thanks for the video! I've been reading here and there about MVC, but I haven't seen anything put it together like this. In this video, things seemed to click in to place in my head. I'm going to go try this out with a simple little project and then see where it goes from there.
@oKaloC It depends your needs. Although i, even though you dissagree think that people should develop and share their knowledge. Even for the sake of just simple education!
lost me at the very beginning. you did not say where the files were created. no proper file structure, just random files .... Com on Jeffrey, did you not take your meds this morning???
@saburius He does actually describe the file structure in the Structurer. Everything ending in a slash is a directory. It couldn't be described better than that.
Wow! This is awesome!! Well done, this is amazing, I cant wait to play with this. A very well polished tutorial, 10/10 Please more of these :D Expand away!
Jeffrey, I just added functionality to allow this Tiny MVC framework to add multiple views and models very easily from the URL. Please see my article on hubpages at hubpages.com/hub/Your-First-PHP-MVC-Framework-With-Multiple-Views
Thanks, Jeffrey. Great video and it works! However, what this did not show is how to create multiple views, so I have made some changes to your controller.php and added 2 lines to an .htaccess and will upload that video as a response to this one by the weekend.
I built a small app using this, so easy, have full Mysql DB access, and access to web services, this MVC is so brilliant and simple to use, Im starting to expand it much bigger soon!! Please do a part 2 - login and users ( admin, user).
Can anyone tell me how to setup multiple controllers to this mvc project, I like the simplicity but need a way to navigate pages, I need to have multiple controllers. Someone message me the answer please!!
Thank you very much!!!! That was quite helpful. I wish could've seen this tutorial before. You make it reallly look so easy. I hope you could expand this framework soon. Thank you again.
@Laur3ntLapo it depends of the system you are using. With Zend Framework you can check the routing in the bootstrap. With symfony its more in the YAML config file. But in all cases something like: $request->getParam('param_name')
@TheUnillogical What... How would you even compare speed between frameworks? You might be able to compare a part of a framework against a part of another framework.
Here's how, you create two identical (though obviously with slight syntax variation websites which make full use of their features, you can take the results of the post I happened on, on stack overflow (question: 5059971) codeigniter finished the test in around 1/16th of the time it took cake to do, I think you would have a point if it was a slight difference, but the difference was not just slight, it was 11.004 seconds vs 163.970. in what seemed a fair test.
@TheUnillogical That doesn't prove one framework is faster than the other.. It could just be 5 rows of code somewhere in his application or somewhere in one of the cake framework component he's using that makes it so much slower.
You can't say Framework X is faster than Framework Y, you can however say that Framework X is faster than Framework Y AT DOING Z.
@Myztik7 - I didn't say that it was proof, just compelling evidence. I agree with you, but I think that the statistics were evidence enough to justify my claim.
Great refresher tutorial. Any idea on if you'll be doing another future lesson? I think the need / want is currently there.
sbwilli3 3 weeks ago
sucks. you dont explain shit! you act like everyone is a pro, but you dont realize that most of the people watching this are not here to refresh their memory, theyre here to LEARN!!!
okush69 1 month ago
@okush69 I think he is explaining to much LOL But it is nice when you are tired,
ilightbite 1 week ago
You are awesome, thank you. Looking foward for the next lessons expanding these.
BrincaMundo 1 month ago
Jeff way always has the best tutorials ever :) .... I learned a lot from Jeff way! :D everything from Slicing a PSD and making it HTML to some OOP :)
papistr8hood123 3 months ago
thank you but i think this tut needs to be remade and without ViM. you moved too fast icouldnt comprehend what you were doing. please use textmate next time so iwe can easily follow.
sarmenhb 3 months ago
Added to my favourites :)
Katazui 3 months ago
Thanks for the video! I've been reading here and there about MVC, but I haven't seen anything put it together like this. In this video, things seemed to click in to place in my head. I'm going to go try this out with a simple little project and then see where it goes from there.
praecorloth 3 months ago
Please expand on this. Great video.
ecampr 4 months ago
Very interesting video. I don't think in any case you should make your own MVC framework but this explains the concept.
oKaloC 4 months ago
@oKaloC It depends your needs. Although i, even though you dissagree think that people should develop and share their knowledge. Even for the sake of just simple education!
Get motivated out their and try & learn!
EpicSoftworks 2 months ago
your coding style is weird, but you vim configuration is nice
TheSleepaholic 6 months ago
My mind was just blown.
RastaLulz 6 months ago
Really useful tutorial. Thanks a lot!
rohnin121 6 months ago
lost me at the very beginning. you did not say where the files were created. no proper file structure, just random files .... Com on Jeffrey, did you not take your meds this morning???
saburius 7 months ago
@saburius He does actually describe the file structure in the Structurer. Everything ending in a slash is a directory. It couldn't be described better than that.
sbivol87 7 months ago 3
can you teach us how to integrate the php namespace
HawxTeamDelta 8 months ago
make more videos on this! :)
gengeriscool 8 months ago
Wow! This is awesome!! Well done, this is amazing, I cant wait to play with this. A very well polished tutorial, 10/10 Please more of these :D Expand away!
ashboxtoo 9 months ago
Jeffrey, I just added functionality to allow this Tiny MVC framework to add multiple views and models very easily from the URL. Please see my article on hubpages at hubpages.com/hub/Your-First-PHP-MVC-Framework-With-Multiple-Views
ButaneWebEditor 9 months ago
Thanks, Jeffrey. Great video and it works! However, what this did not show is how to create multiple views, so I have made some changes to your controller.php and added 2 lines to an .htaccess and will upload that video as a response to this one by the weekend.
ButaneWebEditor 9 months ago
I built a small app using this, so easy, have full Mysql DB access, and access to web services, this MVC is so brilliant and simple to use, Im starting to expand it much bigger soon!! Please do a part 2 - login and users ( admin, user).
TheEBookZone 10 months ago
which microphone do you use in this video?
Venistro 10 months ago
This has been flagged as spam show
great tutorial as always...
i laughed so hard on 14:16 XD
igor86SRB 10 months ago
Comment removed
igor86SRB 10 months ago
Wow, awesome tutorial. Thank you!
FacepuncherBlog 11 months ago
Can anyone tell me how to setup multiple controllers to this mvc project, I like the simplicity but need a way to navigate pages, I need to have multiple controllers. Someone message me the answer please!!
Thanks! Great Tut! would like to see a Part 2!!
TheEBookZone 11 months ago
Try also the micro framework Phraw on phraw.dav-muz.net
XarelDesign 11 months ago
Thank you very much!!!! That was quite helpful. I wish could've seen this tutorial before. You make it reallly look so easy. I hope you could expand this framework soon. Thank you again.
Subscribing!! =)
TruthForPinoy 11 months ago
You're amazing! This is the best MV tutorial I've ever watched :)
willzurmacht 11 months ago
How did you configure macvim?
winfr34k 1 year ago
love this, thanks alot mate
nilsi1987 1 year ago
A really nice tutorial, thanks! Very helpful, please follow up with some info on expanding this. Thanks again!
fingesso 1 year ago
What vim color scheme are you using?
RagnisArmus 1 year ago
There must be 2nd part...!
daGrevis 1 year ago
Very nice, I was looking for something like that. Having this from Jeffrey is like the icing on the _cake_ (haha).
Hope to see this expanded in the near future, I'm definately looking forward to it!
Thanks a lot, Jeffrey!
mant1core81 1 year ago
Neither cake or code igniter are HUGE frameworks, ZF and Synfony are.
vengiss 1 year ago
Nice!
LennartSvan 1 year ago
As always helpful and interesting. Interesting what plugin do you use for autocompletion.
iIcredo 1 year ago
How would you access parameters? for example :
tinymvc/index/10/20/30
param #1 = 10, #2 = 20, etc...
????
Laur3ntLapo 1 year ago 5
@Laur3ntLapo We could cover that in a future lesson. It would require the use of an htaccess file to route everything appropriately.
nettutsplus 1 year ago 11
@nettutsplus
Build your First Tiny PHP MVC Framework - PART 2
:)
Laur3ntLapo 1 year ago
@Laur3ntLapo it depends of the system you are using. With Zend Framework you can check the routing in the bootstrap. With symfony its more in the YAML config file. But in all cases something like: $request->getParam('param_name')
selectoNET 1 year ago
wonderful
upmohsen 1 year ago
I saw a comparisson between CI & cake, CI is ridiculously faster between the same sites, especially this lates version.
TheUnillogical 1 year ago
@TheUnillogical What... How would you even compare speed between frameworks? You might be able to compare a part of a framework against a part of another framework.
That statement is just dumb.
Myztik7 1 year ago
Here's how, you create two identical (though obviously with slight syntax variation websites which make full use of their features, you can take the results of the post I happened on, on stack overflow (question: 5059971) codeigniter finished the test in around 1/16th of the time it took cake to do, I think you would have a point if it was a slight difference, but the difference was not just slight, it was 11.004 seconds vs 163.970. in what seemed a fair test.
TheUnillogical 1 year ago
@TheUnillogical That doesn't prove one framework is faster than the other.. It could just be 5 rows of code somewhere in his application or somewhere in one of the cake framework component he's using that makes it so much slower.
You can't say Framework X is faster than Framework Y, you can however say that Framework X is faster than Framework Y AT DOING Z.
Myztik7 1 year ago
@Myztik7 - I didn't say that it was proof, just compelling evidence. I agree with you, but I think that the statistics were evidence enough to justify my claim.
TheUnillogical 1 year ago