[Zope] ZClasses on top of my Python classes?

Randall Kern randy@teamkern.net
Wed, 15 Nov 2000 18:55:49 -0800


This is a multi-part message in MIME format.

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

I've seen several doc tidbits suggesting one create ZClasses derived =
from their Python classes, sticking all the biz logic in the python =
classes, and the presentation in the ZClasses...

Could someone provide some insight into why this is better than simply =
writing separate python classes for logic and presentation?  (Although I =
have to admit hitting the "Restart Server" button every time I make a =
typo is getting old)

Thanks!
-Randy

------=_NextPart_000_1682_01C04F35.AB3EBB50
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I've seen several doc tidbits =
suggesting one create=20
ZClasses derived from their Python classes, sticking all the biz logic =
in the=20
python classes, and the presentation in the ZClasses...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could someone provide some insight into =
why this is=20
better than simply writing separate python classes for logic and=20
presentation?&nbsp; (Although I have to admit hitting the "Restart =
Server"=20
button every time I make a typo is getting old)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!
<DIV><FONT face=3DArial =
size=3D2>-Randy</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_1682_01C04F35.AB3EBB50--