Re: Zope-DB Digest, Vol 72, Issue 1

Andreas Jung <[email protected]> Wed, 25 Aug 2010 12:09:48 +0200
Newsgroups gmane.comp.web.zope.database
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------090405010306060203050405
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Harley wrote:
> Please can someone explain why ORM is better than speaking directly to 
> the database? Isn't this just  adding another layer of complexity which 
> in huge databases is certainly not needed.

Modifying the database schema (adding a new field) requires usually
changes in tons of SQL methods..updating your ORM schema definition
usually takes only one or a few lines of code.

Or why the hell do you want to write complicated SQL code (I
remember legacy code of a co-worker to tons of complex JOINs)
yourself while you could implement the same functionality in much
nicer way using Python?

If you ask me: writing SQL is for masochists.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJMdOvsAAoJEADcfz7u4AZjqyALwNWRbc5Pz3keM2x1wkDQfwfU
WdtHLdNvLO6jIRMadMjlO4lOgPU0/ANIlkrUFgmstiEkpEt4zj8IIBWYZfdkrryo
6Cb5OeYN+/stFURDSdqGPViJYxybbPFd2pmcX5HW9W9msxIsZsC7mmjLWgUWQEY4
XXZBLbSTWB3DQt1gOXXNrntPzuSopad6QUb/Pqb/JWF7dtE3WYFY2/ar0YWOd/iU
I7K3rKSTnQaBiDBwFrdrm/hHgeA34zlCs4M0qb8tWKCLsafwYNojAxdF28ScLSBD
pHbxmcQY3aRqkHFPC1DZLqJNmMqbDitIpeUqgx6oLIc73trk2znRmT/HHFP+UhWU
K72Qs6fBfEu1dvJYCA2iKFk2aE83ckqbdQnpwYtL0S3pVY3V5s1Z1ZQ4T1rz4+19
BnuClXsZEWxfn8nn3uNZ0kpv9RI3Tw2qRgd4L5vk1s/mCFCRUi1riCKkEb/U8ygI
kiJw/Zv6hJrgY74ZA67sfaymJ6hrSfE=
=JGcb
-----END PGP SIGNATURE-----

--------------090405010306060203050405
Content-Type: text/x-vcard; charset=utf-8;
 name="lists.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="lists.vcf"

begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard


--------------090405010306060203050405
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zope-DB mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/zope-db

--------------090405010306060203050405--