Timothy Appnel wrote:
> On 1/2/07, Jaldhar H. Vyas <[EMAIL PROTECTED]> wrote:
> 
>> That's the Representation part of it.  The idea is you can select
>> different views (in MVC talk) based on the MIME type the client prefers.
> 
> I'm not sure this part belongs in dispath really. I think its
> reasonable to assume that the data lookup etc of a runmode like
> people_GET would be about the same regardless of the format. To me
> this something done at the end of a runmode or as an overloaded
> load_tmpl. You may have multiple MIMEs going to the same runmode. For
> instance you may be producing Atom output, but if someone requested
> text/xml you'd return Atom anyway since its a form of XML. Conversely
> you may be using XSLT which converts a generic XML representation into
> a number of XML formats based on the conneg. I could also see
> restricting certain formats based on permissions. You could define it
> in the dispatcher, but you'd have to implement the
> validation/authention for that in the application object. (This is why
> I like the _HTTPMETHOD notation defining which methods are supported
> are in one place -- the application module.)

I agree. This is just a decision on which presentation layer to use, not which
module and run mode to use. I still don't using mixED CAse run mode names, but
that's something that can be configured.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to