Just to be sure: in the shortened example how does the view manager pick 
up the correct view handler for the rendering of the response, if the 
request obj, carried through the process is to "abstract from the 
request protocol and format"?
It would generally need to carry the 1 - the abstracted data, 2 - the 
full raw data (get,post,cookies, headers) and 3 - some protocol+format 
info in a somehow standardized way.
If we omit part 3, analysis of part 2 has to be done many times over 
(view manager and router both might need it in picking up the 
appropriate controller/view handler).
If part 3 is only present in a custom subclass of request, ie not 
standardized, we force a set of parser+router+viewmanager to be 
developed in sync every time... Is this the intended behaviour?

Gaetano

> Hello,
>
> James and I (as well as others through meetings), have been working the 
> past days on the MvcTools component and design. The fruits of this 
> labour are now in SVN[1]. We'd like you to ask to look at this and 
> provide feedback.
>
> [1] http://svn.ezcomponents.org/viewvc.cgi/experimental/MvcTools/design/
>
> regards,
> Derick
>   

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to