I’m trying to compare between the different template engines for PHP. The 2 that come up are smarty and PHPtemplate. How do I decide which is better for me.. These are some of the questions I’m trying to find answers to
- What are some of the strengths and weaknesses of these 2
- Is one better than the other in some cases or for some types of projects
- Which is easier to learn and work with (flexible)
- Are there any good additional template engines for PHP I’m missing
Dunno what do you mean under PHPtemplate but assuming Drupal’s native PHP template system.
in case you gonna let users edit templates, both are bad. Go for something XTemplate-like.
Otherwise both PHP and PHP written in PHP (Smarty) are all right
PHP for sure
A whole lot.