Template engine for GS - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: Template engine for GS (/showthread.php?tid=1619) |
Template engine for GS - umefarooq - 2011-04-28 Hi, i really like the get simple, because its really really simple and easy to use and deploy, feature which i love see in GS is addition of some php template engine which will also create cache for pages. as a testing i have used rain php template engine and got success using template engine with GS. RainTpl is also simple as GS, it will help the designer to using only template tags not the php tags and function used in template here is rain template engine link http://www.raintpl.com/ Template engine for GS - mikeh - 2011-04-29 Maybe this functionality could be added to getsimple through a plugin? Template engine for GS - yojoe - 2011-04-29 To be honest creating a template for GS is so simple, that implementing template engine as an additional layer would make it worse. At this stage of development there's not many GS tags to use. Maybe after v4(5?), when more useful template options appear. Template engine for GS - Connie - 2011-04-29 I agree with yojoe, this CMS is "GetSimple" not "MakeItComplex" and I know from my experience with SMARTY in CMSMadeSimple that too many layers lower the opacity ;=( Template engine for GS - mvlcek - 2011-04-29 I agree with yojoe and Connie: GetSimple is about keeping it simple, and frankly, something like {pageDate} is just a different syntax of <?php get_page_date(); ?>. And then you would need to specify how to pass parameters, specify conditional tags and more. PHP is, different than e.g. Java (where you need JSP tags or something similar), designed to be used within HTML pages and using the short syntax of <?=get_page_date()?> there is even less difference. Template engine for GS - RobA - 2011-04-29 One might even say that php itself IS a template engine for HTML so GS already supports a very powerful one -Rob A> Template engine for GS - mikeh - 2011-04-29 RobA Wrote:One might even say that php itself IS a template engine for HTML so GS already supports a very powerful one I would have to agree with RobA & Mvlcek, using the php is just as easy |