[RDBO] Nested objects and Weaken

2008-02-01 Thread Bill Moseley
that the clone will cause circular links and prevent the destruction of the object. Is there a better way to approach this -- or a way to weaken just the right things when cloning? Thanks, -- Bill Moseley [EMAIL PROTECTED

Re: [RDBO] form validation and RDBO

2007-10-23 Thread Bill Moseley
to define the fields and labels, but then I ended up with more places to define things than I felt was reasonable. -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log

Re: [RDBO] form validation and RDBO

2007-10-23 Thread Bill Moseley
files instead of an ID. Easier to understand when looking at specific validation code. I can also fall back to using the ID (the English error message) if the lookup fails in the language file. -- Bill Moseley [EMAIL PROTECTED

Re: [RDBO] form validation and RDBO

2007-10-23 Thread Bill Moseley
On Tue, Oct 23, 2007 at 02:12:08PM -0400, Christopher H. Laco wrote: Bill Moseley wrote: [snip] Yep, although I prefer to use English as the key to the language files instead of an ID. Easier to understand when looking at specific validation code. I can also fall back to using the ID

Re: [RDBO] form validation and RDBO

2007-10-23 Thread Bill Moseley
templates -- and then notifies the language team? -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration

Re: [RDBO] Still fighting with transactions

2007-08-14 Thread Bill Moseley
the two records are saved to the database and not rolled back. Have you also looked at Roes::DB's do_transaction() ? -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through

Re: [RDBO] dbh caching

2007-04-19 Thread Bill Moseley
On Thu, Apr 19, 2007 at 10:35:16AM -0400, John Siracusa wrote: On 4/18/07, Bill Moseley [EMAIL PROTECTED] wrote: This works fine in my base class: sub init_db { our $DBH =|| App::RDB-new } I've got the same $dbh for the life of the program. But, I'd like to try using DBI

Re: [RDBO] dbh caching

2007-04-19 Thread Bill Moseley
new object Fetch all rows id=1 Full name 'Initial User' dbh = DBI::db=HASH(0x8ddfbd4) id=2 Full name 'Bill moseley' dbh = DBI::db=HASH(0x8ddfbd4) id=4 Full name 'Bill Moseley3' dbh = DBI::db=HASH(0x8ddfbd4) id=3 Full name 'Bill Moseley' dbh = DBI::db=HASH(0x8ddfbd4) --- Fetch all

Re: [RDBO] dbh caching

2007-04-19 Thread Bill Moseley
with second time manager\n; show_dbh( $_ ) for @$all; $o = undef; $o2-delete; sub show_dbh { printf(dbh = [%s]\n, shift-dbh ); } -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express

Re: [RDBO] dbh caching

2007-04-18 Thread Bill Moseley
a new $dbh. for new RDBO objects. So, I'm not seeing how to correctly do this. Thanks, -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [RDBO] dbh caching

2007-04-14 Thread Bill Moseley
in Catalyst since the controller actions tend to be small. -- Bill Moseley [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

[RDBO] dbh caching

2007-04-12 Thread Bill Moseley
wondering if there's a specific reason or if that's just a by-product of using RDB. Humbly yours, -- Bill Moseley [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: [RDBO] dbh caching

2007-04-12 Thread Bill Moseley
have a few other RDBO concepts I'm grappling with. But those can wait. -- Bill Moseley [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

Re: [RDBO] dbh caching

2007-04-12 Thread Bill Moseley
On Thu, Apr 12, 2007 at 11:59:55PM -0400, Perrin Harkins wrote: On 4/12/07, Bill Moseley [EMAIL PROTECTED] wrote: Speaking of transactions -- anyone ever asked for nested transaction support? We had a semi-long discussion about that a few weeks back, which you can find in the archives