Which template system?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • beale

    Which template system?

    Hi,

    I have been doing some reading on the template systems available for use
    with php to separate design from coding.

    I have been looking at the FastTemplate and Smarty solutions. From the
    benchmarks I have seen, the FastTemplate solution looks the fastest where
    there is no acceleration on the server, but where there is acceleration,
    Smarty is by far the quickest in terms of performance.

    I use web space from a hosting company. Presumably this means I can't
    install my own accelerator through tweaking the php.ini file? Also,
    phpinfo() for the server states that the Zend Engine v1.2.0 is running. Will
    this act as an accelerator and so boost performance?

    Any help is appreciated.

    Thank you,

    Ian


  • rush

    #2
    Re: Which template system?

    "beale" <not@home.com > wrote in message
    news:blq755$2pv $1@sparta.btint ernet.com...[color=blue]
    > Hi,
    >
    > I have been doing some reading on the template systems available for use
    > with php to separate design from coding.
    >
    > I have been looking at the FastTemplate and Smarty solutions. From the
    > benchmarks I have seen, the FastTemplate solution looks the fastest where
    > there is no acceleration on the server, but where there is acceleration,
    > Smarty is by far the quickest in terms of performance.
    >
    > I use web space from a hosting company. Presumably this means I can't
    > install my own accelerator through tweaking the php.ini file? Also,
    > phpinfo() for the server states that the Zend Engine v1.2.0 is running.[/color]
    Will[color=blue]
    > this act as an accelerator and so boost performance?[/color]

    I do not think so, you need PHP accelerator to be installed. It is free, so
    maybe your host could be persuaded to install it, especially since it would
    save their resources.

    While you are looking at template solutions, if you are interested, please
    also take a look on the TemplateTamer. If you need any advice or question
    regarding it, I will be happy to help you out.

    rush
    --




    Comment

    • KAH

      #3
      Re: Which template system?

      "beale" <not@home.com > wrote in news:blq755$2pv $1@sparta.btint ernet.com:
      [color=blue]
      > I use web space from a hosting company. Presumably this means I can't
      > install my own accelerator through tweaking the php.ini file? Also,
      > phpinfo() for the server states that the Zend Engine v1.2.0 is
      > running. Will this act as an accelerator and so boost performance?[/color]

      Zend Engine is actually the foundation block of PHP. There is a Zend module
      (which I suppose is the one rush discussed) available freely from Zend that
      provides acceleration. See http://zend.com/

      There's a number of other acceleration solutions (often combined with
      sourcecode encryption, also the case with Zend's module) too, do a search
      for it.

      KAH

      Comment

      • rush

        #4
        Re: Which template system?

        "KAH" <kah@kahnews.cj b.net> wrote in message >[color=blue]
        > There's a number of other acceleration solutions (often combined with
        > sourcecode encryption, also the case with Zend's module) too, do a search
        > for it.[/color]

        I was refering to ionCube php Accelerator:

        ionCube PHP Encoder 14 - Protect and encode PHP with encryption keys, obfuscation and code licensing. Set IP, domain and MAC restricted licenses.


        which is used by hosting company I am with, probably because it is free :) .
        It does produce great results for compiled template engines like Smarty or
        TemplateTamer, sometimes of order of magnitude better results.

        Zend of course has its products, Zend accelerator and Zend performance
        suite. I did not have opportunity to try them, but I assume they are very
        good products. But they also cost some amount of money.

        rush
        --




        Comment

        • KAH

          #5
          Re: Which template system?

          "rush" <pipa@rush.aval on.hr> wrote in news:bm1jer$hp$ 1@ls219.htnet.h r:
          [color=blue]
          > Zend of course has its products, Zend accelerator and Zend
          > performance suite. I did not have opportunity to try them, but I
          > assume they are very good products. But they also cost some amount of
          > money.[/color]

          There's a free acceleration module from Zend, Zend Optimizer. Supposedly it
          can speed up runtime performance by 40%.


          Comment

          Working...