SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru rockit's Avatar
    Join Date
    Sep 2005
    Location
    Canada
    Posts
    637
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smarty Templates - the answer?

    working on my cms with a store front capability and was just looking for a good way to be able to use php code within the template. are smarty templates an ideal use here, or am i possibly opening up some security flaws?

  2. #2
    SitePoint Member
    Join Date
    Jan 2001
    Location
    UK
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hate hate hate that Smarty has become so popular.

    1) It's essentially a new langauge
    2) It's format isn't portable to any other solution
    3) Template syntax at most should be declarative. Smarty templates are imperative.

    If you're gonna use a ready-made template solution, I urge you to research what's out there (like WACT, patTemplate, etc)
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •