[Catalyst] Domain Model Auth Store

Matt S Trout dbix-class at trout.me.uk
Tue Jan 2 18:22:51 GMT 2007


On 2 Jan 2007, at 18:03, Christopher H. Laco wrote:

> Long story longer, I'm finally working on Mango. This week I'm  
> focusing
> on the general bits...auth, roles, sessions, etc.
>
> I'm currently using Store::DBIC to get auth/db up and running. Now  
> that
> it is running, I want to ditch the use of Schema classes directly in
> favor of a full domain model for auth.
>
> In theory, this should be nothing more than writing:
>
>   ::Store::Mango
>   ::Store::Mango::Backend
>   ::Store::Mango::User

I'd vote for separate files.

I'd also vote for getting a conversation going on catalyst-dev about  
doing a Store::Model instead of a mango-specific one that basically  
defines a protocol the model needs to support (possibly with Moose  
roles) in order to operate; I'd be happy to work with you on design  
therefore since I'm planning a domain model approach to auth in  
reaction as well.

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list