At 10:42 AM 10/23/00 -0700, Sam Penrose wrote:
>My response was a bit of a knee-jerk and was premised on exactly the
>programmer-vs-HTML split you mention. I do see how embedded Python
>could fwork very well for some people. I also think there is real value
>to sticking with existing Python syntax as much as possible--after all,
>it's what we know. Aside from the learning curve, I also think there are
>real costs to adding more "magic characters", such as the
>shell/Perl style $ in your example below (though at least you
>borrow rather than inventing). Between HTML, Python, SQL, and JavaScript
>(a de facto part of the job for many of us) there are already too many.
Yes. I did forget to note in the last message that most of my example
syntax is actually right in line with HTML. And as you pointed out, I
borrowed the $.
HTMLers (whether designers or programmers at heart) are already familiar
with it save for the $.
Too bad HTML doesn't specify a standard <var NAME ARGS> tag for use by the
server. (And a different extension to know when to bother looking for this.
I guess this is a form of SSI.)
BTW another purpose of this list is polling on designs. Do people prefer:
<var name maxLen=40>
or:
<$name maxLen=40>
or something else?
For simple responses, you can e-mail me direct at echuck@... and
I'll post the results to our suddenly active list.
-Chuck
|