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
- 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
Hello All,
I do read HOW-TO's, User-Guides, etc., but I think DTML
must be made simpler, or better documentation, or more examples.
As an example, within an dtml-in loop:
1. You can print the values of sequence-items with:
(index=dtml-var sequence-index,
number=dtml-var
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
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"
* 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
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.
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
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
[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
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
Irene says:
I get so frustrated with DTML, I want to scream.
Please don't tell me to buy the Zope book,
DTML should be more intuitive.
DTML maybe the heart of Zope,
but it's also it's achilles heel.
You're right about the confusion, frustration, nor are you alone.
Still, DTML isn't
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
13 matches
Mail list logo