[Zope-Moz] Re: Re. mozillation project?

Martijn Pieters mj@digicool.com
Sat, 22 Apr 2000 17:27:57 +0200


On Sat, Apr 22, 2000 at 06:42:33PM +0530, Shalabh Chaturvedi wrote:
> The interface and implementation being a bit tightly coupled in existing Zope
> products, we are going to run into problems trying to integrate the existing
> products with ZopeStudio.
> 
> In the current html management interface, management and editing of objects is
> closely tied to html. A class defines it's 'manage_options' as a list of
> (label, action) pairs where the action is a method that produces _html_.
> Usually the html is some kind of form which is used by the user to edit the
> object. The semantics of _what_ the contents of the object are and how the form
> provides an edit interface are not visible (and cannot be inferred from the
> html). Since the creator of a class knows his objects, he designs the edit
> pages accordingly.
> 
> ZopeStudio needs to provide another interface for editing the same objects.We
> know about DTMLDocuments and DTMLMethods so we can create appropriate
> 'bindings' for editing through ZopeStudio (not without effort, though) . But
> what about other objects?
> 
> Hmm.. it appears that SWARM might provide a solution to this problem in the
> future. Since separating interface from implementation is a key theme of SWARM.
> Very interesting indeed!

With respect to seperate interfaces from implementation, have a look at the
Interfaces Wiki:

  http://www.zope.org/Members/michel/Projects/Interfaces/FrontPage

-- 
Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------