Handling RESTful HTTP errors with promises

Preface I understood the basic concept of promises before I started working at Expensify but I had never really used them in production code before. Since then, I've taken a lot of the things I learnt over to Uber with me and have applied that knowledge to the projects I'm…

RESTful search with Backbone

The auto-complete box is the todo list of search in Backbone. There are hundreds of examples out there which cover searching through a collection. Almost all of these, however, are just searching the already fetched collection on the client side. While working on a new project at Uber, I needed…