27 Aug

Building an App with Express and Backbone: Part 5

Part 5 looks at Backbone views and templating with the Handlebars engine.

In this episode, we finally work on using Backbone to render out content from the API onto the screen. We look at using the Handlebars templating language and create two Backbone views, one for an individual book, and another for our book collection.

I recommend viewing this in HD in fullscreen for best viewing.

Previous Parts:

  • Part 1: Set up Express, Mongo and our first route to show all books
  • Part 2: Set up a route for viewing a single book and did some tidying of our codebase.
  • Part 3: Create a route so new books can be added via a POST request.
  • Part 4: Setting up Backbone and creating a model for our books.

The code is on GitHub as always.

If you enjoyed this post, signup to the newsletter to be notified when there's new content, new courses and exclusive offers.

If you enjoyed this article please feel free to share it on Twitter.