Jon Stevens wrote:
> 
> on 4/5/01 7:34 AM, "Paulo Gaspar" <[EMAIL PROTECTED]> wrote:
> 
> > 1- I am a bit skeptic about pure pull;
> 
> Why?
> 

In some ways, it breaks MVC.  With a broad brush :

For example, the canonical Model 1 JSP example seems to be
authentication - in a Model 1 JSP app, each page has to do the same
authentication work.  Error prone and brittle.

With pull, if you are going to just dump the kitchen sink into the
context, then each piece has to deal with the same problem.

With non-pull, the Controller in conjunction with the model can make
decisions about what goes into the context.  Sure, some parts would
still be user sensitive, but you can head of a lot of it at the top, and
localize, rather than spread across all things put into the context.

geir

-- 
Geir Magnusson Jr.                               [EMAIL PROTECTED]
Developing for the web?  See http://jakarta.apache.org/velocity/

Reply via email to