Re: A MooseX ORM, an attempt

2010-06-17 Thread Dexter Tad-y
--- On Thu, 6/17/10, Stevan Little wrote: > From: Stevan Little > Subject: Re: A MooseX ORM, an attempt > To: "Dexter Tad-y" > Cc: moose@perl.org, "Rodrigo" > Date: Thursday, June 17, 2010, 10:26 PM > > On Jun 17, 2010, at 5:55 AM, Dexter Tad-y wrot

Re: A MooseX ORM, an attempt

2010-06-17 Thread Yuval Kogman
Having briefly looked at the code, here are my thoughts on how to decouple this stuff. Here is my personal wishlist from the next ORM, whatever it may be. I tend to view things very bottom up, so these are all implementation oriented, not so much sugar oriented. Many of these things are already b

Re: A MooseX ORM, an attempt

2010-06-17 Thread Stevan Little
On Jun 17, 2010, at 5:55 AM, Dexter Tad-y wrote: As a wishlist (or more like me rambling here), I'd like to see a place to plug in SQL result-sets directly, say: package Person; ... result_set 'underage' => ( sql => "select * from person where age<18" ); That way difficult queries (ie:

Re: A MooseX ORM, an attempt

2010-06-17 Thread Dexter Tad-y
Hi Rodrigo, --- On Thu, 6/17/10, Rodrigo wrote: > From: Rodrigo > Subject: Re: A MooseX ORM, an attempt > To: moose@perl.org > Date: Thursday, June 17, 2010, 3:12 PM > > > > > > I do hope to get feedback from the community, > especially if some people > >

Re: A MooseX ORM, an attempt

2010-06-17 Thread Leo Cacciari
On Wed, Jun 16, 2010 at 6:50 PM, Dexter Tad-y wrote: > Greetings all, > > I am releasing code for my attempt in writing a Moose-based ORM extension, > named MooseX::DataMapper for the mean time. > That's looks like almost was I was looking for for a project I have at the moment, I'd even starte

Re: A MooseX ORM, an attempt

2010-06-17 Thread Rodrigo
> > > I do hope to get feedback from the community, especially if some people > find it useful and is worthy of future work. > > Hi Dexter, CPAN namespace considerations aside... I really like Moose based ORMs, I think all exercises in this direction are valid. My critique (warning: I've only skim

Re: [OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Yuval Kogman
On 17 June 2010 03:58, Darren Duncan wrote: > > I believe it already was; see the thread-starter post, which had this: > > > http://github.com/dexterbt1/MooseX-DataMapper > That specific reply was to Dan, not Dexter

Re: [OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Darren Duncan
Yuval Kogman wrote: Template is obviously the One True Way to template text ;-) Basically if there's anything objectionable about it, in the sense that the code has some sort of opinion, it isn't just a tool, then I tend to choose a "cutesy" name out of respect for the notion that it might not b

Re: [OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Yuval Kogman
On 17 June 2010 00:42, Chris Prather wrote: > > Basic rule of thumb is "Be Respectful". > > The module hierarchy rose to help stop the problem that I see in the > Ruby world of "What the hell is that Frobbing thing called again?" > Bot::ApplesToApples is obviously some kind of IRC bot for playing

Re: [OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Chris Prather
On Wed, Jun 16, 2010 at 5:16 PM, Stevan Little wrote: > > On Jun 16, 2010, at 5:03 PM, Dan Horne wrote: > >> On 17 June 2010 08:51, Chris Prather wrote: >> >>> On Jun 16, 2010, at 4:26 PM, Dexter Tad-y  wrote: >>> Hi Stevan, Can you suggest an alternative namespace for this? I'll tr

Re: [OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Stevan Little
On Jun 16, 2010, at 5:03 PM, Dan Horne wrote: On 17 June 2010 08:51, Chris Prather wrote: On Jun 16, 2010, at 4:26 PM, Dexter Tad-y wrote: Hi Stevan, Can you suggest an alternative namespace for this? I'll try to come up with another name for the project. What's wrong with just Dat

Re: A MooseX ORM, an attempt

2010-06-16 Thread Dexter Tad-y
--- On Thu, 6/17/10, Chris Prather wrote: From: Chris Prather Subject: Re: A MooseX ORM, an attempt To: "Dexter Tad-y" Cc: "Stevan Little" , "moose ML" Date: Thursday, June 17, 2010, 4:51 AM On Jun 16, 2010, at 4:26 PM, Dexter Tad-y wrote: > Hi Stevan, &

[OT] Re: A MooseX ORM, an attempt

2010-06-16 Thread Dan Horne
On 17 June 2010 08:51, Chris Prather wrote: > On Jun 16, 2010, at 4:26 PM, Dexter Tad-y wrote: > > > Hi Stevan, > > > > Can you suggest an alternative namespace for this? I'll try to come up > with another name for the project. > > > > What's wrong with just DataMapper? > > -Chris > > > This rais

Re: A MooseX ORM, an attempt

2010-06-16 Thread Chris Prather
On Jun 16, 2010, at 4:26 PM, Dexter Tad-y wrote: > Hi Stevan, > > Can you suggest an alternative namespace for this? I'll try to come up with > another name for the project. > What's wrong with just DataMapper? -Chris >

Re: A MooseX ORM, an attempt

2010-06-16 Thread Dexter Tad-y
ittle wrote: From: Stevan Little Subject: Re: A MooseX ORM, an attempt To: "Dexter Tad-y" Cc: "moose ML" Date: Thursday, June 17, 2010, 1:00 AM Dexter, Please do not use the MooseX:: namespace for this, it is reserved specifically for extensions of Moose and we are trying

Re: A MooseX ORM, an attempt

2010-06-16 Thread Stevan Little
Dexter, Please do not use the MooseX:: namespace for this, it is reserved specifically for extensions of Moose and we are trying to enforce that more and more these days. From what I see in your README it actually looks pretty nice. Can you perhaps expand on what it provides over the exis

A MooseX ORM, an attempt

2010-06-16 Thread Dexter Tad-y
Greetings all, I am releasing code for my attempt in writing a Moose-based ORM extension, named MooseX::DataMapper for the mean time. It started as a code exercise in metaclass programming, born out of a few days offline vacation last week. Upon getting back online, I found the recent sentimen