From: Nick <ni...@dd...> - 2003-11-10 22:02:10
|
On Mon, 2003-11-10 at 15:54, Ian Bicking wrote: > I can appreciate this sentiment, but I'm also wary of it. There are > other Python ORMs that do better at distinguishing between business > logic and persistence logic, but SQLObject is coming from a bit > different perspective -- it's mapping tables to Python objects, not > mapping Python classes to tables. Ultimately I am unconvinced that you > can get the persistence for free, that you can map arbitrary Python > onto a DBMS -- at least without making the DBMS pointless. I think one of the real advantages of SQLObject's approach is that the database schema is still generally useful to non-Python/SQLObject interactions. Otherwise you'd be stuck with a particular schema paradigm that may not be easily/sanely implemented in a different language. And it could be a nightmare for your DBA who may have to tweak data (let's face it, your PHB will make you do it) using a database browser or SQL command line. Nick |