Re: [Mason] Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Dave Rolsky

On Thu, 10 May 2001, Ray Zimmerman wrote:

 I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I
 need) ... are there any others? Any particular reasons why any of
 these may not play with with mod_perl/Mason?

Well, I wrote Alzabo and it plays just fine with mod_perl and Mason.  In
fact, the schema creation interface is a set of Mason components.  The
caching/syncing architecture was specifically created to allow syncing of
objects between multiple processes (ala mod_perl) and I will be creating a
syncing module sometime that sync between multiple machines as well.

I think the author of SPOPS is also a mod_perl user (I'm pretty sure he's
posted to the mod_perl list in the past) so I'd expect it to play nice.

Tangram I don't know much about in relation to mod_perl.

However, these are all fairly different systems.  I often descrive Alzabo
as the opposite of Tangram, for instance.  Alzabo is an RDBMS-OO mapper
and Tangram is an OO-RDBMS mapper.  Tangram is aimed at letting you have
transparent OO persistence in an RDBMS without worrying about the schema
too much.  Alzabo is about taking an RDBMS and giving you access to it
through convenient object methods.

I'm not sure exactly what the goal of SPOPS is, so I'll let the author
speak for himself.


-dave

/*==
www.urth.org
We await the New Sun
==*/





Re: [Mason] Object - RDBMS mapping tools and mod_perl

2001-05-10 Thread Chris Winters

* Dave Rolsky ([EMAIL PROTECTED]) [010510 12:43]:
 ...
 I think the author of SPOPS is also a mod_perl user (I'm pretty sure he's
 posted to the mod_perl list in the past) so I'd expect it to play nice.

Mostly one of the 'silent majority', tho :-) (Plus, we met at last
year's YAPC -- sheesh, the memories on some people! ;-)

(Sidenote: how many folks are going to YAPC this year?)

 ...
 I'm not sure exactly what the goal of SPOPS is, so I'll let the author
 speak for himself.

(gee, that sounds like an invitation to get out the...)

soapbox
SPOPS is built to map objects to relational databases, or other data
stores. If you're just getting/setting object properties and
persistence (create/update/fetch/remove) along with relationships
among the objects, you don't even need to write any Perl code. Just
some fairly simple configuration info. Plus you can (if you wish) get
per-object security for free.

IMO, it also works quite well in an environment where you need to
retrofit a framework onto an existing datastore, since SPOPS doesn't
require special fields or tables (unless you're using security).
/soapbox

More upon request, or on the OpenInteract
(sourceforge.net/projects/openinteract/) mailing lists.

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.