This question is locked. New answers and comments are not allowed.
Hi forum members,
First of all I hope I am in the right area of the forums for this.
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.
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.