On Mon, 2007-28-05 at 21:52 -0400, Mike Schinkel wrote: > Well, I guess there are people out there who like the ORM's, > but personally I don't like to complicate simple things...
SQL in Python looks simple enough... for single cases. Then again, so does PHP. The point is, does it scale? Sometimes you don't need to scale, but when you need to move your application from one database to another, you'll appreciate the fact that you used an ORM. When you decide to add another (perhaps non- turbogears) frontend, you'll appreciate that all the data-mapping has been abstracted behind your model. Personally, I never like to mix languages. I hate having XML that contains JavaScript that creates XML. It's just not pure. So if I can write an application in pure Python, without having to mix it with SQL, that's great. I think of SQL as an application layer communication protocol. You wouldn't want to deal with raw sockets in your application, outputting your http header, etc., manually. The specifics of the communication protocol have nothing to do with your application: they should be abstracted out. Even more so, since the SQL standard (and the capabilities of different databases) varies by implementation much more than that of http servers. ~jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

