[Zope-CMF] Workflows 'without' the CMF?

kapil thangavelu kthangavelu@earthlink.net
Tue, 23 Jul 2002 05:06:18 -0700


On Sunday 21 July 2002 02:08 pm, Dieter Maurer wrote:
> Tony McDonald writes:

>  > If so, where do I start? :)
>
> The most difficult part is probably that your objects do not live
> inside CMF but in a database.
>
> CMFDefault is not made for this kind of objects.
>
> You will need something, that transparently fetches content
> from the database and creates temporary objects which
> register with the Zope transaction machinery when they are modified.
>
> You will take care of the fact that many tools write their
> data into objects. You need to change the tools or provide
> for sophisticated data in your object model in the relational
> database.

another much easier approach with the caveat of increased possibility of 
synchronization issues, is to use a proxy object technique with persistent 
proxies that implement partial serialization of attributes to the db. the 
persistent proxies can store the persistent object attributes that the cmf 
wants to store on the content (discussion, workflow, etc).

-kapil