Which template engine do you use..? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Which template engine do you use..? (/showthread.php?tid=6648) |
Which template engine do you use..? - El Forum - 03-06-2008 [eluser]rvent[/eluser] Hello, i am starting an application and i need it to have the ability to change templates from time to time. Since doing everything in the view file will be a pain when updating it. I did a search on the wiki and found the following to be of interest: Most Simple Template Library TinyButStrong Template Engine PHXView View Engine But i was wonderig what's good and easy to use. i need a front end and a back end views. Both of them will have different layouts/templates due to their functions... What do you use..? Whats easier..? whats better..>? Thanks Which template engine do you use..? - El Forum - 03-06-2008 [eluser]louis w[/eluser] I had been looking at Most Simple Template Library and found it very interesting. The only thing I did not like about this approach is that if I want to alter the page head (title, adding css, or js embeds) it would have to be done before I pass info to the view. Which template engine do you use..? - El Forum - 03-06-2008 [eluser]rvent[/eluser] Anybody doing it with Smarty...? ..? Thanks Which template engine do you use..? - El Forum - 03-06-2008 [eluser]louis w[/eluser] I wish more people would share information about their template engines. I have not used Smarty, but I came across this forum post earlier today: http://ellislab.com/forums/viewthread/73367/ Which template engine do you use..? - El Forum - 03-06-2008 [eluser]Avatar[/eluser] yes, smarty over here buddy Which template engine do you use..? - El Forum - 03-07-2008 [eluser]unficyp[/eluser] Smarty user here Which template engine do you use..? - El Forum - 03-07-2008 [eluser]Elliot Haughin[/eluser] Raw PHP... In the wise words of daft punk: better, faster, harder, stronger. Which template engine do you use..? - El Forum - 03-07-2008 [eluser]xwero[/eluser] I have to agree with Elliot. If you are afraid a designer is going to mess up your code add comments. Which template engine do you use..? - El Forum - 03-07-2008 [eluser]dtrenz[/eluser] PHP works great for templating, especially if you can turn on short open tags. No need for added overhead from templating systems. Which template engine do you use..? - El Forum - 03-07-2008 [eluser]louis w[/eluser] I agree with the use php comments. But a question for you PHP guys, what template engine do you use? Do you just have a bunch of includes in your views? Do you use one of the ones linked in the first post? |