Results 1 to 10 of 10

Thread: Smarty

  1. #1
    Join Date
    Jun 2004
    Posts
    296
    Rep Power
    0

    Default Smarty

    If anyone is looking for a good template engine for php, ecspecially you new people, I would recommend smarty. Not that its new, but it has some cool features including conditional and looping logic in the templates. It also has caching and a bunch of other useful features, you can check it out at:

    http://smarty.php.net

    I would urge you that if you really want to create a templating engine, check to see if smarty doesnt already fulfill your needs. It really would make no sense to re-invent the wheel, unless the templating technology you implement is very unique to you or critical to your business process.

  2. #2
    Join Date
    Jan 2004
    Posts
    2,011
    Rep Power
    0

    Default

    yknow i rather not use smarty, do my own templating . but smarty's tight tho, i just not sure if i'm gonna have the time to learn all the smarty functions.

  3. #3
    Join Date
    Aug 2002
    Posts
    1,236
    Rep Power
    0

    Default

    smarty is cool, but you really should look into phptal.
    Where phptal wins is WYSIWYG mode. Phptal code will render properly in dreamweaver, so you don't have to guess at what it will look like after the code is run. It is also good to show to your clients, so they know how it will look, even before the code is fully in place. It is a win for the programmer, the designer and the client.
    Zope, Linux, Web, Intranet
    www.plone.org

  4. #4
    Join Date
    Dec 2005
    Posts
    41
    Rep Power
    0

    Default

    Thanks Alex.

    I ALMOST forgot about Smarty! It's indeed a darn good template engine for php. Worked with it while being part of a larger project team in the Netherlands. Against my reservations, it truely worked.

    Yet in overall reality I behave like death_knight regarding templates; I tend to do my own templating.

    Now Pigeonflight brings about an interesting point; WYSIWYG templating (engine)? Hmmm. I develop in dreamwaver ye, so you REALLY make me curious!! As soon as there's spare time this baby will be taken for a spin. Thanks for sharing your knowledge on this.

    From my side there is no new information i can bring to the table, the first two speakers said it all.

  5. #5
    Join Date
    Jun 2004
    Posts
    296
    Rep Power
    0

    Default

    phptal, I will be sure to look into it, time permitting. Just in case anyone was wondering, the home page is http://phptal.motion-twin.com/

  6. #6
    Join Date
    Jun 2004
    Posts
    296
    Rep Power
    0

    Default

    Quote Originally Posted by death_knight
    yknow i rather not use smarty, do my own templating . but smarty's tight tho, i just not sure if i'm gonna have the time to learn all the smarty functions.
    The smarty functions are a breeze to learn. I mean there is conditional and looping logic. Simple as that! Of course it can get more complicated with modifiers and what not. but I always say use what you need and when you have good templating engine like smarty, youll probably find out later that it supports something that you could really use and you'll be like cool, I didnt know it could do that.

  7. #7
    Join Date
    Jun 2003
    Posts
    453
    Rep Power
    0

    Default

    I am not able to pull up smarty. Does anyone else have that problem?
    We Is Friends!
    Me And You Is Friends!
    You Smile, I Smile ....
    You Hurt, I Hurt ..
    You Cry, I Cry ..
    You Jump Off A Bridge ..
    I Gonna Miss Your E-Mails !

  8. #8
    Join Date
    Jun 2004
    Posts
    296
    Rep Power
    0

    Default

    Quote Originally Posted by Billerg
    I am not able to pull up smarty. Does anyone else have that problem?
    Yup, Im having the same problem, shoot! I guess the server is down.

  9. #9
    Join Date
    May 2004
    Posts
    168
    Rep Power
    0

    Default

    Same problem here with smarty .. I was also reviewing PHPTAL and was interested in giving it a shot. However, I am running php on a Windows machine and noticed that there was no mention of a windows download and the only file to dowload had a unix compressed extension .tar.gz.

    Is this app only avalaible for unix/linux machines ?

  10. #10
    Join Date
    Jan 2004
    Posts
    2,011
    Rep Power
    0

    Default

    ya'll should give prado a looksy as well, its not a templating engine like smarty but its a component/event driven apprach to php. http://www.xisc.com/

Posting Permissions

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