Re: what to use instead of Axkit?
Harry Wozniak <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Tod. Thanks, Yanick. On Feb 9, 2009, at 8:01 AM, [email protected] wrote: > On Mon, Feb 09, 2009 at 07:53:58AM -0500, Tod Harter wrote: >> Over the years I've just ginned up a somewhat ad-hoc framework >> using XSLT >> and callbacks mostly. It works pretty well for me and the code isn't >> astronomically complex. If you like XSLT the approach works >> reasonably well. >> There are any number of more complex perl webapp frameworks out >> there that >> support a wide variety of templating, like HTML::Mason. Most of >> them seem to >> be primarily built around Text::Template and its friends, but I am >> pretty >> sure you can set them up to let you generate stuff with XSLT, Sax, >> or no >> doubt XPS too! > > That's my cue, right? :-) > > Yup, XPS is basically made up of two part: the transformation > stylesheet > (which has been historically called the template because of its > origin as a parallel > to the xslt 'apply-template' element) and a simple template system > (which is > called the stylesheet because, well, 'template' was already taken > by the stylesheet). [1] > > One of the things the latter versions of XPS did was to loosen the > coupling > of those two components so that one could be used without the other. > The module's documentation provides examples of how XPS can be > embedded > in Mason and Embperl. [2] > > > To go back to the original question, another potential > substiture for AxKit is Catalyst. It's maybe bulky, but it has all > the > features that should make the implementation of any AxKit > transformation > chain fairly easy. > > Joy, > `/anick > > [1] Yes, fixing all that nomenclature train wreck is one of the > goals of XPS2. :-) > > [2] http://search.cpan.org/~yanick/XML-XPathScript/lib/XML/XPathScript/Processor.pm#Embedding_XML > ::XPathScript::Processor_in_a_Templating_System > > -- _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs