On Thu, 26 Jun 2008, Gaetano Giunta wrote:

> 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?

Actually, when you mention under nr 3 - is actually going to be part of 
1 - the abstracted data. Unless I got confused. Do you have an example 
of data that you expected to see in 3?

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

Reply via email to