Kevin,
I hadn't been keeping up with this taglib business, and frankly I think this
might just clinch it.
The idea that I can just give the HTML guys a list of tags and leave the
real coding to a professional :-) ;-) is great!
Thanks Again.
Barry Scott
IJava UK
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Barry Scott <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 11:16 PM
Subject: Re: JSP vs. PHP
> Hi,
>
> I understand now what you mean. I have also heard PHP is great. However,
it
> also depends on two things in my mind. First, JSP CAN be implemented with
> as little as JAVA as possible in it, making it still very simple for HTML
> editors to use with minor markup for the JSP tags. There are also many JSP
> tools on the way including JSP/JavaBean/HTML editors that allow you to
> drag/drop javabeans, set their properties, and add JSP tags to use them on
> the horizon. Two, dont rule out JSP 1.1 and the whole taglib thing. That
> should make life MUCH easier for html developers. By placing ALL of your
> current JSP stuff into a taglib, your web guys merely include a single
> taglib and use the tags. Thus, you can turn something such as:
>
> <%
> if( value == 1 )
> {
> %>
> <h1>THE VALUE IS 1</h1>
> <%
> }
> else
> {
> %>
> <1>THE VALUE IS NOT 1</h1>
> <%
> }
> %>
>
> into something like:
>
> <CheckValue />
>
> The developer (you in this case) has to write the code for the taglib, and
> JSP 1.1 engines will parse your tag, using the taglib included (not sure
> how it works fully yet since we cant use JSP 1.1 at this point), then
> replaces it with the code you have written for that tag. The nice thing
is,
> MOST html editors should have some ability to add custom tags that it
> doesnt flag as being bad, out of order, etc. Thus, your HTML editors will
> no longer require JSP syntax, they merely need to understand the new tags
> you add to it. Your HTML guys then simply use these tags and know what the
> result would be. Thats it.
>
> If you include JSP 1.1 in your mix, I think JSP 1.1 (and servlet 2.2 which
> its based on) is going to be easier than PHP. It allows custom tags while
> maintaing Java code. Personally, I think this will be far easier and
better
> for both parties.
>
>
> Kevin Duffey
> Software Engineer
> [EMAIL PROTECTED]
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html