Re: [SQLObject] Zope 2/Python 2.1 support
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Sidnei da S. <si...@re...> - 2003-07-15 04:01:24
|
On Mon, Jul 14, 2003 at 10:43:54PM -0500, Ian Bicking wrote: | Do you think there is trouble outside of the Python 2.1 issue? It'd be | a little annoying, but I'm okay with it -- when I compare it to writing | Z SQL methods, porting SQLObject to 2.1 seems quite enjoyable ;) There are some stuff that would scare me. For example, getting a SQLObject Connection to play nicely with the Zope Transaction Machinery. Thats the tricky part. There is also a problem that its quite difficult to get Zope to display non-persistent objects (eg: stuff coming from SQLObject), and you can't mix new-style classes with ExtensionClass. If you just want to use SQLObject to do the same stuff as SQLScript, but in an easier way, you wont have much trouble, but if you want to have SQLObject to behave like content, then it will be quite hard, because you'll need some stuff to be persistent and some not. Or play acquisition tricks to get SQLObjects to behave like they are inside the ZODB. | 2.2 has been out for so very long that I don't know what to make of Zope | not supporting it. | | I don't know, I'm not entirely sold on the idea. I'm just trying to | make my Zope 2 development time more pleasant, because I'm not enjoying | it very much. It's all strictly procedural programming (no OO), and I | feel like the way we're using the database has a lot to do with that. | So SQLObject seemed like a nice starting point. Yes, it may be a nice start. You just need to figure out the easier way to do it. | > BUT, if you want to go the Zope 3 route, I would love to give you a | > hand >:) | | Well, all my Zope work is strictly professional. Certainly when X3 | comes around I'll be pushing strongly for the place I'm working for to | use it for new projects, and I wouldn't even dismiss the possibility | that Zope could convert me in the process, but I don't know that I want | to wait for that. Let's hope this happens soon :) | Before X3 I am probably going to be pushing them to use something other | than Zope, but that may or may not go anywhere. In my non-professional | work (where Zope 3 would currently have to live) I'm more interested in | other Python web stuff besides Zope. But I'd certainly support making | SQLObject and Zope 3 work together. Good to know! Just for curiosity, what is the 'other python stuff' you're interested in? Would it be Twisted? []'s -- Sidnei da Silva (dreamcatcher) <si...@re...> Debian GNU/Linux 2.4.20-powerpc ppc Basic is a high level languish. APL is a high level anguish. ----------------------------------------------------------------------- Verified for virus by mail.redesul.com.br Scanner: clamscan / ClamAV - Version 0.54 - Updated 08/07/2003 |