Added: 2 years ago
From: killerphp
Views: 9,011
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (31)

Sign In or Sign Up now to post a comment!
  • I stopped watching when the word "irregardless" was used......that's not a word.

  • Heh. I did my first semi-MVC hobby-project the past few days. When I got it all working today thought the controller wasn't reusable enough, and started rewriting it, only to make it way more complicated than it was originally. Eventually I gave up and decided I had to learn more about MVC.

    From 3:03 I felt like I understood a whole lot more. Thanks.

  • @MelvinSF Super! Glad you found the video helpful! Feel free to join our Killersites Forums and check out our websites.

  • Im definitely considered a noob...and I could not find for the life of me what connected HTML to Databases and how it all worked, I knew there was some sort of link missing. A MVC video helped but a 12 minute video took me 40 minutes to understand due to the guys Indian accent (he was smart but It was still hard!), and this really helps me along my way, PRICELESS! Ill be watching probably all of your videos. Yes all 425 lol

  • @lilkev3976 That's great! Feel free to check out our website, as well as our forums to help answer all your web design/programming questions.

  • i like your videos because they just describe things i had to learn myself too. the best example is this controller video. model is the modular part of logic, while controller is just the "use" of that logic in the current application. this use may be completly different in another application. i never read something or found any information about that, but one day i just started to work that way. thx for the video :-)

  • @roadricus  Cool! Glad you liked it.

  • @killerphp

    i always thought: am i right doing that? until today i had no problems doing that and your video confirmed it :-)

  • good vid - i chuckled at how much you were like al pacino just after 55 secs!

  • @robganly

    Thanks.

  • @robganly

    Thanks,

    Stefan

  • @robganly In my opinion, Al Pacino look like KillerPHP video author (SM) :)

  • @robganly its more like Andy Garcia!!!!

  • Irregardless of the data? Irregardless. Regardless is the negative term. So saying irregardless of the language is saying that it has to be one language. Sorry, may make me sound like a dick, but it annoys me so much.

  • Completely random, but I have that book in the background. Is it the fourth edition? PHP and MySQL Web Development by Luke Wellington and Lauren Thompson. I highly recommend this to anyone, if they want to learn PHP and MySQL in and out. May I ask, is this where you got your knowledge of PHP and MySQL from?

  • Comment removed

  • Stefan- could you please clarify the difference between Models and Controllers? I've saw some tutorials with people saying models are ONLY for database querys but there's other folks saying models are for calculations (eg, calculating the total price of a shopping cart) AND database queries. Your expert opinion would be really appreciated as I'm really struggling to make sense of MVC. Cheers and keep up the good work!

  • It a blueprint for an engine and a way of structuring your web applications.

    .... It is the predominant method of structuring applications these days.

    Stef

  • So basically MVC is a template engine?

  • Thanks; I'm still wrapping my head around MVC, so this was helpful.

  • Well put; thanx!

  • I knew it. :) I've been seeing them like conversations or glue in a way. Took me a while to really see this on own, but you definitely drove it home. So the model really is the real biggie on code reuse between projects, then views(change out say... elements on a form), and the controllers are really only useful to the specific project. Also I should mention that sometimes I hear code reuse and they're really talking inside the program instead, like with inheritance. That confused me early on.

  • @ErgosesChannel

    Ahh .... eyes open!!

  • Very interesting. But you now, controllers classes sometimes do get extended, so they are not totally throw-away components. In my own CMS I sometimes extend controllers when it makes sense. By the way, what kind of reuse you are talking about - betwee projects or within the same project?

  • I was talking between projects. You'd figure your objects could be reused within the same project.

    Stef

  • Thank you, that was helpful.

    Jelle

  • Great vid.

  • Hey Steph..wouldn't we understand that in a nice screencast?? btw, nice sweater, where do i get one?

  • I just picked up the sweater at a place called Winners .. I have no idea where else to get it.

    I am moving now, but will have new screencast within the next two weeks .. many more I hope.

    Stefan

  • Yes, I will concede that you can do some abstraction in the controller. My main point was just to point out that the controller was the toss away layer.

    Thanks for the comment.

    Stefan

  • Sorry, I meant Stef.

  • i agree with the fact that controller are not reusable between projects, but i think you can do some abstractization on controllers.

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