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



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to