Tag Archives: Layout Artist

templating engine to use or not to use

I have been working with a project, using PHP and now have been debating on whether to work with a templating serp. I have produce several solutions, each with different pluses and minuses, and just wanted a 2nd (or many) experiences on personal experience, and effectiveness. SMARTY ——— This templating engine is so far the most powerful one I’ve seen. The particular pros Allows for Loops, and other functions (more versatile) Well supported/documented completely separates the markup from your code The particular cons: It’s a big, and can be slow It’s not a fairly easy install (ie for the single use) You should find out the syntax so as to use it newest version is PHP5 only (not a challenge unless webhost wouldn’t provide) Fundamental tag replacement (including STR_REPLACE OR ANYTHING ELSE… ) the particular pros smaller in that case smarty simple to utilize requiring only to know basic syntax no installing necessary The particular cons Can become complicated to utilize LOOPS, otherwise eliminates customizability if certainly not written correctly, can lessen the pace of execution may introduce stability holes (in the situation of hand built solutions) PHP Utilizing PHP to assign aspects, and then echoing them in the code … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment