Summary

In this chapter, we have seen how to use tools to build our Backbone application. First, you learned what a task runner is and the most popular choices available for Node. Then, we saw how Gulp works and creates tasks.

With Gulp, you can build a development environment and configure it in order to apply optimizations to your assets for the production environments. Gulp is stream-based, which means that you can grab a bunch of files from a glob specification and stream these files in order to apply transformations, such as compiling, concatenating, transpiling, and so on, as you need.

Task runners are amazing tools that allow you to automatize tasks. You can not only create development and production workflows, but also tasks for almost anything, ...

Get Mastering Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.