RE: [Zope] The Honest Scoop on Zope
From: John Goerzen [mailto:jgoerzen@complete.org]
Well, I've been working with it for some time and am still confused as to how to do simple things like set variables properly, cast data types (ie, string to a date, etc.), and why variables sometimes disappear. Also the syntax is a little strange (I can't figure out how to embed a quation mark inside a string passed to a function in dtml-call), so the learning curve is not exactly great, but otherwise, I really like it. The documentation is rather sparse, which hurts more than it otherwise would. Perhaps if I knew Python, it would be a bit better?
The Python tutorial may help with things like embedding quotes and "casting" (Python is dynamically typed: casting is a foreign concept). http://www.python.org/doc setting variables in Zope more like lisp than python or perl quickly: <dtml-let var1=expr1 var2=expr2> <dtml-var var1 fmt="date" ...> <dtml-var var2 ...> </dtml-let> or <dtml-with some-complicated-expression> use the generated namespace </dtml-with> I have found http://www.zope.org:18200/Members/Cyberrunner/QuickReference to be invaluable.
Terrel Shumway wrote:
<snip>
setting variables in Zope more like lisp than python or perl
quickly:
<dtml-let var1=expr1 var2=expr2> <dtml-var var1 fmt="date" ...> <dtml-var var2 ...> </dtml-let>
or <dtml-with some-complicated-expression> use the generated namespace </dtml-with>
I have found http://www.zope.org:18200/Members/Cyberrunner/QuickReference to be invaluable.
You beat us to the announcement of the Quick Reference on the Zope list. ;) An updated version with the latest additions (we are still working on a few things), along with a few different views and styles, mostly done by Stephan, is at: http://www.zope.org:18200/Members/ZQR/ I'm looking for feedback on missing tags, sections, etc. Please use the ZDP mailing list ZDP@zope.org for this, it seems quite enough for this type of use?. I'm also looking for people to start collecting some good quick examples of tags like the one above, we'll have method to get these, within a week or so, and submit them to be included as show-able examples... Zope is getting new users all the time and some of these examples would really help them out, keep my email box a little smaller, too :) TIA, David
<snip>
participants (2)
-
David Kankiewicz -
Terrel Shumway