Re: [RDBO] Scratchpad Space in RDBOs???

2007-04-20 Thread Adrian Howard
On 19 Apr 2007, at 20:31, John Siracusa wrote: [snip] * Use an inside-out object approach. $My::Data{object_id($self)}{'whatever'} = ... [snip] I use Ovid's Class::BuildMethods for this. Lightweight and does the job. Adrian

Re: [RDBO] Scratchpad Space in RDBOs???

2007-04-20 Thread Jonathan Vanasco
On Apr 20, 2007, at 11:06 AM, John Siracusa wrote: On 4/19/07, Jonathan Vanasco [EMAIL PROTECTED] wrote: Would it be terribly difficult to port: Rose::DB::Object::MixIn into Rose::Object::MixIn and then just having Rose::DB::Object::MixIn be a subclass of

[RDBO] Scratchpad Space in RDBOs???

2007-04-19 Thread Jeffrey Horn
I have a table with several encrypted attributes. I'd like to add methods to my RDBO for that table that can take cleartext for each of those fields and set the encrypted value or get the cleartext for a field from the current encrypted value. In order to speed this up (I actually need to

Re: [RDBO] Scratchpad Space in RDBOs???

2007-04-19 Thread John Siracusa
On 4/19/07, Jeffrey Horn [EMAIL PROTECTED] wrote: Is there a place in an RDBO that I can use to stash this sort of information that isn't supposed to get sent to the db on a save? How could I make such a scratchpad space myself? There's no official place, but as long as you don't squish any