Re: [CDBI] Re: Subclass load order problem with relationships
Oliver Jeeves <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
Edward J. Sabol wrote: > Oliver Jeeves responded to Lianna with the following: >> There was a thread about subclassing CDBI objects on here a while ago, >> and I was having similar problems to you; When reblessing a CDBI object, >> the relationships for the new class didn't work. >> >> I never thought it might have something to do with class loading order, >> although I suppose it does make sense. It would also explain why that >> method worked for some other people, but not for me. >> >> Either way, I found a solution that works without having to worry about >> class loading order, I posted them on this list back in September: > > Oliver and/or Lianna, would you consider distilling all your info concerning > implementing a CDBI factory pattern and post it to the wiki? I think it would > make a lovely addition to the CDBI cookbook. > > http://wiki.class-dbi.com/wiki/Cdbi_cookbook > > Thanks, > Ed Good idea, I've added a page as suggested. -Oli _______________________________________________ ClassDBI mailing list ClassDBI-Ra3b/[email protected] http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFL2XQSbWXajvTQ+URAibLAJ0QEIi8cdEabkVO9wxi72j/LtO2awCfaZaP HlvHPcdtVU5UTQENlhlkTrg= =f630 -----END PGP SIGNATURE-----