Thomas Adams wrote:
> Hi all,
> I'm a newbie to Zope, using version 2.7.3 (okay it is not the newest one)
> and I want to know if there is something
> like a MVC approach available for Zope, i.e. Model-View-Controller
> approach, as it is for instance in Java with the Struts framework from
> P.S: I don't know Zope 3 (Is that apossible answer of my questions?)
Yes, Zope 3 has a MVC-like architecture. We call it the Component
Architecture. It lets you separate responsibilities into different
components (objects), e.g. content objects (they can be persistent, for
example, or come from an RDBMS), views (e.g. browser views that produce
HTML), adapters (enhance components with functionality), and utilities.
For a structured introduction, see
http://dev.zope.org/Zope3/ProgrammerTutorial or http://worldcookery.com.
It is also possible to use Zope 3 style components in Zope 2 already, by
using the Five product: http://codespeak.net/z3/five/. However, if you
don't have any Zope 2 legacy, I can only recommend you start with Zope 3
from the beginning.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -