[Tutor] Re: Impact of OO

Charlie Clark charlie@begeistert.org
Tue, 09 Apr 2002 21:35:37 +0200


On 2002-04-09 at 18:00:09 [+0200], tutor-request@python.org wrote:
> Enterprise Java Beans are a different beast altogether.  Again, they are 
> classes that follow some conventions, but they are to be used in a J2EE 
> container.  They are a java-specific distributed object system. If you 
> think you want to use an EJB or servlet, try Zope instead.  I recently 
> had a use for Zope, so I sat down and read the tutorial.  It is really 
> quite easy to use, once you can wrap your head around the overall 
> architecture.

Have to agree here. Zope's interface makes OO so transparent that you don't notice you're dealing with it: the website structure looks like a hierarchical folder structure and works just like one. Headers and footers get inherited by sub-folders unless you (over)write new ones. But this applies to all kinds of objects. I had a big wow experience the other week when I realised that 20 sub-folders doing the same thing with different parameters all had access via inheritance to the method I wanted and the parameter was just a "property" of the sub-folders. Very clean. This is the way to do web development. Zope isn't perfect but it is inspiring and that's more than I can say for most comparable systems I've seen.

Charlie