On Jan 14, 2009, at 2:55 PM, Paul McNett wrote:

> Consider this experimental. Because it is set on a backend object  
> and not
> a cursor, it doesn't make sense to expose the property in  
> dCursorMixin.

        Backend objects are merely the variable parts of dCursorMixin for  
different backends. IOW, things go in dCursorMixin unless they are  
done differently with one of the supported databases. In that case,  
the dCursorMixin code is changed to pass the request through to  
self.BackendObject, and dBackendObject adds the method with the most  
common implementation, or a stub if it differs in each. Then the  
backends that handle it differently override the behavior in their  
subclasses.

        Code should *never* even know about a specific implementation detail  
like this. dBackend is all about specific implementation details.


-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to