8

Backbone.js versus AngularJS

Embed Size (px)

DESCRIPTION

Presentation held at Backbone.js meetup in Oslo November 6, 2012. Summarizes provisional conclusions based on limited experience.

Citation preview

Page 1: Backbone.js versus AngularJS
Page 2: Backbone.js versus AngularJS

Wanted: a framework that:

Allows me to build a useful object model Doesn’t require me to write explicit event handlers

to update the Model from form inputs Satifies frontend developers

Page 3: Backbone.js versus AngularJS

Tried this Proof of concept: Basic form for editing an object’s

attributes Very limited universe explored Backbone.js with Rivets.js (because it worked!) AngularJS

Page 4: Backbone.js versus AngularJS

Not married to a framework (yet)

Page 5: Backbone.js versus AngularJS

Why I liked AngularJS ”Frontend friendly” Simpler code in the proof of concept Easy, natural two-way data binding Model is a plain JavaScript object Dependency injection system

Page 6: Backbone.js versus AngularJS

Problems with Angular Some things just don’t work??

Page 7: Backbone.js versus AngularJS

Problems with Angular Some things just don’t work?? ”Codebase appears to be fairly sprawling and not

very modular.”

Page 8: Backbone.js versus AngularJS

Problems with Angular Some things just don’t work?? ”Codebase appears to be fairly sprawling and not

very modular.” ”Angularjs documentation is absolutely abysmal.

They are truly awful. I can't say enough how terribly terribly terrible they are at explaining themselves.”