Hi,

The problem with too many tags is one of maintenance.  Each tag you write becomes part 
of your bespoke project 'language'.  With large groups producing many tens or hundreds 
of tags it can become a nightmare for new staff.   Far better to stick to the core 
tags, and struggle not to add many new ones of your own.  Think of it another way, 
each tag is exactly like you adding to html for your own project.  Remember the horror 
of IE v's Netscape when html diverged - that is exactly what a project is doing by 
writing their own tags.  New project members will hate it.

BUT, some ten or so custom tags will make your project a joy and there is no downside.

OTOH, if its your project, and you don't have to worry about maintenance (!) then do 
anything you want.

Jonathan


---------------------------------------- Message History 
----------------------------------------


From: "Olivier Dinocourt" <[EMAIL PROTECTED]> on 05/02/2002 11:07 CET

Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject:  Re: RE: [Fwd: Re: Hi....]]


I think he means that you should avoid as much as possible writing code (of
any sort : tags, scriptlets, etc...) in your JSPs, and rather put this code
in your Action classes / business logic classes

----- Original Message -----
From: "Jay Sissom" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 12:29 AM
Subject: Re: RE: [Fwd: Re: Hi....]]


> I don't agree.  If you need to use scriptlets in your JSPs and you use
them
> over and over on many pages, the scriptlet should be a tag.  The tag can
be
> reused on many pages, the scriptlet can't.
>
> Please explain why "This is a bad habit.  Only do it if you must."  Should
> we only re-use code "if we must"?  Is re-use of code a bad habit. :)
>
> Jay
>
>
>
> ----- Original Message -----
> From: "Vic Cekvenich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 30, 2002 2:48 PM
> Subject: [Fwd: RE: [Fwd: Re: Hi....]]
>
>
> > The thing on tags is.... do not use to many tags. Try to avoid writing
> > tags.
> > Somehow, the example app on struts has a custom tag and people like to
> > learn how to write tags, and so there are lots of tags in Struts. This
> > is a bad habit. Only do it if you must.
> > Try to do as little code as possible in presentation/view/jsp.
> >
> > So to me, tags and Struts framework are 2 different things, but bellow
> > is a good book anyway.
> >
> > Vic
> >
> > -------- Original Message --------
> > Subject: RE: [Fwd: Re: Hi....]
> > Date: Wed, 30 Jan 2002 18:49:35 +0100
> > From: "Lacerda, Wellington (AFIS)" <[EMAIL PROTECTED]>
> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Organization: Basebeans.com
> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > Newsgroups: Struts
> >
> > Another book with a lot of information on Struts is JSP and Tag
Libraries
> > for Web Development,
> > available at Amazon and B&N. Check the publisher's page at:
> > http://www.newriders.com/books/title.cfm?isbn=0735710953.
> >
> > It is heavily focused on Tag Libraries and Struts is discussed on the
> light
> > of that.
> >
> > Wellington
> >
> > -----Original Message-----
> > From: Vic Cekvenich [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 30, 2002 6:39 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Fwd: Re: Hi....]
> >
> >
> >
> > Newsgroups: Struts @ news.basebeans.com
> > References: <[EMAIL PROTECTED]>
> >
> > One Struts book at http://www.basebeans.com/book.jsp
> >
> > Amir N. Nashat wrote:
> >
> >   > Hi Chetan,
> >   >
> >   > There are no books available at this time though 2 are currently
> > being written that I know of. However, they will not be available for a
> > while. The best place to start is to go to the website
> > jakarata.apache.org and search under struts. there is A LOT of good
> > information there. Also, another very good site is www.husted.com.
> > Ted(who runs the site) is very knowledgeable in this field and posts to
> > this mailing list very often. Hope that helps.
> >   >
> >   > amir
> >   >
> >   >
> >   >
> >   >
> >   >>>>[EMAIL PROTECTED] 10:38:51 PM 01/29/02 >>>
> >   >>>>
> >   > I'm just a newbie to Struts and find it very interesting, I just
want
> > to ask
> >   > where is it best to start learning struts from... Is there a book
out
> > there
> >   > that I can buy....
> >   > Thankz....
> >   > Chetan
> >   >
> >   > --
> >   > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >   > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >   >
> >   >
> >   >
> >   >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to