Knockout implements something called ‘declarative binding’ - essentially where a part of your HTML view is bound to some data in a model. Whenever the model is changed, the view changes automatically, which can lead to much cleaner code when creating an AJAX app.
As time went on we ran in to a couple of challenges using Knockout, which we’ll discuss next.
We found it easier to adapt our REST API to conform to the default JSON format Ember Data expects rather than try to tweak things in the Ember adapter.
There are so many parts to Ember (routers, controllers, models, views, components, templates) that it can be hard for a novice to know where to start or what controls what. Once it becomes clear though, it’s really rather smart and very flexible.
It was certainly enough to make us decide to switch from Knockout to Ember, and here’s why...
Your new post is loading...