Loading...
Loading...
Topics
Posts
Groups
| in
Catalyst Framework
└ lists.rawmode.org
└ All Groups
-----------------------------------
apache.org
postgresql.org
rawmode.org
-----------------------------------
All Groups
x
[
help
]
Home
>
Groups
>
Catalyst Framework
>
[Catalyst] ActiveRecord for Perl
(42 posts) > View Post
[Catalyst] ActiveRecord for Perl
View Post
|
Saved By
Flat
Thread
Threaded
|
Next >
mla
[Catalyst] ActiveRecord for Perl
|
+1 vote
saved
to
perl
dbic
activerecord
orm
catalyst
by 1 person
[
Profile
|
Reply to group
]
[
Flat
Thread
Threaded
]
I'm considering trying to port Ruby's ActiveRecord to Perl
as a lightweight ORM option (with some small changes
maybe, like composite PKs). If anyone's interested, toss
me a message privately and we'll coordinate.
Maurice
_______________________________________________
List: [email protected: Cat...@lists.rawmode.org]
Listinfo:
http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site:
http://dev.catalyst.perl.org/
Thread : [Catalyst] ActiveRecord for Perl
1)
mla
I'm considering trying to port Ruby's ActiveRecord to Perl as a lightweight ORM option (with some...
2)
Adam Bartosik
What I found missing in DBIx::Class is AR method find_by_sql(sql). We use catalyst&dbix for months...
3)
mla
Maybe not. Or maybe we could write a wrapper to give more of an AR interface. I'm currently trying...
4)
Adam Bartosik
Months ago I gave a try for ROR. What is good compared to Catalyst? - documentation. It is easy to...
5)
A. Pagaltzis
I hear that a lot. I don’t get it, though. The tutorial tells you to use TT and DBIC. If you...
6)
Quinn Weaver
In our case, the choice of form validators is what really took time. I started with...
7)
Matt S Trout
Form libraries are -hard-. I'm hoping the Reaction::UI system's form support will be a good general...
8)
Matt S Trout
So you're planning to re-invent DBIx::Class::Validation as well as the core. I'm still not seeing...
9)
Lampert, Hugh
=0D=0A=0D=0A=0D=0A>-----Original Message-----=0D=0A>From: mla [mailto:mauri=...
10)
Perrin Harkins
Did you ask about it on the mailing list? Nearly all of the Perl ORMs have support for direct SQL....
11)
Michael Reece
one thing i really like about AR is the association proxies, where relationships themselves are...
12)
Eden Cardim
"ruby way"? That's exactly how DBIC works.
13)
Perrin Harkins
The functionality you're describing is available in all of the ORMs, including Class::DBI. I don't...
14)
Matt S Trout
DBIC relationships return resultset objects in scalar context: __PACKAGE__->has_many('items',...
15)
Michael Reece
that's great; i thought i had recalled something similar, but couldn't find it again in my quick...
16)
Matt S Trout
Right, but the DBIC code involved is almost identical. Given that you now know that, would you be...
17)
Michael Reece
i am not the OP for this thread, and i have no intentions of writing a general purpose ORM! though...
18)
mla
If I may ask, Perrin, what do you use? Maurice
19)
Christopher H. Laco
I'm one of those odd birds that's used CDBI, DBIC and RDBO. I've converted from CDBI to DBIC and...
20)
mla
Thanks for sharing your experiences. Other than the the deploy() stuff, any other criticisms of...
21)
Christopher H. Laco
Well, to be fair to RDBO, I'm just not as familiar with it as I am with DBIC. When I was doing the...
22)
Peter Karman
Christopher H. Laco wrote on 5/22/07 2:47 PM: Actually, RDBO works like you describe DBIC. The...
23)
Matt S Trout
So far as I can see, the basic difference is - DBIx::Class aims for "fast enough" and "extremely...
24)
John Siracusa
I just didn't think a merge made sense since the two projects have different philosophies and very...
25)
Matt S Trout
Hmm. I think that's a semantic mismatch, that's basically what I meant. That you don't see the...
26)
John Siracusa
Sure, but what would the result look like? I think it's wise to concentrate on a single API. Just...
27)
Christopher H. Laco
Let the CDBI port take care of that. :-P -=Chris
28)
Wade.Stu...@fallon.com
"Christopher H. Laco" <claco@chrislaco.com> wrote on 05/23/2007 12:49:20 PM: 6...although all...
29)
Christopher H. Laco
Just for giggles, you can compare the two sets of glue:...
30)
Perrin Harkins
I have a large system that was started back when Class::DBI was a hot new thing. It still uses CDBI...
31)
Matt S Trout
What would that achieve that passing literal SQL chunks for SELECT, FROM, WHERE etc. wouldn't?
32)
Adam Bartosik
Readability. Complex SQL statements are more clear to understand than complex dbix "statements"...
33)
Matt S Trout
Ok, I can see all of those arguments. So here's the one big remaining question - why haven't you...
34)
Adam Bartosik
Good point. To be honest - I need to dig deeply into dbix structure to propose something in the...
35)
Eden Cardim
DBIC::RS has paging, just use the 'rows' and 'page' attrs.
36)
Matt S Trout
That's where we start to run into trouble - DBIC can provide all this stuff but it needs the...
37)
John Goulah
I agree with you, using DBIx for simple stuff is fine, but after a while raw SQL is sometimes nice...
38)
Matt S Trout
Personally I find it worthwhile to reformulate queries in DBIC form - I find complex queries are...
39)
Eduard Giménez
Why not simply colaborate to extend DBIx?
40)
John Napiorkowski
Just as a followup to that, you should really try to write a list of everything you think is...
41)
mla
Okay, thanks. I will do that. I'm mainly looking to strip features, not match them. Agreed. Maurice...
42)
Matt S Trout
DBIx::Class' component architecture makes it easy to do that too. It's pretty much an ORM...
Highlight
View Post
|
Saved By
Flat
Thread
Threaded
|
Next >
Home
>
Groups
>
Catalyst Framework
>
[Catalyst] ActiveRecord for Perl
(42 posts) > View Post
Grokbase
|
Groups
|
Tags
|
People
|
Add a group
|
FAQ
|
About
Provide
feedback
|
|
Credits
| Created by
John