[Zope3-dev] Re: RDB support
Matthew T. Kromer
matt@zope.com
Thu, 11 Apr 2002 11:40:42 -0400
Stephan Richter wrote:
>> You probably want some kind of querybuilder object which keeps track
>> of its own state, and either knows about all kinds of DBAPI 2.0
>> parameter binding styles, or leverages a DA-specific binding routine.
>
>
> But shouldn't this be on a higher level? What if I do not want this
> service? Or do you mean more you want to replace what is currently
> done with DTML in SQL Methods?
>
The idea is to enable easier replacement of the DTML/SQL method code.
Also, you want something that forces a singular parameter binding
function onto the DA, rather than having the higher level code be more
versatile (and understand the 5 or so different types of parameter
binding.) The DA can then convert to the underlying adapter.
--
Matt Kromer
Zope Corporation http://www.zope.com/