Hmm ... I though people were mostly commenting on how this doesn't fit well
into an object paradigm.
You should really look at JSP if you want that sort of functionality, or an
XML/XSL(t) type of system for what you are attempting. Maybe reverse your
comments, and see how the JAVA world is approaching that problem (one of
which is JSP) and see what it brings to the table.
Thor HW
-----Original Message-----
From: Luther Andal <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, May 14, 1999 2:01 PM
Subject: Re: Information WebSphere
>All,
>
>I apologize for getting a little puffy it just bothers me in any language
when
>people get defensive about of "their language" without looking at what the
added
>functionality's potential might contibute to the language. Your comment
kind of
>broke the camels back. The rest of the people where bashing perl and perl
>really has nothing to do with the comment that I made it just happened to
have
>the functionality in it. Take perl out of the equation. Tell me which is
more
>affective.
>
>Java's Way currently
>
>println("<HTML");
>println("<BODY>");
>println("</BODY>");
>println("</HTML>");
>
>or
>
>println("<HTML>\n<BODY>\n</BODY>\n</HTML>");
>
>An example of what I am talking about, though it may have to be some other
type
>of syntax to work. I don't currently know exactly how it would work but
that is
>why I put the idea forth. To everyone to think about a way to build a
class
>with a method that could implement the idea.
>
>printBlock(
>
><HTML>
><BODY>
></BODY>
></HTML>
>
>);
>
>Of course an HTML page would contain a lot more lines of HTML but this
gives an
>idea of what I am talking about
>
>
>if you had to edit the HTML which one would you prefer? If you had to
generate
>a bunch of HTML say to layout a table for a report which method would you
>prefer. Say the table needed four nested tables to get the look you wanted
and
>when you finished the result of the HTML was that nothing showed up in the
>browser because you forgot a closing </TD> tag. Which would be easier to
debug?
>The last implementation is much cleaner and a non-Java programmer could
change
>the HTML in a pinch if necessary. This is what Web Application Developers
using
>Servlets face every day. Taking table data and generating an HTML GUI from
it
>for example. This is what I am saying not that perl is better or that Java
>sucks but that I would like to have this functionality.
>
>Thanks for your comments and again. Sorry for any negative response I was
>frustrated that people where missing the point and arguing about Perl and
Java,
>not the functionality
>
>Luther Andal
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html