Menu

templates in PHP?

2000-10-20
2003-09-26
  • Conny Brunnkvist

    First off, just wanna say how greatful I really am of HTML::Template, it's just plain great and fun to use. :-)

    As I'm moving more towards PHP4 nowadays, I've been lookin for a similar template-system there, but without luck. It seems "all" the other popular template-systems has their likes in PHP ports. Is there any such PHP-port of HTML::Template? Port I say, in the sense of interface, template-style, and features.

    (If not, it whould be fun to write one perhaps?)

     
    • Sam Tregar

      Sam Tregar - 2000-10-20

      I've never done any PHP programming, so I can't say if there's an HTML::Template work-alike out there.  Feel free to work on the project if you like!  If you succeed in creating something in PHP that works with HTML::Template templates that would be pretty cool.

      -sam

       
      • Conny Brunnkvist

        I've looked around and drawn the conclution that there's really nothing quite like.. The closest PHP thingie I see is FastTemplate, but that doesn't provide quite the same functionality... I submitted a new project (http://sourceforge.net/projects/template-php/). Hope it's OK if I call it HTML::Template-PHP, since that's just what it is? :-)

        Let's see where this takes us.

        //kop

         
        • Kelvin Jones

          Kelvin Jones - 2002-10-07

          I run a php project called vLIB, which includes vlibTemplate, which closely matches the HTML::Template syntax on the template side of things.

          In fact, all HTML::Template templates should work with vlibTemplate although a few enhancements have been added to vlibTemplate as it's evolved.

          Check it out at http://vlib.activefish.com/

          Regards,

          Kelvin

           
    • Ilene Jones

      Ilene Jones - 2003-02-20

      The above referenced template-php seems to have been moved to:

      http://sourceforge.net/projects/phphtmltemplate/

      This one is by the same dev team, and at least has code in CVS at this point.

      Ilene

       
    • saloufeng

      saloufeng - 2003-09-26

      http://htmltmpl.sourceforge.net/

      About PHP Template ,Is anybody use htmltmpl
      I have lots of Perl HTML::Template Template files.
      when I use those files to PHP htmltmpl,Many Error is
      taken.at perl that like <TMPL_VAR name=something>
      at PHP that must be <TMPL_VAR something>???
      and at Perl I use <TMPL_VAR ESCAPE=HTML name=something>
      <TMPL_VAR ESCAPE=URL name=something>
      how to deal with at  htmltmpl,Is there anyway to deal with
      this without rewrite  Template files ?

      Is there anyone could help me? Very Thanks!
      email : saloufeng@163.com

       

Log in to post a comment.