On 8/14/07, Mark Ramm <[EMAIL PROTECTED]> wrote:
> > I can understand why you want to use Elixir for its ease of use but it
> > bothers me when the defaults encourage bad design practices.
>
> I don't think the Active Record pattern  is a bad design practice for
> *all*  applications, only for ones where  there are significant
> divergence between the the "database design details" and the preferred
> "business objects."   On a photo sharing site, or a blog, or a wiki,
> or any number of applications this is not true. However, I'm sure I'm
> not alone when I say that my experience is that more often than not
> whenever I decide "this time all my objects really do match up with my
> tables, so it will be OK" I usually end up wishing I had a just a bit
> more freedom to separate things.

I'm four or five months (depending on how you measure) into a
3-developer "enterprise" project that uses Elixir.  It's been a
learning curve for some involved, but mostly because they hadn't used
SQLAlchemy at all before, and expressing things using SQLAlchemy's SQL
generation/select/&c. was new to them.

So far, pretty smooth sailing.  We've hit one "major" (to us, wouldn't
affect anyone not using database schemas) problem, and only a few
minor ones.  I imagine that those who can't control their databases
will encounter more problems than we did, as well as those that have
needs that we don't (yet) - like inheritance and "associables" and so
forth, that's still being discussed in SQLAlchemy and Elixir at the
moment.

Certainly, we're doing a lot better than we would have if we'd gone
with SQLObject, and the reduced time and increased convenience of
Elixir has probably made it easier to start moving on new features.

Which is exactly what I think the default settings should do, so long
as they don't cause harm down the road by compromising design or
security.

Neil
-- 
Neil Blakey-Milner
http://nxsy.org/
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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