SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smarty Template Engine

    Hi,

    I am thinking of using Smarty for maintaining look and feel of my next project, it is about online multiple choice examination.

    It will be a heavy traffic website for some hours and I have to use only Open Source softwares with no royalty and Apache MySQL WinXP.

    will smarty slow down my site drastically ? I have started learning smarty,
    and i find that the cache actually stores the static web page generated once,
    so it wont be of any help coz the pages are designed according to individuals.
    so is there somehow i can improve the performance of my site,
    i thought of php-accelerator but it only have linux ver and i haven't tried zend-acc, but i think it is proprietery.

    So any suggestions ???

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This post was not related to the thread you posted in, so I have split it into a new thread for you

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  3. #3
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanx sean, sorry i didn't read the instructions

  4. #4
    Sell crazy someplace else markl999's Avatar
    Join Date
    Aug 2003
    Location
    Manchester, UK
    Posts
    4,007
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so is there somehow i can improve the performance of my site
    The first step is identifying where you're loosing performance. What makes you think it isn't performing well? Are you using a database? Lots of performance related issues come from database bottlenecks.
    I'd start by first trying to work out where the bottlenecks are occuring, a good choice for this is XDebug.
    Smarty in itself won't improve performance as it can only add to PHP's built in features, it's basically just a nice wrapper around basic PHP functionality. My opinion is Smarty is never needed (though arguments for environments where there are designers and developers can be convincing). If it's just an app you are working on by yourself then Smarty won't solve your problem, though using it can help you to identify problems (code separation etc).
    I use to be a huge fan of Smarty before ... well just before I'd still recommend you use it but for the right reasons, and site perfomance isn't one of them imho.


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
  •