Re: [Catalyst] Output as XML

2008-05-16 Thread J. Shirley
On Fri, May 16, 2008 at 12:36 PM, Mitch Jackson <[EMAIL PROTECTED]> wrote: > J, > > My solution was better suited for the DBIx::Class list I suppose, but > I posed the question here to see if there was already some sort of > Catalyst solution I had overlooked... a view for example. > > I took a loo

Re: [Catalyst] Output as XML

2008-05-15 Thread Mitch Jackson
J, My solution was better suited for the DBIx::Class list I suppose, but I posed the question here to see if there was already some sort of Catalyst solution I had overlooked... a view for example. I took a look at that part of the cookbook before, but it seems to only apply if you're pulling one

Re: [Catalyst] Output as XML

2008-05-15 Thread J. Shirley
On Thu, May 15, 2008 at 10:49 PM, Mitch Jackson <[EMAIL PROTECTED]> wrote: > Russell, > > Thanks for the suggestion. I looked at that, however it basically > does what I'm already doing. The bottleneck wasn't so much TT, but > the creation of thousands of DBIC objects and sticking them into an >

Re: [Catalyst] Output as XML

2008-05-15 Thread Mitch Jackson
Russell, Thanks for the suggestion. I looked at that, however it basically does what I'm already doing. The bottleneck wasn't so much TT, but the creation of thousands of DBIC objects and sticking them into an array. The same would need to be done with C::V::Rest::XML, as it serializes the stas

Re: [Catalyst] Output as XML

2008-05-14 Thread Russell Jurney
Have you thought about using this: http://search.cpan.org/~sri/ Catalyst-View-REST-XML-0.01/XML.pm with raw data to achieve the desired speed? Not sure where your bottleneck is, but if TT is a problem then I assume XML::Simple is faster than TT to serialize XML? Russell Jurney [EMAIL PROTEC

[Catalyst] Output as XML

2008-05-14 Thread Mitch Jackson
Good morning! I'm about to start working on some DBIC query to XML code, but before I do I was wondering if anybody out there has already done this, or if perhaps my approach is thick-headed. I'm generating XML from database queries in a catalyst app. At the moment, I am doing it a bit like this