in reply to DBIx::Class and Moose

I would first consider KiokuDB since it can persist Moose objects in any database backend you could ever imagine.

Second, you could create the ORM layer yourself (I did this for $work). Create a meta-attribute trait called Column. Then create a "MySQL" role which does CRUD on every attribute that does->("Column")

Replies are listed 'Best First'.
Re^2: DBIx::Class and Moose
by morgon (Priest) on Apr 15, 2009 at 20:38 UTC
    Create a meta-attribute trait called Column. Then create a "MySQL" role which does CRUD on every attribute that does->("Column")
    I have not done it myself but this seems both so straightforward and generic that I can't believe such a thing does not already exist on CPAN...