in reply to Survey of Surveys on HTML Templating systems

Princepawn has come up with his own framework, Seamstress, though I'm not sure how serious he is about it
Thank you for your balanced assessment of templating systems. My first question would be: have you looked at the docs and philosophy behind HTML::Seamstress? Would you agree that Seamstress is a rather unique beast in the jungle HTML templating systems? The only thing similar to it is XML::LibXML, which is based on XHTML and hence requires better structured documents. It also is not based on HTML::Tree which means that you cannot get the magnificent table-building abilities of HTML::ElementExtended

Now on to your question about my seriousness.

HTML::Formvalidator

I think the most popular validation module is Data::FormValidator and I am happy with its performance. You might take a look at that.
  • Comment on Re: Survey of Surveys on HTML Templating systems

Replies are listed 'Best First'.
Re^2: Survey of Surveys on HTML Templating systems
by perrin (Chancellor) on Feb 23, 2005 at 19:01 UTC
    I would say Petal offers the same sort of approach as Seamstress. It's pretty mature and seems to have an active community.
      I would say Petal offers the same sort of approach as Seamstress.
      I thought Petal was the same thing as Seamstress but after joining the GMANE list and reading the docs it is very different.
      • Petal provides a mini-language. Seamstress and XML::LibXML usage is nothing but object-oriented Perl.
      • Petal is xml-based, which is fine if you have well-done XHTML. Seamstress is based around the flexible HTML::TreeBuilder which uses HTML::Parser and can use old skool HTML with no problem.
      • did you see my post about creating alternating table rows with Petal? The way to do that in Seamstress or XML::LibXML is vastly different and in neither of our cases involves a mini-language.
Re^2: Survey of Surveys on HTML Templating systems
by tphyahoo (Vicar) on Feb 23, 2005 at 18:03 UTC
    Hi, thanks for your feedback!

    No, I haven't looked at the docs for Seamstress, just what I find clicking around in perlmonks. I was pretty overwhelmed by the amount of information out there and couldn't follow everything up. Maybe I'll have a closer look now.

    One thing that might move me to try Seamstress is if there was a dummy application with a db back end that I could just take over and mold to my purposes. Is that what I'll get by clicking the view source link as you suggest? Going to check it out...

      Okay the view source thing is cool, but what I really want is the thing downloaded in a tarbell, including db dump, where I can play with it and see if I like it.

      For instance, my first question is, where are the html templates? I guess they're in there somewhere, but how close to html do they look like? Close enough that I can load them in dreamweaver?

      If you just tarballed the whole thing you might get more people playing with it, that's what MS does with ASP.net.

      But from viewing the source I agree it's clean, it's nice, it looks promising.

        For instance, my first question is, where are the html templates? I guess they're in there somewhere, but how close to html do they look like? Close enough that I can load them in dreamweaver?
        here are the HTML templates and as you can see, they are 100% pure HTML. Even less markup than Petal

        please msg me with your email so that I can give you info on getting the tarball...