On Sep 16, 2006, at 15:27, James Masters wrote:

Vaguely related:

On $new_project we have a "scaffold_generator" that runs the loader  
and generates a Perl module (with a bunch of packages) for each of  
our databases.  In the generator we hardcode a few tweaks (say used  
the Cached class for this and that table).   It's setup so the  
generated package tries loading Foo::Model::$Class for custom methods  
too.

It seems like it gives us the best of Loader magic and reasonable  
startup times.

Another trick we have is some extra methods in the "base  
class" (Foo::Model) so we can say Foo::Model->blah to get the  
Foo::Model::Blah::Manager class.


  - ask

-- 
http://www.askbjoernhansen.com/



-------------------------------------------------------------------------
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

Reply via email to