On Sat, 23 Aug 2008, Alex Peters wrote:

Hi,

I'm starting a new project using Moose[1] and am wondering how
best to handle persistent storage of these Moose objects.

If I weren't using Moose, DBIx::Class would be the obvious
answer here.  However, in a way Moose and DBIx::Class seem to
overlap in terms of the functionality that they provide (auto-
generated accessors/mutators, etc.).

They do, but they also don't interfere with each other, and using them together works just fine. Reaction[0] uses this principle to good effect.

There seems to be very little information on the internet about
using the two together, and I've scanned this year's posts to
this mailing list for any references to Moose and found almost
nothing[2] on this matter.

The reason you don't see many posts is because nobody is complaining ;)

So: has anyone here written Moose classes that feature DBIx::
Class functionality?  What approaches have been tried and how
do they rank in usability and maintainability?

See the examples in the Reaction dist.

[0] Reaction - http://search.cpan.org/dist/Reaction

Jess


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to