damn your comming to spam here too...

On 10/11/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote:
>
> I was wondering how close could a SQLObject compatible API (fictional
> name: ObjectAlchemy) placed on top of SQLAlchemy come to SQLObject.
>
that is not possible because they are two different design patterns

> I don't remember where, but someone had suggested this a few months ago
> (development of SQLObject2 ORM layer based on SQLAlchemy, instead of
> using http://sqlobject.org/sqlapi/). This suggestion sounded very
> rational to me, but it seems the SQLObject team-lead has not followed
> it.
>
> Some people on the SQLObject list sayed that ActiveMapper comes already
> as close to SQLObject as possible.[1] Is this true?
>
sayed is not a word

Why don't you go read the code instead?
http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/lib/sqlalchemy/ext/activemapper.py

SO and SA are two different approaches to solve the same problem

http://mail.python.org/pipermail/python-list/2006-September/359164.html
and google about the patterns
http://www.martinfowler.com/eaaCatalog/dataMapper.html
http://www.martinfowler.com/eaaCatalog/activeRecord.html

> If so, what would be the reason to stay with SQLObject (seeing the
> quite inactive project and the non-existent version SQLObject2 /
> SQL-API version)?
>
Can you please drop that
#1 TG is moving to SA
#2 the reason is flexibility
#3 saying that kind of things just make the people of SO look bad and
what you end up doing is working agains the project (or is that what
you want to)?

> A final question: Provides ActiveMapper all functionality of SQLObject,
> even if not API compatible?
>
no and it probably never will, why? because SO wraps the db, what
ActiveMapper does create the mapper table on very simple rules (read
each property = each row)

ActiveMapper is syntatically similar to SO in order to simplify the
migration but it will never be SO.

> [1]
> http://thread.gmane.org/gmane.comp.python.sqlobject/7033/focus=7033
>
> .
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to