Re: [Zope] why DTML confusing

2000-11-12 Thread Curtis Maloney
On Sat, 11 Nov 2000, Andy McKay wrote: It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. I agree, changing the "-" to "_" would remove a whole ton of posts

Re: [Zope] why DTML confusing

2000-11-11 Thread Rik Hoekstra
- Original Message - From: Simon Michael [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 11, 2000 12:59 AM Subject: Re: [Zope] why DTML confusing Charlie Wilkinson [EMAIL PROTECTED] writes: ...or "the python world with some Zope limitations p

Re: [Zope] why DTML confusing

2000-11-10 Thread peter bengtson
It's a give-and-take I think. I had the same confusion as you have right now, but after a while you learn this syntax pretty well. This is the same as with all syntax, and as soon as you have learned the basics the rest is easy and from then on a matter of learning how to use extensive functions

Re: [Zope] why DTML confusing

2000-11-10 Thread Simon Michael
Irene Barg [EMAIL PROTECTED] writes: 1. You can print the values of sequence-items with: (index=dtml-var sequence-index, number=dtml-var sequence-number, item=dtml-var sequence-item) 2. To test for equality, this does not: dtml-if "sequence-index == 0"

Re: [Zope] why DTML confusing

2000-11-10 Thread The Doctor What
* peter bengtson ([EMAIL PROTECTED]) [001110 10:40]: It's a give-and-take I think. I had the same confusion as you have right now, but after a while you learn this syntax pretty well. This is the same as with all syntax, and as soon as you have learned the basics the rest is easy and from

RE: [Zope] why DTML confusing

2000-11-10 Thread Steve Drees
It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. Agreed. But DC always raises objections when this is brought up.

Re: [Zope] why DTML confusing

2000-11-10 Thread Andy McKay
It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. I agree, changing the "-" to "_" would remove a whole ton of posts on this list and mean I could chop a

RE: [Zope] why DTML confusing

2000-11-10 Thread Max M
From: Andy McKay It might be that fixing one or both of the above would reduce the DTML pain factor quite a bit. Certainly, it's time to do whatever it takes to banish these "-"-named variables, IMHO. I agree, changing the "-" to "_" would remove a whole ton of posts on this list and mean I

Re: [Zope] why DTML confusing

2000-11-10 Thread Morten W. Petersen
[Max M.] | For once I will send a "me too" to the list. "sequence-item" is a simple and | plain design error. Decapricate it and and let us use "sequence_item" etc. | together with the other for a while and then drop the old form. I'd like to join this mob. ;) It's painful and ugly to use

Re: [Zope] why DTML confusing

2000-11-10 Thread Charlie Wilkinson
First Simon, thanks for your message. Yours is one of the most articulate explanations I've seen on this topic. Simon Michael [EMAIL PROTECTED] writes: Irene Barg [EMAIL PROTECTED] writes: [examples of DMTL confusion...] It is confusing. There are two systems of syntax in use here - DTML's

Re: [Zope] why DTML confusing

2000-11-10 Thread Simon Michael
Charlie Wilkinson [EMAIL PROTECTED] writes: ...or "the python world with some Zope limitations placed on it." ... There's a third world of course, HTML. Most of us probably have that True, true. Actually this sounds like a good structure for a overview doc: "Welcome to Zope.. in which we