|
Re: PHP template engine
If you're looking for a very basic templating system, they're pretty simple to write. The one I wrote is about 30 lines of code. You basically load all your data you want to put into the template into an array, then load your template, and search and replace. I've never used one of the already-made ones but I hear a lot of talk about Smarty. Like Joel said, it's great if you keep it simple.
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
|