This is a migrated thread and some comments may be shown as answers.

[Solved] MVC / MVVM - Understanding Kendo from a WPF background

0 Answers 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stewart
Top achievements
Rank 1
Stewart asked on 05 Jun 2013, 10:04 AM
Hi forum members,

First of all I hope I am in the right area of the forums for this. 

  • I have a question regarding the MVVM / MVC architectures available to web programming. 
  •  My background is a WPF developer moving in to the web space and am at the beginning stages of deciding which pattern to use for web development on a project. 
  •  I have taken a look at Kendo MVVM  and have a question on its usage within an MVC project.

The Question

If I have an MVC project and then want to use MVVM (using Kendo), do I have to sacrifice my MVC approach?
e.g. do I need to remove the dependency of the Controller part of the pattern?

When I look at the code samples on this site regarding Kendo MVVM, it seems that the ViewModel is in the Javascript code.
Reference: http://docs.kendoui.com/tutorials/mvvm-in-kendo-ui

So I am trying to get my head around how the controller and ViewModel (Kendo MVVM) will interact? How there behaviour will be for event routing (binding) and so forth?

One theory I have is that the MVC aspect will be unchanged because the ViewModel sits in the client side code and the controller is only retrieving the values and doesn't know about the ViewModel, but I cannot be certain of this.

Thank you for your time reading this.


Tags
General Discussions
Asked by
Stewart
Top achievements
Rank 1
Share this question
or