On Thu, Jan 15, 2009 at 11:13 PM, Daniel Fetchinson
<[email protected]> wrote:
>
>>> A show-stopper would be that TG2 uses by default the repoze.what SQL and
>>> quickstart plugins, which only support SQLAlchemy. So supporting SO in TG2
>>> would also mean porting both plugins to SO.
>>>
>>
>> Also I don't think this should belong to the core. it should live in
>> tgext.sqlobject, and hook into tg2 to replace the modules.
>
> Why do you think so? If integration of sqlobject is achievable I'd say
> SO and SA are on the same footing, just as was the case with tg1. Why
> should SA be favored?
>
Because TurboGears is a "best of framework" and SQLAlchemy is far
superior, the only reason TG1.x had support for SA and SO was because
of transition that transition is over.

> I'm building on the assumption that support for sqlobject is doable in
> a clean and elegant way. I'm not saying it's easy (in fact, until
> today I thought it will never be done), but supposing that the code is
> there, in that case, why do you think SA should be singled out?

Because one of the goals of TG2 is to keep the core small. One of our
mistakes with the TG1 code base was to add way too many things to the
core, so the moment one part of it fail TG was blamed. Which is very
bad PR. Specially went something was added to the core and the
original author was gone, then no one wanted to maintain the code and
it just keep making bad PR.

As for SQLObject the project it's one a small bit of what it ones was,
why will you want to use a project that is less in every aspect than
the default? I can only think of 3 reasons
- you have tons of code that depends on it, in that case maintaining
tgext.sqlobject will mean less work than migrating to SA.
- you are just lazy
- you don't want to migrate to 1.1, 1.5

the main reason for 1.1 is genshi and SA support, the main reason for
1.5 is CP3 support, to me it seems none of the core developers has (to
this day) a big investment in SO and if they do they are fine with 1.0
or 1.1 for that particular app. So from that I conclude that adding SO
to the core will be a mistake as it will rapidly go unmaintained, and
people will complain they are no docs or no example or etc, etc and
that will create bad more PR.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to