Date: 2004-11-21T15:35:24
   Editor: DakotaJack <[EMAIL PROTECTED]>
   Wiki: Apache Struts Wiki
   Page: StrutsState
   URL: http://wiki.apache.org/struts/StrutsState

   no comment

New Page:

##language:en
== Struts 2.0 and StrutsJerichoFaces: an addendum to StrutsJericho ==
The MVC pattern in Struts is, we can say, "webMVC" or:

    CONTROLLER ==> VIEW APP (JSP, Velocity) ==> (response) VIEW (request) ==> 
CONTROLLER <==> MODEL <==> MODEL DATA

or, more simply:

    VIEW <==> CONTROLLER <==> MODEL <==> MODEL DATA

One of the difficulties with writing web apps is that the app storage is never 
quite right, i.e. the scopes request, page, session, and application do not fit 
app needs.  What is more, lacking any reasonable facade for these scopes, there 
is a lot of extremely repetitive hard coding relating to them that makes 
taglibs over complicated and workflows rather mysterious.  What is needed, I 
suspect, is a storage unit for app state relating to the view.  Something like: 

     VIEW <==> VIEW DATA (STATE) <==> CONTROLLER <==> MODEL <==> MODEL DATA

Below is a snapshot of what I have in mind.  I have been doing some things like 
this for a while.  If anyone else is interested, I will consider finding a spot 
we can work together on this.

I have also considered creating a !JerichoFaces for the chaining.  But, that is 
later, for now, and much more ambitious!  ;-)

Dakota Jack
== Snapshot ==

[http://131.191.32.112:8080 Snapshot of this Idea]

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

Reply via email to