Click here to Skip to main content
15,885,188 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

We are going to develop an application with MVVM framework by using WEb API as services.
In all the layers (View, model and modelView) we are going to use java script.

i.e. For calling data from web api service and to populate data in html page or firing for validations we are using only javascript.

Our intention is to improve the performance of an application and to support Single Page Web application.

Please, can any one provide your thoughts on my approach and please suggest the best ways to do it.

Note: Also using KendoUI controls.
Posted

It depends on what you'd like to acheieve using the single page application. For example, if you'd like a single page application with multiple views and real-time data binding, I highly recommend the Angular framework as it supports the full MVC framework and more.

If you only need data-binding to dynamically update data, Angular would still support that, but I recommend Knockout as it is simpler to learn.

If the SPA does not need any of these features and only need validation and time/event driven UI updates, you can acheive that using jQuery and ajax.
 
Share this answer
 
Please refer the link for understanding why MVVM could be good for web applications?http://devproconnections.com/net-framework/mvvm-dot-net-web-application-development#comment-11761[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900