#373: Remodel execution flow
---------------------+------------------------------------------------------
 Reporter:  david    |        Owner:  david
     Type:  task     |       Status:  new  
 Priority:  high     |    Milestone:  0.11 
Component:  _OTHER_  |      Version:       
 Severity:  blocker  |   Resolution:       
 Keywords:           |  
---------------------+------------------------------------------------------
Old description:

> * R.I.P. ActionStack
>  * ExecutionContainer contains info about action, instances, parameters,
> response etc (pretty much identical to the current ActionStackEntry)
>  * Controller::forward() gets a container instance (ctor gets module
> name, action name, params; instance is fetched in initialize)
>  * filter chains, filters, actions, views get this container (instead of
> the context)
>  * this should allow decorators inside slots
>  * if all goes well, we can move decorating out of the renderer back into
> the view, thus allowing users to do things their way (e.g. use old-style
> action chaining)
>  * TBD: how do we forward()

New description:

 * R.I.P. ActionStack
  * ExecutionContainer contains info about action, instances, parameters,
 response etc (pretty much identical to the current ActionStackEntry)
  * Controller::forward() expects a container instance as first argument
  * container ctor gets module name, action name, params; action instance
 is created in initialize()
  * forward() calls return a response?
  * filter chains, filters, actions, views get this container (instead of
 the context)
  * this should allow decorators inside slots
  * if all goes well, we can move decorating out of the renderer back into
 the view, thus allowing users to do things their way (e.g. use old-style
 action chaining)
  * TBD: how do we forward()

-- 
Ticket URL: <http://trac.agavi.org/ticket/373#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5

_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to