CodeIgniter Forums
Templating In Codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Templating In Codeigniter (/showthread.php?tid=31634)



Templating In Codeigniter - El Forum - 06-26-2010

[eluser]Unknown[/eluser]
Hello there, Could someone help me how to make better template system with ci like joomla. thx...


Templating In Codeigniter - El Forum - 06-26-2010

[eluser]WanWizard[/eluser]
Joomla is not a template system, it's a CMS.

Where CI is controller driven, Joomla is theme driven. Which means the joomla engine loads the theme template, and while parsing the template it does callbacks to fetch the pieces of data that need to added to predefined sections of the template.

ExiteCMS works that way, and uses CI modules (like mini apps that generate a single 'panel' on a page, instead of an entire page) to generate the page content.


Templating In Codeigniter - El Forum - 06-27-2010

[eluser]Phil Sturgeon[/eluser]
My template library will go a long way towards helping you build a decent system like Joomla's.