SitePoint Sponsor

User Tag List

Page 7 of 7 FirstFirst ... 34567
Results 151 to 174 of 174
  1. #151
    Talk to the /dev/null Theiggsta's Avatar
    Join Date
    Mar 2001
    Location
    Tampa, FL
    Posts
    376
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.php-tools.de/site.php - PAT Template and PATXMLRenderer
    Aaron "Theiggsta" Kalin
    Pixel Martini
    Ruby and Rails Developer

  2. #152
    SitePoint Member Skrol29's Avatar
    Join Date
    Jan 2005
    Location
    paris
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool

    Quote Originally Posted by jaykali
    Are there templates that can survive XHTML syntax checker...things?
    TinyButStrong can. It is done to work with WYSIWYG templates.
    I dont' know another Template Engine who can.

    And it is the only (so far) for whom the tag syntax is not another programming language (while, for, if, then, eval, ...). TBS tags are more like controls or zones placed int the template.
    Last edited by Skrol29; Jan 13, 2005 at 11:45.

  3. #153
    SitePoint Member
    Join Date
    Nov 2002
    Location
    Romania
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fast Template is now maintained in http://www.grafxsoftware.com/product...t_Template/26/
    Regards, Valics Lehel
    http://www.grafxsoftware.com

  4. #154
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have made one myself, and I'll bring this thread back to advertise. I'm looking for ideas on how to make it better, of course. http://code.divineaspirations.net/chip .

    There are really so many template engines out there. I wish we could get everybody to all agree on a website called like "www.templatengines.com" where we could get everybody together so somebody who wants a template could just find which one they want instead of having to search endless forums and this and that. Might be a lot easier on a lot of people and might encourage people to make their own templates.

  5. #155
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Maiku
    I have made one myself, and I'll bring this thread back to advertise. I'm looking for ideas on how to make it better, of course. http://code.divineaspirations.net/chip .

    There are really so many template engines out there. I wish we could get everybody to all agree on a website called like "www.templatengines.com" where we could get everybody together so somebody who wants a template could just find which one they want instead of having to search endless forums and this and that. Might be a lot easier on a lot of people and might encourage people to make their own templates.
    Or, we could all agree on a standard template, and then we wouldn't all need to learn an entire new language for every project because it uses a different template. Why should everyone make their own?

    I haven't read this whole thread so I don't know what all was discussed, but I personally like using XSLT.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  6. #156
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, it's for the same reason everybody makes their own. It's also for the same reason I use GNU/Linux. What works for one will not work for all. If it were that simple PHP could have made its own template syntax and that would have been that.

  7. #157
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP already is its own templating syntax.

    I don't like to use it like that, but it can be.

    Why can't there be one templating system for everyone? There are standards in other areas, and an attempted standard in templating as well, just not adopted by everyone. XSLT is very flexible and powerful, and can even output multiple formats, not only HTML. I really can't think of any example where it could not be used in place of any existing templating system.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  8. #158
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    XSLT is something I might not use for PHP, but I would like to look into it for possible future use. People make too much of a fuss over standards anyway.

  9. #159
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do people make too much of a fuss over standards? The purpose of standards is to prevent exactly what's going on with templating systems, where everyone is using something different and there is no common ground. I think standards should be implemented and adopted wherever possible instead of avoided. I don't know what we'd do without standards like XML, XHTML, XSL, SOAP, etc.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  10. #160
    Now with customized title Jump's Avatar
    Join Date
    Sep 2002
    Location
    The Restaurant at The End of The Universe
    Posts
    1,423
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Standards are definately a good thing. I got so confused back when I was looking at template engines that i just wrote my own simple one. Having a set of standards to refer to would have been great.

  11. #161
    SitePoint Member
    Join Date
    Sep 2006
    Location
    china
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    smarty is good ,and i'm using it now

  12. #162
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jump
    Standards are definately a good thing. I got so confused back when I was looking at template engines that i just wrote my own simple one. Having a set of standards to refer to would have been great.
    Agreed. I had used Smarty for a while, but really, it's like learning an entire new programming language, because of all the constructs like if, foreach, etc. It's very imparative, which is common among programming languages, instead of declarative, like HTML is. I think a templating system should be declarative, since mostly designers will be working with it after it is initially written.

    Those are the reasons I like XSLT. I don't mind learning it because it is a standard so ideally it should replace other solutions, and it uses a declarative syntax.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  13. #163
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I would like to take a look at XSLT in more detail and I'll probably search for a tutorial. I do agree to an extent with standards. I posted on another forum about this topic too, and another forum even linked here. The conversation on that forum had become a little more fierce.

    http://forums.devnetwork.net/viewtopic.php?p=308126
    - Mike

  14. #164
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After some more study on XSL I have found that although it can be useful it seems to depend more on the browser than it does the remote server. I'm not exactly sure how comfortable I am with that. Plus I glanced upon something that said "The XSL implementation in IE5 is incomplete. The examples in this tutorial will not work in IE5." Surely I cannot run one of those pages that say "To view this page properly download the the new version of IE (or Firefox)."

    I already get annoyed when viewing pages that say "You must upgrade to Flash 8 to view this site. And I know I can't obtain Flash 8 for GNU/Linux.
    - Mike

  15. #165
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Then do the transformation server-side. I wouldn't depend on the client for these types of things, either.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  16. #166
    SitePoint Member
    Join Date
    Mar 2004
    Location
    Long Island
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there something special that has to be installed for that?
    - Mike

  17. #167
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd

  18. #168
    SitePoint Zealot tezza's Avatar
    Join Date
    Aug 2003
    Location
    Australia
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    for PHP4 usage

    Quote Originally Posted by Maiku
    Is there something special that has to be installed for that?
    Here's something i developed for PHP4...
    XML Application Objects for PHP

    http://xao.wikia.com/

  19. #169
    SitePoint Member
    Join Date
    Dec 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jaykali View Post
    Maybe this is a dumb question:
    Are there templates that can survive XHTML syntax checker...things?
    I'm not that bright but it seems HTMLTidy & programs like that have problems with attribute values, namely that silly IMG tag which is almost always built using dynamic attributes.
    Ex.: <IMG src="{template}">
    I'm new to this so excuse my ignorance
    -Jay
    I started a XHTML based template system for PHP. It's only one class and 95% of the conversion is done with XSLT. A single XSLT transform converts the XHTML to PHP. I based it on the Kid templates for Python. The advantage of XHTML is that your templates are valid XHTML and validate easily. This also makes it easier for designers to work with the XHTML.

    It might not seem to make sense to use plain XHTML for templates if you are the sole developer and you would rather embed PHP. It makes most sense when you want to separate tasks and have a designer do the HTML and not screw up any logic.

    I didn't get far with it because I mostly use Python now, however here it is:

    http://mthorn.net/ax

  20. #170
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could I add something to the list? maybe there should be a new thread started with an updated list of template engines. well, here's mine http://www.prositemanager.com/ I spent the last 4 or 5 years working out design bugs trying to come up with the perfect cms for building websites. the basic idea of it is to add modules with tags to get content added to the site, then tweak the configuration of the modules to get the site how you want it. my vision is a group of very powerful modules with a control panel. I have a simpler template system in it so far, but more features may be added to it in the future as they are needed, but right now, it's fast preforming rendering on the fly.

  21. #171
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "I posted on another forum about this topic too, and another forum even linked here. The conversation on that forum had become a little more fierce."
    Which one are you talking about?

  22. #172
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check this one, PHP-VEST, the simplest one I've ever seen. Just get it from SourceForge repository.

    As it says in the description:

    PHP-VEST stands for "PHP VEry Simple Templates". It is a template engine which makes use of a minimal syntax ({VARNAME}, {LOOP:VARNAME}, {ODD:VARNAME}, {EVEN:VARNAME})

    And it is maintained by myself

    Any improvement is welcome!!

  23. #173
    SitePoint Member
    Join Date
    Jun 2002
    Location
    Sydney
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    H2o is template engine for PHP, there are a lot of the concept are
    inspired by projects like Django templates, Smarty and Jinja,
    implemented in a way that makes sense in PHP. Author your template the
    easy way ...

    Feature
    ============
    1. Readable and natural syntax.
    2. Reuse template inclusion and inheritance.
    3. Extensible through filters, tags and template extensions.
    4. Battery included - bundled rich set of filters and tags
    5. Internationalization
    6. Various Caching support with multiple backend


    Download
    ============

    http://www.h2o-template.org

    Resources
    ============
    * Documentation - http://wiki.github.com/speedmax/h2o-php
    * Bug tracker - http://idealian.lighthouseapp.com/projects/11041-h2o-template-languag...
    * Google group - http://groups.google.com/group/h2o-template-php

  24. #174
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am currently the head dev of a basic template engine working from vemplator, it adds a lot more features, such as logic, for loops, if statements, accessing PHP functions and both PHP and HTML caching.

    See pegParse at PegLabs: PegParse - Home for more information and tell me what you think!

    Should be added to this list!


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
  •