I mean ASP.NET MVC doesn't out of the box I mean. On Mon, Jan 31, 2011 at 4:32 PM, Glenn Block <[email protected]> wrote:
> OK, I'll weigh in on a few things. > > MVC as a pattern can definitely map to REST. OpenRasta for example is an > MVC framework and I challenge you to argue it's not RESTful. > > However, the idea of separating out HTTP specific concerns like for > handling ETAGs, multiple representations via conneg, hypermedia is not > something that MVC provides anything for out of the box. Yes you can do it, > but you have to write a bunch of code to make it happen. > > With this work we are focused very specifically on HTTP, nothing more and > nothing less. That means capabilities like conneg, caching / etags, OAuth > etc are getting prime attention and will be very easy to do. This also spans > to the client, as we are providing a consistent story both for managed > applications on the client and on the server. > > Glenn > > On Mon, Jan 31, 2011 at 4:18 PM, Ryan Riley <[email protected] > > wrote: > >> On Mon, Jan 31, 2011 at 1:32 PM, Erick Thompson < >> [email protected]> wrote: >> >>> What hacks do you see as needed for implementing REST via MVC? >>> >> >> How do you you manage conneg? What about ETags, Last-Modified or >> If-Modified-Since headers? You can do these things, but they don't generally >> fit as neatly into MVC. Where do you do them? Is it in the Model or >> Controller (or View)? Finally, where's the hypermedia constraint? This last >> point is entirely missing. Yes, you can roll your own, but it isn't >> available in the box. I'd consider that a "hack" for REST support. >> >> Cheers, >> Ryan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Seattle area Alt.Net" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<altnetseattle%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/altnetseattle?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Seattle area Alt.Net" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/altnetseattle?hl=en.
