Re: [RDBO] Introducing the convention manager

2005-10-19 Thread John Siracusa
On 10/18/05, John Siracusa <[EMAIL PROTECTED]> wrote: > So while you can reduce, say, the vendor class to this: > > package My::Vendor; > use base 'My::Object'; > __PACKAGE__->meta->auto_initialize; > > and it works fine, once you start stripping down the classes that participate > in t

Re: [RDBO] Introducing the convention manager

2005-10-18 Thread John Siracusa
On 10/18/05 11:14 PM, Terrence Brannon wrote: > On 10/18/05, John Siracusa <[EMAIL PROTECTED]> wrote: >> (Replace the all the calls to meta->initialize() with >> calls to auto_initialize(no_warnings => 1) and the column details would be >> filled in automatically as well.) > > I think the auto_ini

Re: [RDBO] Introducing the convention manager

2005-10-18 Thread Terrence Brannon
On 10/18/05, John Siracusa <[EMAIL PROTECTED]> wrote: (Replace the all the calls to meta->initialize() withcalls to auto_initialize(no_warnings => 1) and the column details would befilled in automatically as well.)  I think the auto_initialize usage would look more spiffy in the SYNOPSIS of your d

[RDBO] Introducing the convention manager

2005-10-18 Thread John Siracusa
I didn't get any feedback on my recent post (Subject: More convention?) so I went ahead and added support for what I'm calling the "convention manager." It's in CVS now. Each RDBO-derived class has a convention manager. By default, the convention manager will be used to automagically set any miss