What to use for object-relational mapping?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

What to use for object-relational mapping?

Warren Henning
Hi,

I'm aware of Glorp (glorp.org). What else is out there for doing
database stuff? Is there anything that implements, say, the Active
Record pattern (i.e., similar to Ruby on Rails' ActiveRecord)? I'm
looking for something good and relatively simple to use with Seaside -
what's best?

Do continuations that involve side effects (making a database
modification) require special care in Seaside?
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: What to use for object-relational mapping?

Humber Aquino
Check

http://minnow.cc.gatech.edu/squeak/512

Humber

On 8/27/06, Warren Henning <[hidden email]> wrote:
Hi,

I'm aware of Glorp ( glorp.org). What else is out there for doing
database stuff? Is there anything that implements, say, the Active
Record pattern (i.e., similar to Ruby on Rails' ActiveRecord)? I'm
looking for something good and relatively simple to use with Seaside -
what's best?

Do continuations that involve side effects (making a database
modification) require special care in Seaside?
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: What to use for object-relational mapping?

Göran Krampe
In reply to this post by Warren Henning
Hi!

"Warren Henning" <[hidden email]> wrote:
> Hi,
>
> I'm aware of Glorp (glorp.org). What else is out there for doing
> database stuff? Is there anything that implements, say, the Active
> Record pattern (i.e., similar to Ruby on Rails' ActiveRecord)? I'm
> looking for something good and relatively simple to use with Seaside -
> what's best?

If you are intent on an RDB backend - then I would guess that Glorp, ROE
and Tantalus are those to check out.

If you have an app that can work within a "document"-like model (the
user "snapshots" a model, and that model is mainly modified only by one
user) then ImageSegments are quite nice. Really fast in loading from
disk and pretty fast in doing a snapshot to disk (except for an overhead
similar to a full gc). But honestly - if you think ImageSegments would
work then you can also go "all the way" to Magma:

If you want something that is really really simple and transparent then
IMHO Magma is the way to go. I am building a quite advanced app using it
(Gjallar) fulltime this year and it is really great.

regards, Göran
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside