mordred
08-28-2002, 10:42 AM
Hi folks,
I'm currently a little fed up with the way I build my scripts and customized them. Specifically, I'm thinking of employing a template engine for my next projects. So my question is pretty simple and straightforward: Do you have any experience with PHP template engines?
I'm just curious about how to work with them... do they scale easily, is the learning curve accomplishable for the template designer, how stable/extendable are they, how helpful the developer community, the benefits of the application architecture etc.
Currently I'm having a look at Smarty (http://smarty.php.net/). I have to admit that this engine is the first hit on a google search query, and the fact that it's on a subdomain of php appealed to me... ;) I know, not really technical reasons. But the idea of pre-compiling the templates is interesting.
So what are your thoughts/experiences?
I'm currently a little fed up with the way I build my scripts and customized them. Specifically, I'm thinking of employing a template engine for my next projects. So my question is pretty simple and straightforward: Do you have any experience with PHP template engines?
I'm just curious about how to work with them... do they scale easily, is the learning curve accomplishable for the template designer, how stable/extendable are they, how helpful the developer community, the benefits of the application architecture etc.
Currently I'm having a look at Smarty (http://smarty.php.net/). I have to admit that this engine is the first hit on a google search query, and the fact that it's on a subdomain of php appealed to me... ;) I know, not really technical reasons. But the idea of pre-compiling the templates is interesting.
So what are your thoughts/experiences?