Quoting Robb Shecter ([EMAIL PROTECTED]):

> I got into it because I needed a db solution for a bunch of servlets.  I was
> also nearly finished with a servlet framework that gives me model-view
> separation via WebMacro, and authentication, etc.  However, now I see that Zope
> has all of this built-in, and I can concentrate on the task at hand.  Or at
> least, that's the idea.  I'm just getting started, and in the process of
> converting a partly-dynamic servlet-driven website to Zope for kicks.  (
> http://www.rule-of-eight.com/ )

<bias>I wrote WebMacro</bias>

It's interesting that you were using WebMacro and then switched to Zope.
WebMacro offers only a part of what Zope does, and corresponds to the
template system in Zope. I have always thought that it would be great
if someone would work on a Zope-like project for Java servlets adding
the rest of the Zope-style back end stuff. I think WebMacro would be an
important part of such a project.

The only downside to Zope in my mind is that it's written in Python and
you have to implement mostly in Python (or at least it's faster and easier
if you do that.. I know about JPython, etc.) Many of you are going to
flame me immediately, but please take the time to remember this is a
Java list before going on a rampage--I wouldn't post that on a Python
list, I'd figure everyone there wanted to use Python.

Anyway...

To make this clearer to people unfamiliar with Zope and/or WebMacro: WM
is a template system that can beused within a servlet to render a
page view. It does this by analyzing the objects that you drop into
the page, starting with a root level "context" object that is supplied
to the template by the servlet.

Zope is an object publishing engine which views every request as an
invocation of some method on some object, and typically generates the
HTML it sends back to you by using a template system that exposes the
properties of that object to the page designer.

It's not quite as simple as that on the Zope side, actually, but that
idea is definately there.

I would have built a full fledged Zope style system under WM but I am
only one person :-) That's a challenge to anyone reading this who thinks
that Zope style stuff is cool and would like to be able to do the same
with servlets.

Justin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to