Comparing different ideas and tools is a way to better understand them. In this article, I'll start with a list of tasks that need to be repeated when creating a Web application, and then show you how backbone and angular will help you do that.
The problem we are trying to solve
As a web developer, most of our work can be attributed to one of the following categories:
Implementing Business logic
Building DOM
Implementing view logic (declarative and imperative)
Synchronizing between a model and a view
Managing complex UI Interactions
Managing status and routing (routing)
Creating and connecting components
As you would expect, most client-side frameworks help you accomplish these tasks in some way.
Backbone
Let's take a look at what backbone has to offer to address these issues:
The following pictures show these features in a more intuitive way:
What I mean by backbone ...
It is not fair to compare the original backbone directly with the angular, so the backbone in this article are actually backbone + Marionette + Plug-ins for this set of combinations.