[Twisted-web] Re: maxlength input with formless

Alex Levy mesozoic at polynode.com
Thu Dec 9 07:40:26 MST 2004

On 12/8/2004, "Andrea Arcangeli" <andrea at cpushare.com> wrote:

>1) I believe there's a limitation in the stan module that prevents to
>introduce conditionals inside the stan source. For example I would
>really like to write:
>	input(...,
>	if maxlenth>= 0:
>		maxlength=maxlength,
>	...)

That is invalid Python; it has nothing to do with the Stan module, and
everything to do with the programming language we're using.

Besides, I think most people here can agree that it's dangerous to allow
people to mesh logic and presentation the way you can in languages like
PHP or JSP; it results in badly-designed web applications, and it isn't
quite the itch that Nevow was designed to scratch.

Alex Levy
WWW: http://mesozoic.geecs.org

"Never let your sense of morals prevent you from doing what is right."
 -- Salvor Hardin, Isaac Asimov's _Foundation_

More information about the Twisted-web mailing list