SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: php templates?

  1. #1
    SitePoint Zealot sifuhall's Avatar
    Join Date
    Jun 2001
    Location
    out of the sidehatch
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php templates?

    Is there a decent html template system for php?

    In PERL I used HTML::Template and absolutely loved it.

    I took a look at fasttemplate, but didn't like the way you had to break the table rows out into a seperate template.

    I also looked at phplib templates but from my precursory examination it appeared phplib would modify how I use MySQL with PHP.

    Anyone have any suggestions?

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take another look at phplib, you don't have to use all the classes from phplib, in fact you can just extract the template.inc class from the distro of phplib, and simply use just that class. It won't change any of your exsiting code, you can simply add the needed to functionality of the template class to your existing scripts. There are some examples on the phplib site. And you can always ask here.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    SitePoint Zealot sifuhall's Avatar
    Join Date
    Jun 2001
    Location
    out of the sidehatch
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info. I extracted template.inc and it does seem to fit what I was looking for.


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
  •