[Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson

Hi,
Can use Plugins as Dataskins?
If so, do I need to put them inside a Customizer?
And how does customizes play with Specialists, 
or should they even do that in the first place?

Regards,
Johan Carlsson


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Plugins as Dataskins

2001-02-09 Thread Steve Alexander

Johan Carlsson wrote:

 Hi,
 Can use Plugins as Dataskins?

The PlugIns product is separate from the ZPatterns/DataSkins product.
ZPatterns requires that PlugIns be installed, though.

There's some experimental support for having Dataskins as plug-ins. However, I can't 
think of why I'd need to do that.

PlugIns and DataSkins are there for different purposes. They solve different problems.

 If so, do I need to put them inside a Customizer?

I can't really answer that.

 And how does customizes play with Specialists, 

Generally, you create "glue" using SkinScript in both the Customizers and Specialists.

 or should they even do that in the first place?

That's up to you.

The best way to develop with ZPatterns is first to think clearly about the problem 
domain you want to work in.
The classes from ZPatterns, such as Specialists, DataSkins
and Folders with Customizer Support, can help you design
and implement your application, leaving many of the
important decisions about methods of collaboration, and
about storage of attributes, until later.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson

 Johan Carlsson wrote:
 
  Hi,
  Can use Plugins as Dataskins?
 
 The PlugIns product is separate from the ZPatterns/DataSkins product.
 ZPatterns requires that PlugIns be installed, though.
 
 There's some experimental support for having Dataskins as plug-ins.
 However, I can't think of why I'd need to do that.
 PlugIns and DataSkins are there for different purposes.
 They solve different problems.

Yes, what much I know.
I find Plugins really useful for dynamically assigning content and behavior
to objects at run-time.
What I want to do is to make plugins created inside regular ZODB objects,
delegate there storage to ZPatterns.
As I see it might be possible to have both ZODB-based plugins (subclassed 
from PlugIn) or virtual plugin objects (subclassed from PlugInBase) getting 
attributes and/or properties from a Customizer.
So is it worth a shot?

Johan Carlsson


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )