News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Phil Sturgeon's Blog:
CodeIgniter Template library
December 30, 2009 @ 08:54:27

Phil Sturgeon has written up a new post about a templating library he's whipped up for CodeIgniter sites, a rework of his previous templating efforts.

Working with multiple views in CodeIgniter has always been a pain. Out of the box CodeIgniter provides no real way of having a layout file and the only way to get header/footer functionality is to put $this->load->view('header') in your views or in each controller and method. Obviously as a programmer I am lazy and don't want to do that. Years ago I made some dodgy helper which evolved into a library which I called CodeIgniter Layout library.

After realizing it needed a good amount of work to get to where it needed to be, he re-coded it and is releasing the new version of the CodeIgniter Template library. Features include breadcrumbs, meta-data, layout files, partials, and loading views into modules.

0 comments voice your opinion now!
codeigniter library template


blog comments powered by Disqus

Similar Posts

Arnold Daniels' Blog: How I PHP: The Output Handler

Padraic Brady's Blog: Is PHP A Worthy Template Language? Well, of course it is...

Phil Sturgeon's Blog: Managing CodeIgniter Packages with Git Submodules

CodeIgniter Blog: CodeIgniter 1.6.3 Maintenance and Security Release

Padraic Brady's Blog: ZF Blog App - Part 4: Design with Blueprint CSS & Zend_Layout


Community Events





Don't see your event here?
Let us know!


release developer configure list bugfix series library threedevsandamaybe api interview laravel language framework podcast community introduction project application wordpress code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework