percious, el 25 de enero a las 20:48 me escribiste: > This is also my experience. I spent many hours hacking SO to do what I > want, even when it was a simple many-to-one (as apposed to one-to-many) > relationship. SA solved this easily with the 'backref' option. (just > one example) > > I don't think there is any extra typing, because you need all 3 objects > to be separate for separate things. It makes it easier to handle MVC > separately in my opinion, because the class you map to is totally > separate from the way it maps to the database, so you could easily use > that class somewhere else, hooking in your own Database/Data management > system.
Well, this is not the only approach. Another approach is to think you just have objects in you app, and the persistence is just an accident. You store your data in a relational database just because is the best way (is it? ;) in the present, but you just don't care how data is stored. So hidding this problem to the user (rather than making it write the guts of it) is a good thing (TM). It's just a point of view. Anyways, I think SA is a great base to build this kind of abstraction. > The support offered by Mike Bayer is particularly stellar, especially > considering he almost single-handedly created and manages SQLAlchemy on > his own time. He has personally responded to simple problems I have on > more than one occasion. I'm not attacking the project or his leader, I repeat. It's a great project, I'm just telling it wasn't good for my particular needs. And I'm saying it's not yes suitable as a default component to TG yet. > As for fighting, if you are fighting with it, usually it just means > that you need to read a bit more into the documentation. I read all the documentation. Did you make an intensive use of inheritance? What model of inheritance are you using? -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ .------------------------------------------------------------------------, \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '--------------------------------------------------------------------' And I am not frightened of dying, any time will do, I don't mind. Why should I be frightened of dying? There's no reason for it, you've gotta go sometime. If you can hear this whispering you are dying. I never said I was frightened of dying. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

