Chapter 14. Ajax and Client Scripting
ASP.NET MVC is first and foremost a server-side technology. It's an extremely flexible framework for handling HTTP requests and generating HTML responses. But HTML alone is static—it only updates each time the browser loads a new page—so by itself it can't deliver a rich interactive user experience. To manipulate the HTML document object model (DOM) directly in the browser, or to break free of the traditional full-page request-response cycle, you need some kind of programming technology that runs inside the browser (i.e., on the client side).
There's never been a shortage of client-side technologies. For example, we've had JavaScript, Flash, Flex, Air, VBScript, ActiveX, Java applets, HTC files, XUL, and of ...
Get Pro ASP.NET MVC 2 Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.