Re: Am I the only one who questions JSTL, Struts Tags, XSL Tags?

From: John Harlow (sirsausage_at_hotmail.com)
Date: 10/14/04


Date: Thu, 14 Oct 2004 12:18:55 -0400

Greg Smith wrote:
> in our office i recently vented about the constant reintroduction of
> the IF/WHILE/FOR/FOREACH tags in <c:> and <x:> and other taglibs.
> IMHO, it is a terrible affront to the Java language. We already have
> If/While/For/Foreach in Java, adding it to every taglib dilutes the
> language.
>
> Essentially, a taglib is an extension to HTML. I feel that having
> multiple IF statements weakens the programming environment. Why not
> just use Java's IF. Extending HTML to allow control structures
> attempts to make HTML a programming language - which it is not. It is
> a markup language. And a pretty decent one at that. But HTML does
> not lend itself well to describing programming constructs, in
> particular flow control.
>
> Am I alone in this?

<rant>
I would like to shoot the person who suggested the <input> tag should have
eve been added to HTML. HTML is a great BROWSING format for BROWSERS which
were not designed for INTERACTIVE DATA ENTRY applications.

So now we have silly "rigs" to deal with like tags, cookies and client side
javascript, and ridiculous hoops to jump through because the connectionless
server can't push stuff to the client and caches stuff when we don't want it
to and multiple flavors of browsers etc.
</rant>

For now we're stuck with taglibs or some other directives to have the server
build the HTML. I have devised a MUCH more efficient way of doing things in
my server design, but it still requires some "hints" in the HTML for the
server to dynamically build the HTML.

Someday maybe the IT world will wake up and see how silly it is to force
this HTML round peg into an interactive application square hole.



Relevant Pages

  • Re: A case for HTML as a programming language
    ... > language that can express any finite state machine can express any ... amount of external read/write memory, ... By contrast, a full computer with only HTML as its language, no real ... programming language in addition, and links only to static WebPages (no ...
    (comp.programming)
  • Re: ASP.NET Internationalization bug?
    ... It's still a bug. ... My use of language and culture in ASP.Net is a bit different than most. ... HTML Content ... ASP.NET Web Server Controls Overview ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Am I the only one who questions JSTL, Struts Tags, XSL Tags?
    ... it is a terrible affront to the Java language. ... a taglib is an extension to HTML. ... > attempts to make HTML a programming language - which it is not. ...
    (comp.lang.java.programmer)
  • Re: E. W. Dijkstra VS. John McCarthy. A rebuttal to Paul Grahams web writings.
    ... > If you don't see html as a programming language you could run into ... > some definition problems of what a programming language should be. ... and the CGI script would examine the encoded-form-contents (via the GET ...
    (comp.lang.lisp)
  • Re: ASP.NET Internationalization bug?
    ... My use of language and culture in ASP.Net is a bit different than most. ... Specifying Language in XHTML & HTML ... ASP.NET Web Server Controls Overview ... declarative attributes should render to the browser after I add ...
    (microsoft.public.dotnet.framework.aspnet)