Em Wednesday 24 October 2007 10:34:05 Diez B. Roggisch escreveu:
> If it has a calming effect on you, you might be interested in learning that
> I don't use SA. Because when I'm in control over my schema, SO is all I
> need. It features the relations I'm interested in, I'm perfectly ok with
> (actually prefer) numeric IDs, using the SQLBuilder is easy enough to
> create complex queries without resorting to SQL for nearly all use-cases
> (with a bit of added goodies you'd otherwise miss when creating these
> yourself) and so forth.

I'm using SO for my biggest projects as well.  But I don't aim database 
independence and I'm using the ORM layer to make my life easier (but 
sometimes I wonder if I should be writing plain SQL since performance would 
be better to me).

> I have to admit though that I didn't have a deeper look at SA, neither 0.3
> nor the newer one. But when I read here that many people used it, I in fact
> tried and evaluated it. And to me, it's rather complicated because I first
> define the tables I want to use, and _then_ I map my objects on top of
> that. Relations weren't exactly declarative.

Yep.  This is why Elixir looks like a better solution.  To me, when I 
evaluated it, it brought more harm than good so I took it out of my testing 
code.  Sometime in the future I plan on testing it again because a lot of 
things have been solved since that time and Elixir has improved a lot.

> And the fact that something like Elixir is needed to make SA look nicer (if
> circumstances allow it because you can control the schema, as mentioned
> above) leads me to the answer: I use SO.

I use SO.  And stored procedures.  And functions.  And views.  And triggers.  
And rules.  And all I can get from my database server to improve things and 
reduce complexity of my Python code.

As I explained, database independency is not a goal for me as it isn't 
programming language agnosticity.

> Please don't get me wrong, I don't want to disrespect any of the SA and
> Elixir developers - but Elixir seems to me as a cure for a problem SA has
> because... it's not SO :)

:-)  I think a little different here -- i.e., Elixir implements a different 
type of mapping on top of a more generic / abstract SA, and this different 
type of mapping makes it as specific as SO.

-- 
Jorge Godoy      <[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