Re: [Zope3-Users] Zope 3 Developer's LiveBook

2006-02-15 Thread Chris Withers
Reinoud van Leeuwen wrote: On Tue, Feb 14, 2006 at 09:15:42PM +0100, Florian Lindner wrote: I also think that pure Latex would be the best choice. It's convertible into a lot different formats and can be edited just using a simple text editor. Isn't Docbook a better choice? Is is specially

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Chris Withers
Peter Bengtsson wrote: self.queue seem is empty each time I restart Zope. That's because dictionaries are not derived from Persistent. Try PersistentDict. D'oh! That's confusing. Isn't there a class that gathers all of these in one. Urm, Peter, the rules of persistence w.r.t. mutable

Re: [Zope3-Users] Squid/Apache Caching

2006-02-15 Thread Chris Withers
Peter Bengtsson wrote: That's very interesting. If you understood Squid better do you think you'd leave out apache? Maybe, I guess I just have a soft spot for Apache though ;-) And what about the performance overhead? Any experience you can share? Nope, Plone gives me all the performance

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Peter Bengtsson
-- Forwarded message -- From: Peter Bengtsson [EMAIL PROTECTED] To: Jeff Shell [EMAIL PROTECTED] Date: Wed, 15 Feb 2006 13:14:58 + Subject: Re: [Zope3-Users] What attributes are made persistent On 2/15/06, Jeff Shell [EMAIL PROTECTED] wrote: On 2/14/06, Peter Bengtsson [EMAIL

[Zope3-Users] Lists dont accept default values

2006-02-15 Thread Frank Burkhardt
Hi, I wrote a schema like this to have a list of objects on a content object: class IMyContent(Interface): mynumbers=List( title=_(uCool Numbers), required=True, value_type=Int( title=_(integer) ) default=[1,2,3,5,7] ) myline=TextLine(

Re: [Zope3-Users] Zope 3 Developer's LiveBook

2006-02-15 Thread Fred Drake
On 2/15/06, Stephan Richter [EMAIL PROTECTED] wrote: So with that in mind, if you do not know how to do professional desktop publishing, then LaTeX is a much better options, since it results look really professional. We also have lots of cool support for Python documentation in LaTeX, which

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Paul Winkler
On Wed, Feb 15, 2006 at 01:21:14PM +, Peter Bengtsson wrote: I understand the mutation stuff and I always do it like this in zope2 (I'm a complete beginner in the zope3 world eager to learn): def updatesometing(self): #self.numbers['Peter'] = 0779 123 456 numbers = self.numbers

[Zope3-Users] Re: Zope 3 Developer's LiveBook

2006-02-15 Thread Philipp von Weitershausen
Reinoud van Leeuwen wrote: I also think that pure Latex would be the best choice. It's convertible into a lot different formats and can be edited just using a simple text editor. Isn't Docbook a better choice? Is is specially designed for documents like this, and easily parsable. lots of

[Zope3-Users] Re: Zope 3 Developer's LiveBook

2006-02-15 Thread Philipp von Weitershausen
Fred Drake wrote: So with that in mind, if you do not know how to do professional desktop publishing, then LaTeX is a much better options, since it results look really professional. We also have lots of cool support for Python documentation in LaTeX, which makes it really easy to work with

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Peter Bengtsson
On 2/15/06, Paul Winkler [EMAIL PROTECTED] wrote: On Wed, Feb 15, 2006 at 01:21:14PM +, Peter Bengtsson wrote: I understand the mutation stuff and I always do it like this in zope2 (I'm a complete beginner in the zope3 world eager to learn): def updatesometing(self):

Re: [Zope3-Users] Lists dont accept default values

2006-02-15 Thread Florian Lindner
Am Mittwoch, 15. Februar 2006 14:40 schrieb Frank Burkhardt: Hi, I wrote a schema like this to have a list of objects on a content object: class IMyContent(Interface): mynumbers=List( title=_(uCool Numbers), required=True, value_type=Int(

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Lennart Regebro
On 2/15/06, Peter Bengtsson [EMAIL PROTECTED] wrote: D'oh! That's confusing. Isn't there a class that gathers all of these in one. All of who? It seems confusing, you derive from Persistent but only some are accepted. Does that mean that there's PersistentFloat and PersistentTuple too?

RE: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Shaun Cutts
Well, one could have a base class along the lines of class PersistSetItemOnAttributes: def __setattr__( self, attr, val ): oldSI = val.__class__.__dict__.get( '__setitem__', None ) if oldSI is not None: def newSI( vself, vattr, vval ):

Re: [Zope3-Users] Re: Zope 3 Developer's LiveBook

2006-02-15 Thread Fred Drake
On 2/15/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: I've never tried using OpenOffice and I'm not sure whether its changes would actually leave existing whitespace intact (this would be crucial for decent diffs). I've worked a bit with generating OpenDocument documents for use with

Re: [Zope3-Users] Zope 3 Developer's LiveBook

2006-02-15 Thread Igor Stroh
Igor Stroh wrote: Reinoud van Leeuwen wrote: On Tue, Feb 14, 2006 at 09:15:42PM +0100, Florian Lindner wrote: I also think that pure Latex would be the best choice. It's convertible into a lot different formats and can be edited just using a simple text editor. Isn't Docbook a better

[Zope3-Users] Swiss Easter Sprint - Announcement

2006-02-15 Thread Roger Ineichen
Swiss Easter Sprint Sorry for cross posting, I just will make sure that nobody feels like not invited and has a chance to participate. When The sprint starts on Saturday, April 8, at 9:00am and will end on Wednesday, April 12 in the afternoon. The official welcome activity will be at noon