[Catalyst] C-P-Authentication-Store-DBIC auto_create()
    Carl Franks 
    fireartist at gmail.com
       
    Thu Mar  9 15:27:07 CET 2006
    
    
  
Regarding the new auto_create() support in trunk for
C-P-Authentication-Store-DBIC...
Instead of the user having to provide the auto_create() method in
their DBIC User class, how about having it defined in
C-P-Authentication-Store-DBIC-User ?
It should be able to make the call to create() using the column spec
from config()
And instead of having C-P-Authentication-Store-DBIC support both DBIC and CDBI,
how about creating a new C-P-Authentication-Store-CDBI module which
inherits from C-P-Authentication-Store-DBIC, overridding when
necessary.
e.g. the auto_create() method which needs to call create() for DBIC
and insert() for CDBI.
Cheers,
Carl
    
    
More information about the Catalyst
mailing list