[Zope] ZClass base classes

2000-09-07 Thread Nick Trout



I've looked all throught docs but I cant find 
anywhere an explanation of what properties the ZClass base classes give you. 
Also which order to inherit them, as the Developers Guide claims the order is 
important. Can anyone please enlighten me?

Regards,
Nick.




Re: [Zope] ZClass base classes

2000-09-07 Thread Nick Trout

 (please don't post HTML mail to the list).
sorry

 I *think* the "Include standard Zope persistent object base classes"
 check box gives your ZClass the "ZObject" interface which is similar to
 the SimpleItem interface (see the Zope API docs in the help system - I
 think it's under Help-Zope Help-API Documentation-ObjectManagerItem).

I dont seem to have this in my Zope Help System. Where can I obtain this? I
have 2 items in the Contents tab frame: ZeopTutorial and ZopeHelp. The API
Documentation I have is very sparse.

 As far as inheritance order, the first base class you add to the ZClass
 base class list will be ZObject if you use check the "standard base
 classes" checkbox.  The next one will be the first base class you choose
 (the topmost), the next one will be the one under that, etc.

But what I need to know is what properties does the derivation give the new
object and how does the order affect its behaviour.

Ta,
Nick

 I've looked all throught docs but I cant find anywhere an explanation of
 what properties the ZClass base classes give you. Also which order to
 inherit them, as the Developers Guide claims the order is important. Can
 anyone please enlighten me?



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




[Zope] DTML horror

2000-09-05 Thread Nick Trout



DTML is pretty horrible. Does anyone have any 
solutions to allow DTML methodsto be generated using a more Pythonesque 
interface? It seems to me that DTML is a bit of a shoddy half way house between 
HTML and Python.

Cheers,
Nick.




[Zope] ZODB efficiency

2000-09-05 Thread Nick Trout



Is using ZODB efficient? Is it better to use ZODB 
than an external database? What are the benefits of using it?

CHeers,
Nick


Re: [Zope] DTML horror

2000-09-05 Thread Nick Trout

 For someone who's posting HTML mail to a non-HTML list, you're a fine
 one to talk ;-)

Oooer, *blush* sorry...


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




[Zope] Newbie: ZClass questions

2000-09-01 Thread Nick Trout



Hi, I'm new to Zope. I'm just flailing around in 
all the docs and examples at the moment. I'm 
setting up a small intranet for our office.

I've been reading about ZClasses (havent done any 
SQL). Are these a very efficient way of storing data? Are these more/less 
efficient than setting up a database and managing it using ZSQL?

I read that any changes to a class instance is 
stored in the Zope database. Is there a way of turning this feature off to avoid 
the undo facility? ie. if you dont want undo.

I'm trying to set up a simple chat room as a 
teaching exercise. I'm thing I should implement a ZClass which is the room, 
containg a ZClass which will be a chat item. I've noticed an example, ZRTChat 
but everything there is implemented in Python (yuck!). It's much nicer to use 
the interface to create your classes. What are the pros and cons of the 2 
approaches. Why implement it all in Python?

Cheers,
Nick.