In this chapter, we learned how to manage our frontend dependencies. This is done through Bower. Bower is very similar to npm in the way it stores our dependencies (bower.json
and bower_components
) and its execution (install
and init
). Next, we introduced React, which will serve as our JavaScript view engine in the browser. We covered the reasons why we chose this framework. Then, we covered Backbone models that will emit events when changed. This gives us the ability to decouple changing a collection and then rendering the changed collection. This is important, as we are using two separate frameworks for watching our data and rendering our views. We now have the tools and background to add Bower, React, and Backbone to our application.
In the next chapter, we will make all the code additions and changes that will be required to have a functional chat application.