Chapter 8. JavaScript Best Practices for Application Development

Some readers may be getting nervous at this point in the book. I don't blame them. This is because there are still some very large, glaring issues with our code base. The question, "Will our application work anywhere but in localhost?" should encapsulate many of the issues. The answer is no. This is a problem, and this chapter is the solution. We are going to cover how to build a reproducible and scriptable build system that runs in one step. All the adjectives in the last sentence are important. We have to be able to run one command which will do exactly what we need to build our application. If we start introducing manual build steps, we risk introducing bugs into building and ...

Get Building Scalable Apps with Redis and Node.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.