On May 22, 2007, at 9:43 AM, Matt S Trout wrote:
On Tue, May 22, 2007 at 09:29:25AM -0700, Michael Reece wrote:
On May 22, 2007, at 7:58 AM, Matt S Trout wrote:
item = user.items.find(params[:id])
my $item = $user->items->find($item_id);
new_item = user.items.create!(params[:item])
my $new_item = $user->items->create(\%item_info);
that's great; i thought i had recalled something similar, but
couldn't find it again in my quick skim of DBIx::Class::Manual::*
[...]
Given that you now know that, would you be willing to consider
contributing
any features you consider missing in DBIx::Class rather than
writing another
implementation of essentially the same API?
i am not the OP for this thread, and i have no intentions of writing
a general purpose ORM! though i have been mucking with RoR and find
the comparisons interesting. i may look at DBIC again next project.
(DBIC is intentionally not
opinionated to let people do things their way with it - there are
more than
enough perl ORM projects already and I wanted to provide something
people could
subclass/extend rather than have to re-invent again :)
--
Matt S Trout Need help with your Catalyst or
DBIx::Class project?
_______________________________________________
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/