[Catalyst] Soaping up Catalyst
Matt S Trout
dbix-class at trout.me.uk
Fri Aug 19 02:50:36 CEST 2005
On Thu, Aug 18, 2005 at 08:35:17PM -0400, Christopher H. Laco wrote:
> Matt S Trout wrote:
> >On Thu, Aug 18, 2005 at 08:18:05PM -0400, Christopher H. Laco wrote:
> >
> >>Christopher Heschong wrote:
> >>
> >>>On Aug 18, 2005, at 3:13 PM, Christopher H. Laco wrote:
> >>>
> >>>...
> >>>
> >>>
> >>>>True. XMLRCP aint that hot either when you're into serializing objects.
> >>>>All in all, RESTful would be the easiest in Catalyst. It's already
> >>>>most of the way there. You woul djust need a custom view to serialize
> >>>>objects into XML.
> >>>
> >>>Something like sri's Catalyst::View::REST::XML?
> >>>
> >>>http://search.cpan.org/~sri/Catalyst-View-REST-XML-0.01/
> >>>
> >>
> >>NO clue, since I don't see any output examples of what it does with
> >>objects/instances of modules and their subs/data. :-)
> >
> >
> >It says it uses XML::Simple, so presumably "whatever XML::Simple does". A
> >quick grep of the source shows it uses UNIVERSAL::isa and just treats the
> >object as a normal whatever-the-ref-is.
> >
>
> Actually, in my case, the best way would be to walk the
> CDBI->columns(All) and CDBI->table and any relationships as well....
Maybe
http://search.cpan.org/~cwest/Class-DBI-AsXML-1.02/lib/Class/DBI/AsXML.pm
would be handy then?
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical Director E-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list