[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Content Management System sought




> -----Original Message-----
> From: martin f krafft [mailto:madduck@debian.org]
> Sent: Thursday, December 12, 2002 8:59 AM
> To: debian users
> Subject: Re: Content Management System sought
>
>
> also sprach Charlie Reiman <creiman@kefta.com> [2002.12.12.0017 +0100]:
> > Zope does do PHP:
> >
> > http://www.zope.org/Members/hewei/PHParser
>
> cool.
>
> > I haven't used it. I can't imagine why you'd want to support
> PHP in Zope if
> > you are starting from scratch.
>
> because i am only the admin and need to make other people use zope to
> make maintaining our site a cooperative endeavour. and they know HTML
> and PHP, no way to teach them DTML.

True. And most Zopers think DTML is evil as well and folks should be
switching to ZPT. But I understand your need to keep the users happy.

Quick summary of DTML vs. ZPT: DTML is older and looks like PHP or ASP:
magic tags perform text replacements. This has the obvious drawbacks: You
can't use wizzy editors, you can't validate the page, you can't preview it
easily... Enter ZPT. Zope Page Templates address these issues by defining
pages as XML. All macro expansion happens as a result of magic element
attributes. Works great but has new problems: Pages are XML so parsing is
slower, arguably harder to read since there is no visual structure to XML
attributes, and being in XML means you can't apply ZPT to non-XML entities,
such as SQL queries. DTML handles SQL queries just fine.

So there's a bit of a holy war going on. If your users need PHP they might
be happy with Zope's PHP stuff but as the admin, you'll probably need to
learn some DTML to set up support pages.


> > Zope also talks to just about any SQL database you can think of. And
> > provides through the web editing. And more packages than you can
> > shake a whole bushel of sticks at.
>
> where can i find a package repository to browse for cool stuff i might
> (not) need (but want).

http://www.zope.org of course. Click on "Download". Beware of old, crufty
packages though. Stuff often gets released then dropped.

If you want to see an example of a foam padded zope for average janes, visit
freezope.org. They're running a free (yes, free) site that anyone can join
and fiddle around in. They've got it restricted so you can't hang youself
too easily but it should give you an idea of what is possible.



Reply to: