(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .

MVVM on MVC: HTML is not XAML

(0 votes)
0 comments   /   posted by Silverlight Show on Jan 26, 2012
Tags:   html5 , javascript , mvc , mvvm , jeremy-likness

Read original post by Jeremy Likness at C#er : IMage

I have to admit that I may have rolled my eyes a bit when I first learned about the KnockoutJS library. It sounded too much like forcing a square peg into a round hole. Isn’t Model-View-Controller (MVC) already it’s own pattern? Does it make sense to apply something like Model-View-ViewModel (MVVM) to HTML? I already had enough issues dealing with MVVM on the platform it was designed for, XAML and C# (WPF and Silverlight). Some people simply didn’t get the pattern, others were pushing it without really understanding its benefits, and many applications completely and unnecessarily overcomplicated their implementation of the pattern. So before we talk about whether it makes sense in HTML-based applications, we first need to agree on what the benefits of the pattern are.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter