|go ahead... be a heretic|
Re: perl/XML developmentby ajt (Prior)
|on Sep 05, 2002 at 09:37 UTC||Need Help??|
"Say, does it make sense to prepare XML file, use it as a template, and then apply some transformation to it to convert it to HTML? Any advice is welcome."
A lot depends on the scale of the project, but we achived quite a lot with a CGI/XSLT combination, like you suggest. I would not recommend this approach for larger projects, but Matts excellent AxKit looks very good.
What we did was to use XML to communicate with a backend SAP system. The SAP system spoke in XML, so the CGI application used XML to speak with the SAP system. The applaction used the XML::LibXML module to manipulate input/output XML and then used XML::LibXSLT to convert XML to HTML.
If you like XML/XSLT then this is a nice way of doing things, and the we used Perl to feed things into and extract things from the XML before we transform it.
The application has been running now with multiple users for about 4 months, and on a 1Gz Linux box, it seems to perform quite well. We've not pushed it yet to find out how many simultaneous users it can deal with, but if we wanted a big system we'd have written it in mod_Perl, and probably used AxKit.
Update: Minor corrections.