Re: [cgiapp] Returning XML output for AJAX

2007-01-29 Thread Michael Peters
Rhesa Rozendaal wrote: IMHO, that would be XML::Simple. It's a bit tricky to force XML::Simple to generate the exact same output, but it depends a lot on the context if you need it. I've normally used XML::Simple in the past, but it's not really that simple. I've just heard about the new

Re: [cgiapp] Returning XML output for AJAX

2007-01-29 Thread Rhesa Rozendaal
Michael Peters wrote: I've normally used XML::Simple in the past, but it's not really that simple. I've just heard about the new XML::Tiny that is supposed to be much smaller, use less memory and just use core modules. It might be worth checking out. I took a quick look at XML::Tiny, but as

Re: [cgiapp] Returning XML output for AJAX

2007-01-29 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: I've normally used XML::Simple in the past, but it's not really that simple. I've just heard about the new XML::Tiny that is supposed to be much smaller, use less memory and just use core modules. It might be worth checking out. I took a

[cgiapp] Re: Returning XML output for AJAX

2007-01-29 Thread Robert Hicks
Bruce McKenzie wrote: OK, so I'm way behind the rest of the world when it comes to XML -- but I am using CGI::Application -- so how hard could it be to catch up? :-) What I want to do is return XML (as an Ajax response) to the jQuery Interface library Autocomplete plugin. In the plugin

[cgiapp] CA::Dispatch

2007-01-29 Thread Robert Hicks
I am just coming up to speed on this one. I am wondering if I am reading the pod right. Am I replacing use base 'CGI::Application' with use base 'CGI::Application::Dispatch'? Then if my module name is package Abrams I would build a dispatch table for my runmodes: sub dispatch_ars {