Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-09 Thread Marc Chantreux
On Wed, Jun 09, 2010 at 11:37:43AM -0700, Ashley Pond V wrote: > It was terse but I don't think it was sarcastic. The underlying point > is an ostensibly shiny tool in which you get invested and then lets > you down when you hit an unexpected use case and requires you to move > to another tool is n

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-09 Thread Ashley Pond V
On Wed, Jun 9, 2010 at 11:21 AM, Marc Chantreux wrote: > On Tue, Jun 08, 2010 at 08:24:44PM -0500, Jonathan Rockway wrote: >> * On Mon, Jun 07 2010, Marc Chantreux wrote: >> > I assume that we don't need this feature in production mode for 80% of >> > the webapps i'll write.  If it's required for

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-09 Thread Marc Chantreux
On Tue, Jun 08, 2010 at 08:24:44PM -0500, Jonathan Rockway wrote: > * On Mon, Jun 07 2010, Marc Chantreux wrote: > > I assume that we don't need this feature in production mode for 80% of > > the webapps i'll write. If it's required for some special cases (to > > migrate data for exemple), i'll wr

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-08 Thread Jonathan Rockway
* On Mon, Jun 07 2010, Marc Chantreux wrote: > hello, > > On Mon, Jun 07, 2010 at 11:00:52AM +1000, Toby Corkindale wrote: >> Hi Marc, >> Consider the use-case where you want to connect to two databases at once.. > > I assume that we don't need this feature in production mode for 80% of > the webap

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-08 Thread Marc Chantreux
On Tue, Jun 08, 2010 at 10:28:08AM -0400, Sir Robert Burbridge wrote: > Maybe make "Borrowers" a sub that takes connection params and permits defaults > (loaded from a config or something). > > my $rs = Borrowers($dsn, $user, $pwd, $attr)->members_of_branch('MIR'); > my $rs = Borrowers->me

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-08 Thread Sir Robert Burbridge
On 06/05/2010 07:13 PM, 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 wo

RE: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-07 Thread Dami Laurent (PJ)
>-Message d'origine- >De : Marc Chantreux [mailto:kha...@phear.org] >Envoyé : dimanche, 6. juin 2010 01:14 >À : dbix-class@lists.scsys.co.uk >Objet : [Dbix-class] DBIx::Class::Direct: what's wrong with that ? > >hello all, > >I'm pretty new

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-06 Thread Marc Chantreux
hello, On Mon, Jun 07, 2010 at 11:00:52AM +1000, Toby Corkindale wrote: > Hi Marc, > Consider the use-case where you want to connect to two databases at once.. I assume that we don't need this feature in production mode for 80% of the webapps i'll write. If it's required for some special cases

Re: [Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-06 Thread Toby Corkindale
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 l

[Dbix-class] DBIx::Class::Direct: what's wrong with that ?

2010-06-05 Thread Marc Chantreux
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 $sche