CodeIgniter 2 + Sparks + PHP ActiveRecord Part 4: Views and Layouts

Loading...

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

Uploaded by on Sep 16, 2011

In this episode we'll take a few minutes to improve the infrastructure of the project. We'll add functionality that will allow our controller to automatically determine which content view should be loaded. We'll also add the ability to have multiple application layouts (aka templates) and to be able to easily switch between them.

Be sure to watch in HD.

More information and support can be found at http://heybigname.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • @wipcrk

    Thank you for the compliment. I am OK with putting the form elements (using the CodeIgniter form_heper) directly into the view because frequently you run into the need for changes or forms that are atypical. Often, you'll generate a form and then have a client request an update or change.

    I think that it works OK for getting code done and launched quickly.

  • Your CI tuts are really great and I like how You make the code so clean :)

    The only thing I miss in CI is seperate form class, so I don't have to put the whole form elements in view and be able to use twig engine ;)

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