> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Tuesday, November 27, 2007 12:19 PM > To: rose-db-object@lists.sourceforge.net > Subject: Re: [RDBO] suggestions for enchancement > > On Nov 26, 2007 11:39 PM, John Siracusa <[EMAIL PROTECTED]> wrote: > > I suppose you could simulate it by building up Perl data structures > > suitable for passing in a get_objects() query parameter (i.e., > > value/hashref pairs and so on) but that's not quite the same thing. > > That's what I've done and it's been fine so far. A simple > object wrapper for that sounds nice though. > thats what I am using too but its not nice. > Replacing SQL with a different query syntax doesn't sound > very useful to me. It just makes it harder to debug your queries. >
its useful when you have XML based framework where your backend is trying to reflect some XML schema and you dont what to remap XML on the DB schema but just using it. For example if API is XML centric then one will end up with deep tree of XML elements and mapping some SQL backend would be a not to easy task. In case of SQL centric API the neccesity to work with too flat data strcutures will result in very cubersome toXML/fromXML code. I am trying to find a "golden rule" here. --Maxim > - Perrin > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rose-db-object mailing list > Rose-db-object@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rose-db-object > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object