> --- Walter Jerusalinsky <[EMAIL PROTECTED]> wrote:
> > I Agree with Brian, You can do a good design or a
> > wrong one both using model
> > 1 or model 2
> > Walter
> >
>
> ...except that Brian is arguing the usefulness of
> scriptlets vs. tags, not model 1 vs. model 2.
>
> feeling anal,
> Harris
>
I know that , but Model 1 mostly needs Scriptlets to do anything useful.- If
you don't use them in model 1, you are limited to use the bean's setter and
getter methods effects.- Wich is the HTML like tag to invoke another method?
and excuse my poor English, please
Walter
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages
> > specification and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Brian Burridge
> > > Sent: Thursday, April 22, 1999 9:54 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Why Model 2?
> > >
> > >
> > > In theory I completely agree with you. But, as we
> > all know,
> > > theory often differs
> > > from reality. When I first looked into JSP,
> > recommended it for
> > > our company, and
> > > then brought it onboard after getting the
> > approval, I was leaning
> > > toward the
> > > model you have described. However, in my 5 years
> > of web site
> > > development, I have
> > > never once been in a situation or an organization
> > in which the
> > > HTML designers
> > > were different than the coders. I have always
> > wanted that, but it
> > > just hasn't
> > > been practical. At present, we use nothing but
> > scriplets. We do
> > > have a database
> > > been, with set and get methods, and we use session
> > beans. We are
> > > also developing
> > > a few packages with some common methods, but in
> > general, the
> > > processing that
> > > happens in each individual page, is unique to that
> > page and
> > > doesn't need to be
> > > used anywhere else. Therefore, when I want to
> > modify the logic,
> > > it is far easier
> > > and faster (which is what it is all about in all
> > the environments
> > > I've worked
> > > in), to simply load the one jsp page that contains
> > both the markup and the
> > > logic. I can make all the changes in one location,
> > republish, and
> > > the server
> > > does the rest (compiling, etc). We also try to
> > build most of the
> > > business rules
> > > into the database, with triggers, etc.
> > >
> > > Now, as I said before, I am not against the model
> > you described, because I
> > > completely understand the circumstances in which
> > it could be
> > > used. I think the
> > > important thing for everyone to realize, is no
> > model is superior.
> > > They are both
> > > offered because they both have their pros and
> > cons, and you as a
> > > developer, in
> > > your situation, have to determine which is best
> > for you. One of
> > > them may be the
> > > ideal theory, but if that theory results in slower
> > work production yet no
> > > increase in quality or flexibility, then it is a
> > poor theory.
> > >
> > > Brian N. Burridge
> > > Web Specialist
> > > Cox Target Media
> > > http://www.burridge.net/jsp
> > >
> >
> >
> ==================================================================
> =========
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff JSP-INTEREST". For general
> > help, send email to
> > [EMAIL PROTECTED] and include in the body of the
> > message "help".
> >
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".