Chapter 5. Creating a To-do Application with Backbone.js
In the previous chapters, we learned how to create real-time chat with Socket.IO. We made a blog application with AngularJS and used Express to create a simple website. This chapter is dedicated to another popular framework—Backbone.js. Backbone.js is one of the first JavaScript frameworks that gained popularity. There are models that deal with the data, views that control the logic and the user interface, and the built-in router that handles the changes in the browser's address. The framework plays really well with jQuery, which makes it attractive to almost every JavaScript developer. In this chapter, we are going to build a simple application for storing short tasks. At the end, we will be able to create, edit, delete tasks, and mark them as finished.
In this chapter, we will cover the following topics:
The basics of Backbone.js
Writing the Node.js code that manages the to-do lists
Coding the frontend using Backbone.js