Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Creating an MVC from Scratch with PHP - Part 5

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,319
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 10, 2011

This video series will teach you how to create a Model-View-Controller framework with PHP. (https://github.com/BaylorRae/PHP-MVC-Tutorial)

In this video I show you how to allow the framework to automatically load the controller and action based on the url.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • you need to also create a render function that allows you to render partials.

  • @ClansmanAliasTool It'll eventually become more OOP when I introduce helpers, components and libraries. I may go back and use a "Sammy" approach to keeping classes in one instance.

    The main reason I group my methods into static classes is to lower the amount of global functions. I figured others would use this framework and incorporate some of their own code or implement 3rd party libraries, so I wanted to help prevent my code from being a hindrance.

  • Im concerned that you practically always use static classes instead of their instances - that way you only group functions into logical container - thats not exactly OOP

  • Great series of php tuts, But I wish you created the sammy file yourself, I dont understand exactly whats going on, but great tuts anyways

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