On 30 Jun 2006, [EMAIL PROTECTED] wrote: On 6/30/06 5:33 PM, Jonathan Vanasco wrote: >> it'd be best not to have the rdb-object in a session anyways. i try >> to keep session data into a structure that has pure data and can >> serialize into json/yaml, as i often need to share between mod_perl >> and python or php. > > I'm actually planning to add as_json() and as_yaml() Helper methods for RDBO > eventually...
That would be nice, but as_xml() should also go on the list (at least today, XML seems essential). Perhaps a RDBO::DataExport module is a better solution than core support. (Somewhat related ramble) Also there should be a way to prevent Data::Dumper and similar from showing the db username/password when they dump the object. Maybe the username and the password can be in a closure hash, unreachable without a method call. Ted ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object