SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    FBI secret agent digitman's Avatar
    Join Date
    Sep 2004
    Location
    Work
    Posts
    697
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What templating engine to use?

    I need some recommendations on what templating engine to use in a CMS i'm working at. I want something which is well documented, comes in a single file, and has support for dynamic blocks. Oh and it can accept the HTML as a single file, or a variable. And of course, it has to be fast.


    Any recommendations?

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there digitman!
    I know of http://smarty.php.net/ and it seems to be the most popular, and somewhat good. I only have minimal experience with it however, and a long time ago...but its worth exploring.

    In addition, here's an older post on sitepoint that may be useful:
    http://www.sitepoint.com/forums/show...hreadid=123769

    Acutally, I am currently working on a php application development framework, and was thinking about using/creating a templating engine, and decided NOT to use one. The rationale behind that is I didn't want to add an extra "layer" on top of PHP by having a templating language/script, but instead allow users to code in pure PHP, retaining all of its power and flexibility. Obviously this might not apply to your project as much, but I thought I'd mention it!

    HTH
    fjook


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •