MVC 3 and Javascript-Disabled

I have a requirement to implement a web application using MVC 3, which works in browsers even if javascript is disabled. There are many concepts in MVC 3 that rely on the use of jquery.

  • What are the concepts that won't work with browsers with javascript disabled?
  • For those concepts that won't work, are there alternative ways to implement these concepts in MVC 3?
  • With these requirements, is it recommended to implement such a website using MVC 3, or should it be implemented in asp.net (on each side on the server side)?
+4
source share
2 answers

MVC 3 does not depend on jQuery working properly

The beauty of MVC 3 is that it is pre-packaged in a jQuery plugin that provides unobtrusive form validation. Unobtrusive means it will work even if Javascript is disabled. MVC 3 does NOT require jQuery or Javascript to work as intended.

Take a moment to read this blog post. The author does a good job explaining how MVC 3 and jQuery work together.

http://www.matthidinger.com/archive/2011/02/22/Progressive-enhancement-tutorial-with-ASP-NET-MVC-3-and-jQuery.aspx

+11
source

MVC is very well tuned to perform "progressive improvement", namely, to make the application work first, using only the server one, and then improving the work using javascript. I cannot imagine anything in MVC (3 or otherwise), which essentially requires javascript, of course, no more than ASP.NET WebForms. And control over all aspects of your application is much more than in WebForms (at least by default, I’m sure that you can do whatever you want in WebForms if you work a lot on it).

+4
source

All Articles