Re: [Zope] Newbee interfaces and implementations

2006-01-19 Thread J Cameron Cooper
Roman Klesel wrote: bruno modulix schrieb: So you recommend that I should just skip them as long as I'm on Zope2? Short answer : yes. Unless you plan to switch to Zope3 really soon, but then, I'd recommand that you skip Zope 2.x !-) No, I'll be with Zope2 for a while. I'm running an Plon

Re: [Zope] Newbee interfaces and implementations

2006-01-19 Thread Roman Klesel
bruno modulix schrieb: >> So you recommend that I should just skip them as long as I'm on Zope2? > > > Short answer : yes. Unless you plan to switch to Zope3 really soon, but > then, I'd recommand that you skip Zope 2.x !-) No, I'll be with Zope2 for a while. I'm running an Plone site too and d

Re: [Zope] Newbee interfaces and implementations

2006-01-18 Thread bruno modulix
Roman Klesel a écrit : bruno desthuilliers schrieb: Looks like you're newbie to OO too !-) A class defines a type. You then need to have an instance of that type (like, say, 42 is an instance of type integer and 'foo' is an instance of type string). Yes, true! :-) !-) > (Interfaces (I

Re: [Zope] Newbee interfaces and implementations

2006-01-18 Thread Roman Klesel
bruno desthuilliers schrieb: > Looks like you're newbie to OO too !-) > > A class defines a type. You then need to have an instance of that type > (like, say, 42 is an instance of type integer and 'foo' is an instance > of type string). > Yes, true! :-) > (Interfaces (I mean, 'explicit' interf

Re: [Zope] Newbee interfaces and implementations

2006-01-18 Thread bruno desthuilliers
Roman Klesel wrote: > Hello, > > I'm in the process of learning to develop fs-zope-products. > > The developers guide recommends to write interfaces and implement them in > classes. Now my question: > > When I have an interface: > > DoThings > > with several methods: > > doThis() > doThat()

[Zope] Newbee interfaces and implementations

2006-01-18 Thread Roman Klesel
Hello, I'm in the process of learning to develop fs-zope-products. The developers guide recommends to write interfaces and implement them in classes. Now my question: When I have an interface: DoThings with several methods: doThis() doThat() doThattoo() ... and I have an implementation: Do