简体   繁体   中英

ASP.net MVC or Knockout.JS

this may be a newbie question. I originally wrote a prototype in MVVM and WPF. The client wants to use MVC and jQuery. Not an issue. I wrote a lot of business logic in the VIEWMODEL.

If I use knockout.js is it just a matter of using the javascript library and creating new bindings?

Any advice would be helpful.

Both are completely different technologies for different purposes. Knockout.JS is a powerful client side scripting with the usage of mvvm patter, while MVC is a architectural pattern to build real stateless web applications with capabilities to tune up as needed.

There might be a misconception that MVC pattern works only in ASP.NET MVC framework. Other web programming languages also use it or have potential to implement this pattern. However, in .NET it has some extra really powerful extensions and an active community to learn it quick and practice fearlessly.

Why not use both? I'm using knockout and mvvm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM