Added: 1 year ago
From: nettutsplus
Views: 38,047
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (50)

Sign In or Sign Up now to post a comment!
  • Great refresher tutorial. Any idea on if you'll be doing another future lesson? I think the need / want is currently there.

  • 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 I think he is explaining to much LOL But it is nice when you are tired,

  • You are awesome, thank you. Looking foward for the next lessons expanding these.

  • 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 :)

  • 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.

  • Added to my favourites :)

  • 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.

  • Please expand on this. Great video.

  • Very interesting video. I don't think in any case you should make your own MVC framework but this explains the concept.

  • @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!

  • your coding style is weird, but you vim configuration is nice

  • My mind was just blown.

  • Really useful tutorial. Thanks a lot!

  • 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.

  • can you teach us how to integrate the php namespace

  • make more videos on this! :)

  • 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-PH­P-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).

  • which microphone do you use in this video?

  • Comment removed

  • Wow, awesome tutorial. Thank you!

  • 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!!

  • Try also the micro framework Phraw on phraw.dav-muz.net

  • 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!! =)

  • You're amazing! This is the best MV tutorial I've ever watched :)

  • How did you configure macvim?

  • love this, thanks alot mate

  • A really nice tutorial, thanks! Very helpful, please follow up with some info on expanding this. Thanks again!

  • What vim color scheme are you using?

  • There must be 2nd part...!

  • 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!

  • Neither cake or code igniter are HUGE frameworks, ZF and Synfony are.

  • Nice!

  • As always helpful and interesting. Interesting what plugin do you use for autocompletion.

  • How would you access parameters? for example :

    tinymvc/index/10/20/30

    param #1 = 10, #2 = 20, etc...

    ????

  • @Laur3ntLapo We could cover that in a future lesson. It would require the use of an htaccess file to route everything appropriately.

  • @nettutsplus

    Build your First Tiny PHP MVC Framework - PART 2

    :)

  • @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­')

  • wonderful

  • I saw a comparisson between CI & cake, CI is ridiculously faster between the same sites, especially this lates version.

  • @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.

  • 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.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more