think about integrating knockout.js in mvc
knockout.js really does a lot about having a viewmodel on the client-side and being able to react to events or methods fired by changed data or calls from html control events.
I'm not quite sure how this would be best to integrate with MVC, but it would be worth a look if you try to incorporate more ajax like behaviour of webpages without the traditional get/post pattern.
We actually already include knockout.js today in our MVC templates, so it’s there and ready to use. We are also shipping a new SPA template with the ASP.NET and Web Tools 2012.2 update that shows how to use knockout.js with MVC. You can check it out at http://www.asp.net/vnext.
2 comments
-
ShadowChaser
commented
Downvote. MVC is all about putting the developer in control - the last thing I want is a forced dependency on another library I don't use.
The request is also ambiguous - what are the benefits of requiring it or integrating it? You're free to use it in your projects already.
-
Andreas Kroll
commented
Please look at knockout.js