John Siracusa wrote:
On 2/10/06, Bruno Czekay <[EMAIL PROTECTED]> wrote:
It looks like Apache::Reload 'undefines' all reloaded classes, but since
Manager classes aren't explicitly reloaded as .pm files, they cannot be
undefined - nor overriden. The fastest solution is to declare every
module supposed to be reloaded (what I'm going to do). On the other
It isn't a solution - mostly because Manager class is defined inside
declared module.
hand, if columns, primary keys or relationships changed - wouldn't that
make re-creation of Manager class necessary?
Not as far as I can see. The manager is just a thin wrapper that
calls through to the base class methods with a specific value for the
object_class parameter. Changes to the actual RDBO classes shouldn't
affect the operation of the manager(s).
I thought about changing 'croak' to 'carp' in case of overriding Manager
class. While this can be helpful when using Apache::Reload, it probably
can have some side effects...
Regards,
Bruno
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object