in reply to Moose + ORM

At least from my cursory reading of KiokuDB::Tutorial, KiokuDB should do that.

Replies are listed 'Best First'.
Re^2: Moose + ORM
by Anonymous Monk on Jul 23, 2009 at 18:52 UTC
    Because from my cursory reading of KiokuDB::Tutorial, KiokuDB bwon't/b do that. I am not looking to store my Moose objects into an Object Graph storage engine ... I am looking to create Moose objects by merely specifying a table name.
      bbcode fail
Re^2: Moose + ORM
by Anonymous Monk on Jul 23, 2009 at 18:43 UTC
    Care to elaborate?

      Upon rereading KiokuDB and the original post, I think I got it backwards. You can tell KiokuDB about which columns of your object you want to have as "search columns", that is, real SQL database columns, but it doesn't work the other way around, intuiting the structure of your (ORM) objects from the table structure. Something like MooseX::DBI::Loader, grafting DBIx::Class::Loader onto Moose would be needed, but I'm unaware of that.

        OK cool. I am thinking something like this might help. But I feel like a trail blazer carving out new territory. I like that, but Moose guts are nasty! :(