Template engine comparable to smarty?

Discussion in 'PHP' started by Triexa, Nov 22, 2006.

  1. #1
    Well I only really know Smarty, and everyone tends to say that it is bloated.

    I came across Template Lite. Has anyone tried it? How is it?

    Can anyone recommend any other template engines?
     
    Triexa, Nov 22, 2006 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hmm, not sure about specifically template systems since I have been using full blown frameworks for my projects now for a while, and they come with their own template engines. Personally, I'm partial to CodeIgniter.
     
    crazybjörn, Nov 23, 2006 IP
  3. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Here is a reasonable discussion comparing smarty and template lite

    template lite is a drop in replacement for smarty which has it's advantages if you have created a site using smarty and are now concerned about load.

    Other alternatives include a few pear packages
    http://pear.php.net/package/HTML_Template_Flexy
    http://pear.php.net/package/HTML_Template_IT
    http://pear.php.net/package/HTML_Template_PHPLIB
    http://pear.php.net/package/HTML_Template_Sigma
    http://pear.php.net/package/HTML_Template_Xipe

    and dozens of other scripts dotted about the internet
     
    streety, Nov 23, 2006 IP
  4. Triexa

    Triexa Active Member

    Messages:
    580
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    hmm okay, well a somewhat related question...

    Is there some easy method to include/"parse" a PHP file and limit the variables it has access to, functions it can't use, etc?
     
    Triexa, Nov 23, 2006 IP