[Zope] RFC: a simple howto build zclass (catalog aware, nond

bak@nstp.com.my bak@nstp.com.my
Thu, 8 Feb 2001 20:16:10 +0800


On Friday 09 February 2001 06:05, you wrote:
Re: [Zope] RFC: a simple howto build zclass (catalog aware, nond
From: Bak @ kedai <kedai@kedai.com.my>
To: "Hans de Wit" <hw@scp.nl>


>=A0but you withdrew your how-to! Why? it could have helped me a lot.


the howto is still there. =A0i have not taken it down.
http://www.zope.org/Members/kedai/BuildSimpleZClass/index_html
>
>=A0Thinking about it i had one more suggestion and one question.
>=A0Suggestion: There is a lot of rather ugly dtml in it. Not thanks to y=
ou,
>=A0but thanks to dtml. Now that Zope 2.3.0 has python scripts, it could =
look a
>=A0little better in a python script.


i think that would be the second coming. =A0 i still need to understand=20
pythonscript, and play with it a little. =A0also, it would be a little mo=
re=20
involved , i think

>
>=A0Question: How on earth did you discover this kind of magic:
>=A0manage_addProduct['ZCatalog'].manage_addZCatalog('tbCatalog','','crea=
te_def
>ault_catalog_' ,REQUEST)
>=A0Are you following the Zope interface, or did you studie some library =
or
>=A0documentation i don't have. The manage_addProduct i could have invent=
ed
>=A0myself, but the rest?


well, i have a bound ZQR v0.9 by my side, and the source is there.
and it =A0involved a lot of digging/spelunking the mailing list

--=20

http://www.kedai.com.my/kk=20
http://www.kedai.com.my/eZine=20

use Zope?  then you got HOPE!