PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

NetTuts.com: An Introduction to Views & Templating in CodeIgniter

Note: This article was originally published at PHPDeveloper on 10 July 2012.
PHPDeveloper

NetTuts.com has a new tutorial that will interest the CodeIgniter developers out there about using views and templates in your CI applications.

Views are a key ingredient in any MVC application, and CodeIgniter applications aren't any different. Today, we're going to learn what a view is, and discover how they can be used to create a templating solution for your CodeIgniter projects. The first part of this tutorial will educate complete beginners to CodeIgniter on what a view is, and how to use them in a typical application. The second half will discuss the motivations for finding a templating solution, and guide the reader through the necessary steps for creating a simple, yet effective templating library.

They introduce you to some of the fundamentals behind views, templating, using multiple views and using the templating to push values out to the site.