On 06/06/10 09:13, Marc Chantreux wrote:
hello all,

I'm pretty new in the ORM world and i'm trying to figure out how to
write very simple webapps as quick as possible. DBIx::Class is awesome
and i would like to use it to add persistence to my buziness objects.

For a given Users class, i would like to write Users->search({}), not
$schema->resultset('Users')->search().

I wrote a little package as a proof of concept:
[snip]


But now i'm worry: if it was such a good idea, why didn't i found it on
CPAN ? I see two answers:

- it already exists and i missed it.
- my idea is just stupid and i missed a point.

In both cases, i really appreciate your advices.

Hi Marc,
Consider the use-case where you want to connect to two databases at once..

Toby

_______________________________________________
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