Learn More





DNN Community Blog

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.

JavaScript MVC 1.2 - Why AngularJS beats the **** out of knockoutJS

This is part 2 of my short series about JavaScript MVC Frameworks. It will explain why of all the existing frameworks, you should really focus on AngularJS.

Choosing the right JS MVC Framework

If you're just starting with JavaScript MVC-Frameworks you'll feel the need to use "the right tool" so that the time use is well invested. This post should help you choose AngularJS - and only AngularJS - and feel good about it.

The Really Relevant Criteria

Let's skip the religious parts of the discussion for now and decide what should determine the ideal solution:

  1. We want a solution that's simple enough to start with
  2. …but that still works when things get complex as the customers wishes accumulate
  3. We want a solution that has wide adoption - thereby ensuring thousands of examples and answers online, and ensuring that we'll find employees and consultants that can help us when we need help
  4. We want a solution that will still exist and be popular and updated - in five years' time
  5. We want a solution that is so widespread, that many helpers/plugins exist
  6. …ideally it would be something of an industry standard
  7. …and work well with other industry standards like jQuery etc.
  8. …and has reached the critical mass of followers that is hard to beat

Some not so important criteria

  1. Microsoft promoted it for a while, so it must be good
  2. It support IE6
  3. I know a guy that likes it
  4. I once heard that Google is as evil as Microsoft…
  5. I like the syntax of something
  6. It supports feature x a bit better than the other one

What are the Options?

Basically, there are more than 25 JavaScript MVC frameworks. The most popular by far is AngularJS, with emberJS and a few others still developing strongly. The most popular in the Microsoft universe of communication is knockoutJS. We'll focus on these two, and I'll tell you more about it later.

Let's look at the score




Simple to start with



Scales to complex solutions

No (see note)


Wide adoption

MS only





General Interest, searches in Google (to predict 5 years)



Very widespread, lots of 3rd-party plugins



Almost an industry standard



Well integrated with other standards



Critical mass



In case you have some doubts about my answers above, here an additional note: knockoutJS is basically just a templating engine. It doesn't even provide a real view management, let alone route management or many other things you would need in complex environments.The only reason most Microsofties know about knockoutJS is because it was made by an MS employee and promoted at many MS events.

Just for comparison: this is what knockout calls itself: Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model.

Am I just promoting AngularJS because I'm biased?

Absolutely not! We (2sic) started with knockoutJS because we heard of it as Microsoft-events. We actually created some very complex solutions using knockoutJS - including a very powerfull help/faq system. But with time, we had to admit that it's very limited. Then AngularJS documentation finally got good. It was time for us to switch.

What about KendoUI or EmberJS?

Parts of KendoUI were made open source by telerik - I guess to stay in the market. I believe they are doing an amazing job, and they finally changed their communication to be less Microsoft-focused. So in general, I do believe it has lots of potential since it's a very good product, and it's great that it can be integrated into AngularJS. But in terms of industry-wide-adoption it's too far behind. So if you like it, use it as an AngularJS add-on.

EmberJS is also gathering momentum - but nothing compared to AngularJS. I'm convinced it's great - but Angulars Head-start is amazing. Since I have to focus my energies, it's not an option.

And some Google-Trends

As you can see - very, very clear.

The clear winner: AngularJS

You may have other opinions based on specific needs - that's great. My focus is on making a living based on my work - and this requires a clear future-focused strategy. The same logic that made me chose DNN in 2003 - namely the core question of "what will make it" also defines AngularJS as the one and only clear answer. So even if another framework has some technical superiority - the sheer mass of Angular-believers will ensure that this will be corrected.

Why not learn both knockoutJS and AngularJS?

This question popped up once after a blog I wrote - and the answer again is simple if you look at the big picture:

  1. If you are working only by yourself and you're good with programming, then your brain can easily handle multiple tools and you may even feel joy in mastering diverse tools and technologies. So you would do this for the heck-of it, not for strategic reasons - go ahead.
  2. If you are budget and success focused, and need to work in a team, then multiple technologies mean that every team member has to spend time learning each technology. Each member will waste time making mistakes with each technology. You will also need to standardize various ways to handle the same problem (based on combinations of technologies already in use in a specific project). And you will need to document a lot of things, because of these many toys in use…
  3. …which is simply not cost effective, and will also cause lots of problems in the future, when you finally decide to focus on one system, but still have lots of hybrid solutions out there which you must maintain. 

Next steps

In the next parts of this series we we'll look into

  1. What is it and why you need it (done)
  2. Comparing the currently most popular frameworks AngularJS and knockoutJS (done)
  3. A simple example how to use such a framework
  4. The entire setup with data-delivery from the server - ideally without server code
  5. Discovering some sample Apps for you to adapt to your needs

With love from Switzerland,

Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 600 DNN projects since 1999. He is also chief architect of 2sxc (2SexyContent - see forge), an open source module for creating attractive content and DNN Apps.



    Brad Bamford
    "Why AngularJS beats the **** out of knockoutJS"

    KnockoutJS is just a 2 way data binding library.
    AngularJS is a complete framework that also includes 2 way data binding.

    They're not trying to be like each other, so it's not really fair to compare them as such.
    Brad Bamford Monday, October 27, 2014 3:14 PM (link)
    Tony Henrich
    KendoUI is a JS based visual widgets framework. It's not a framework like the others. It however works with AngularJS.
    Tony Henrich Tuesday, October 28, 2014 2:47 AM (link)
    2sic Daniel Mettler
    @Brad: I know what you mean. It's just that most developers do their baby-steps with 2-way data-binding, and then try to build on that. And on the other hand if you use angular for 2-way data-binding, there is no more reason to use knockout.
    2sic Daniel Mettler Tuesday, October 28, 2014 10:22 AM (link)
    2sic Daniel Mettler
    @Tony: Actually that's not quite correct. KendoUI has a core MVVM engine which in many ways would compete against Angular. If you mainly use Kendo, it's not really clear why you would add Angular - see for example
    2sic Daniel Mettler Tuesday, October 28, 2014 10:28 AM (link)
    Tony Henrich
    Developers/designers who choose KendoUI choose it for its UI widgets, not for the MVVM engine. The engine is like a bonus which comes with the package. AngularJS plugs the engine's limitations and holes.
    Tony Henrich Tuesday, October 28, 2014 12:57 PM (link)
    2sic Daniel Mettler
    @Tony: Thanks :)
    2sic Daniel Mettler Wednesday, October 29, 2014 2:48 AM (link)
    Brad Murray
    Great article. We switched from Knockout to Angular about a year ago and haven't looked back since. We spend way less time custom coding like we did in knockout, and more time reviewing different directives to piece together the final product. Knockout is that custom CMS you loved that allowed you to do everything by hand but took ages to get anything done. Angular is more like DNN where you take on the role of more of an integrator. Not saying Angular is so easy you don't need to know how to be a developer, just stating it helps speed the process along greatly once you are over the learning curve.
    Brad Murray Wednesday, October 29, 2014 3:25 PM (link)
    Tony Henrich
    AngularJS 2.0 is coming out in about 13 months. So it's not soon. And it might be a rewrite.
    Tony Henrich Thursday, October 30, 2014 4:36 PM (link)
    Brad Bamford
    Yes, Fragmentation will exist within the AngularJS community when 2.0 launches.
    Not everyone will be able to immediately move over to 2.0 and it will take time before 3rd party controls get ported.
    I hope it's worth it when it gets here, but large projects are not likely going to be able to port over to 2.0, at least not without a major effort. So, Angular 1.3 apps will be around for years to come.
    Brad Bamford Thursday, October 30, 2014 5:09 PM (link)
    2sic Daniel Mettler
    @Brad Murray: thanks :)!
    @Tony: Thanks for that note too...

    & @Brad Bamford: I agree. We've all had similar experiences: if there is a real, relevant breaking change - there will be a long time of parallel running systems. I even know a web agency that still develops using classic ASP. I shudder every time I see it...

    + AngularJS 2 won't run on current browsers ( So basically it won't catch on for a while.
    2sic Daniel Mettler Friday, October 31, 2014 3:38 AM (link)
    AngularJs, Web Api / Odata all work well together.. Keep up the good blogs :)
    MWD Sunday, November 02, 2014 1:15 AM (link)
    @Daniel: Thank you for this blog. Why is Angular not embedded in DNN.Platform. I'm missing the CommonJS.Angular :)

    In addition to that I noticed that in Evoq 8 everything is done with Knockout. Does this mean DNN.Platform will mainly focus on Knockout as well

    John Friday, January 30, 2015 10:43 AM (link)
    @Daniel: Thank you for this blog. Why is Angular not embedded in DNN.Platform. I'm missing the CommonJS.Angular :)

    In addition to that I noticed that in Evoq 8 everything is done with Knockout. Does this mean DNN.Platform will mainly focus on Knockout as well
    John Friday, January 30, 2015 10:49 AM (link)
    2sic Daniel Mettler
    I don't know about the front-end of evoq 8 - but I did hear the knockout rumor.

    Will DNN focus on knockout? Here's my guess: up until a few month ago, the entire microsoft-world tried to ignore the "dark-side" believing that it can be done in an MS-style. Knockout was heavily preached at all MS events while AngularJS was "ignored". So much of the MS-world focused on knockout because it does data-binding. And to be honest, we (2sic) too went that way for about a year - till we realized that data-binding is only a subset of the problems - and knockout doesn't have a solution for all the other problems.

    So my guess is that the current UI was started 1-2 years ago - when MS was still preaching knockout. Is it final? about as final as anything online - so not final at all :).

    We (2sic) created some very complex solutions in knockout and for a long time believed it would scale sufficiently. But in hindsight (always easy) it turns out we spent about half of our time inventing solutions for problems that AngularJS already solves :). My guess is that's the learning curve every organization goes through.
    2sic Daniel Mettler Friday, January 30, 2015 12:24 PM (link)

    Comment Form

    Only registered users may post comments.


    2sic Daniel Mettler (124)
    Aderson Oliveira (15)
    Alec Whittington (11)
    Alex Shirley (10)
    Andrew Nurse (30)
    Anthony Glenwright (5)
    Antonio Chagoury (28)
    Ash Prasad (21)
    Ben Schmidt (1)
    Benjamin Hermann (25)
    Benoit Sarton (9)
    Beth Firebaugh (12)
    Bill Walker (36)
    Bob Kruger (5)
    Brian Dukes (2)
    Brice Snow (1)
    Bruce Chapman (20)
    Bryan Andrews (1)
    cathal connolly (55)
    Charles Nurse (163)
    Chris Hammond (203)
    Chris Paterra (55)
    Clinton Patterson (28)
    Cuong Dang (21)
    Daniel Bartholomew (2)
    Dave Buckner (2)
    David Poindexter (3)
    David Rodriguez (2)
    Doug Howell (11)
    Erik van Ballegoij (30)
    Ernst Peter Tamminga (74)
    Geoff Barlow (6)
    Gifford Watkins (3)
    Gilles Le Pigocher (3)
    Ian Robinson (7)
    Israel Martinez (17)
    Jan Blomquist (2)
    Jan Jonas (3)
    Jaspreet Bhatia (1)
    Jenni Merrifield (6)
    Joe Brinkman (269)
    John Mitchell (1)
    Jon Henning (14)
    Jonathan Sheely (4)
    Jordan Coopersmith (1)
    Joseph Craig (2)
    Kan Ma (1)
    Keivan Beigi (3)
    Ken Grierson (10)
    Kevin Schreiner (6)
    Leigh Pointer (31)
    Lorraine Young (60)
    Malik Khan (1)
    Matthias Schlomann (15)
    Mauricio Márquez (5)
    Michael Doxsey (7)
    Michael Tobisch (3)
    Michael Washington (202)
    Mike Horton (19)
    Mitchel Sellers (28)
    Nathan Rover (3)
    Navin V Nagiah (14)
    Néstor Sánchez (31)
    Nik Kalyani (14)
    Peter Donker (52)
    Philip Beadle (135)
    Philipp Becker (4)
    Richard Dumas (22)
    Robert J Collins (5)
    Roger Selwyn (8)
    Ruben Lopez (1)
    Ryan Martinez (1)
    Salar Golestanian (4)
    Sanjay Mehrotra (9)
    Scott McCulloch (1)
    Scott S (11)
    Scott Wilkinson (3)
    Scott Willhite (97)
    Sebastian Leupold (80)
    Shaun Walker (237)
    Shawn Mehaffie (17)
    Stefan Cullmann (12)
    Stefan Kamphuis (12)
    Steve Fabian (31)
    Timo Breumelhof (24)
    Tony Henrich (3)
    Torsten Weggen (2)
    Vicenç Masanas (27)
    Vincent Nguyen (3)
    Vitaly Kozadayev (6)
    Will Morgenweck (37)
    Will Strohl (163)
    William Severance (5)
    Try Evoq
    For Free
    Start Free Trial
    a Demo
    See Evoq Live
    Need More Information?