Re: [CDBI] Question

[prev] [thread] [next] [Date index for 2005/09/08]

From: Matt S Trout
Subject: Re: [CDBI] Question
Date: 13:11 on 08 Sep 2005
On Thu, Sep 08, 2005 at 02:55:22AM -0400, Tyler Rorabaugh wrote:
> 
> Hello All,
> 
> 1) Is there a way to return a hashref of data from a cdbi module without 
> knowing the column names? Say for instance you want to
>    send a hashref to Soap::Lite or other cpan soap related modules.
>           For example:
>               If you wanted to call a cdbi module remotely via say .Net 
> j2ee etc by using a method of a class that returns a cdbi object
> 
>   I have tried the internal method called _data_hash but for tables 
> that have Foreign Keys it appears as though it will only return
> the blessed hashref of that data.

Have a look at Business::Bof (Business Oriented Framework); it already knows
how to make CDBI classes etc. nicely available over SOAP and provides a
POE server to handle the requests :)

        -- 
             Matt S Trout       Specialists in perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Question
Tyler Rorabaugh 06:55 on 08 Sep 2005

Re: [CDBI] Question
merlyn (Randal L. Schwartz) 10:57 on 08 Sep 2005

Re: [CDBI] Question
Matt S Trout 13:11 on 08 Sep 2005

Generated at 23:46 on 13 Sep 2005 by mariachi v0.52