[Zope] zope on win 2k

Mail System Administrator mailhost@cdc.edu
Sat, 13 Jul 2002 18:26:03 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0037_01C22A9A.BF1BDE40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey David - welcome to the 'Hello World' of Zope!
Before you get blasted by the regulars, be sure you turn off HTML before =
you post again to the mailing groups - In order to allow Zope code to be =
included in notes and display correctly without being rendered, the =
newsgroup intentionally does NOT render HTML and instead displays your =
note buried in a pile of html tags and mime boundaries!

As best I can tell, since Python is such a base layer language, every =
version called 'windows' runs on W95 - XP and everything in between.  =
The windows binaries all have win32 in their titles to distinguish them =
from the linux and unix variations

The Zope 2.5.1 install will automatically install Python 2.1.3.  It =
works "out of the box", slick as anything.  Your learning curve will be =
the challenge because there are three general styles of interfacing. =20

The only thing missing in this setup is the Python Imaging Library, =
a/k/a PIL.  You will need it only if you go into image manipulation like =
server-size resizing on the fly.  You will know when you add products =
and they say that they need PIL installed.

I suggest you search for and download the 'Zope Shelf' - it is a cool =
collection of the relevant documentation.  The best starting place is =
the on-line tutorial and the Zope Book.  A word of warning - Zope, in =
its evolution, has two major alternative ways of doing things.  They are =
very different and can confuse the novice. =20

The older means is through 'dtml' which takes a lego building block =
approach to plugging in to site features.  Its great for reusability.  =
It doesn't play well with html designers in that it is a one-way street. =
 Once you convert a page design into dtml components, you cannot go back =
and use dreamweaver or go-live as effectively to fine tune the page.

The newer means is by ZPT or Zope page templates.  It is less intuitive =
to read but it plays really well with html designers.  In general you =
use a designer to lay out a 'pro forma' page and then use ZPT to make =
the page dynamic by substituting images, text, etc for the pro-forma =
tags as it is rendered.  A product like WebDrive lets you treat the Zope =
database as just another hard drive so your editor thinks it is working =
on files in the local filesystem.

I point this out because the Zope Book alternates between them as you go =
from basic to advanced chapters.  If you know that ZPT is right for you =
because it separates the content design from the presentation logic and =
allows specialists to do each, don't confuse yourself by spending too =
much time with the dtml approach.  Eventually you will want to know both =
(and Python for the real programmatic work), but try to focus on one or =
the other approaches and stick to it until the phlosophical approach =
settles in and becomes intuitive and the syntax is comfortable.  My =
early hours of frustration came primarily from confusing the two syntax =
and function/method names because I didn't know to treat methods and =
templates as pretty much mutually-exclusive was of approaching a =
complete solution.  While one can implement the other, blended solutions =
get messy.

Good luck!
Gary

------=_NextPart_000_0037_01C22A9A.BF1BDE40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hey David - welcome to the 'Hello =
World' of=20
Zope!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Before you get blasted by the regulars, =
be sure you=20
turn off HTML before you post again to the mailing groups - In order to =
allow=20
Zope code to be included in notes and display correctly without being =
rendered,=20
the newsgroup intentionally does NOT render HTML and instead displays =
your note=20
buried in a pile of html tags and mime boundaries!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As best I can tell, since Python is =
such a base=20
layer language, every version called 'windows' runs on W95 - XP and =
everything=20
in between.&nbsp; The windows binaries all have win32 in their titles to =

distinguish them from the linux and unix variations</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The Zope 2.5.1 install will =
automatically install=20
Python 2.1.3.&nbsp; It works "out of the box", slick as anything.&nbsp; =
Your=20
learning curve will be the challenge because there are three general =
styles of=20
interfacing.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The only thing missing in this setup is =
the Python=20
Imaging Library, a/k/a PIL.&nbsp; You will need it only if you go into =
image=20
manipulation like server-size resizing on the fly.&nbsp; You will know =
when you=20
add products and they say that they need PIL installed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I suggest you search for and download =
the 'Zope=20
Shelf' - it is a cool collection of the relevant documentation.&nbsp; =
The best=20
starting place is the on-line tutorial and the Zope Book.&nbsp; A word =
of=20
warning - Zope, in its evolution, has&nbsp;two major&nbsp;alternative =
ways of=20
doing things.&nbsp; They are very different and can confuse the =
novice.&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The older means is through 'dtml' which =
takes a=20
lego building block approach to plugging in to site features.&nbsp; Its =
great=20
for reusability.&nbsp; It doesn't play well with html designers in that =
it is a=20
one-way street.&nbsp; Once you convert a page design into dtml =
components, you=20
cannot go back and use dreamweaver or go-live as effectively to fine =
tune the=20
page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The newer means is by ZPT or Zope page=20
templates.&nbsp; It is less intuitive to read but it plays really well =
with html=20
designers.&nbsp; In general you use a designer to lay out a 'pro forma' =
page and=20
then use ZPT to make the page dynamic by substituting images, text, etc =
for=20
the&nbsp;pro-forma tags as it is rendered.&nbsp; A product like WebDrive =
lets=20
you treat the Zope database as just another hard drive so your editor =
thinks it=20
is working on files in the local filesystem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I point this out because the Zope Book =
alternates=20
between them as you go from basic to advanced chapters.&nbsp; If you =
know that=20
ZPT is right for you because it separates the content design from the=20
presentation logic and allows specialists to do each, don't confuse =
yourself by=20
spending too much time with the dtml approach.&nbsp; Eventually you will =
want to=20
know both (and Python for the real programmatic work), but try to focus =
on one=20
or the other approaches and stick to it until the phlosophical approach =
settles=20
in and becomes intuitive and the syntax is comfortable.&nbsp; My early =
hours of=20
frustration came primarily from confusing the two syntax and =
function/method=20
names because I didn't know to treat methods and templates as pretty =
much=20
mutually-exclusive was of approaching a complete solution.&nbsp; While =
one can=20
implement the other, blended solutions get messy.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Good luck!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Gary</FONT></DIV></BODY></HTML>

------=_NextPart_000_0037_01C22A9A.BF1BDE40--