What is the difference between KnockoutJS and AngularJS / EmberJS?

9

What's the difference between KnockoutJS and AngularJS / a href="http://emberjs.com/"> EmberJS ? From what I've been researching:

  • Apparently KnockoutJS has a much smaller learning curve, can be integrated into existing static sites and has better compatibility, but is less powerful.

  • While Angular / Ember are harder to work on, they need to start the site from scratch with them and may have incompatibility issues with mobile browsers , but are much more powerful. >

Are these my assumptions correct?

I wonder why so many options makes it hard to decide which to learn. My only experience with this kind of framework is this interactive tutorial here .

    
asked by anonymous 11.07.2014 / 13:12

1 answer

4

KnockOut

As the KnockoutJs website itself says, it's a library. A set of functions that aims to ease the bind between the DOM and the ViewModel in javascript.

  

Knockout is a JavaScript library that helps you to create rich, responsive display and user interface interfaces with a clean underlying data model.

Source: link

Because it is just a library, it does not require the whole project to be modeled to its default. Just add the bindings to a page, new or existing, link to the viewModel and it is already working.

It has several very interesting features like attribute bindings and events of DOM elements, and the use of custom bindings.

Library definition

  

A library is a set of data and source code used in software development. It is designed to help the developer and compiler build and run the software.

Source: link

AngularJs / EmberJs

EmberJs / AngularJs / BackBoneJs are frameworks that by definition encompass much more functionality than a library.

AngularJS site title

  

AngularJS - Superheroic JavaScript MVW Framework

Framework definition

  

Framework is a set of classes that collaborate to perform a   responsibility for a domain of an application subsystem. "    Fayad and Schmidt

    
15.07.2014 / 20:25