JavaScript Application Design

Write clean JavaScript applications that deploy with the push of a button

You already know JavaScript, but do you know how to design a scalable application and maximize your productivity? Try #buildfirst

Build Early, Build Always

Learn how to craft a workflow that increases your development productivity and reduces issues during deployments. Automate that workflow using Grunt, and master Continuous Development, Integration, and Deployment. Minimize manual labor, while keeping productivity in check.

Concretely, the book teaches the importance of a Build Process, and once that's out of the way, we will examine how to deploy and set up a continuous integration flow, all using Grunt. Grunt is a task automation utility based on Node.js, equivalent to more widely known tools such as Make, or Ant. Grunt is more modern, faster to learn, and written in JavaScript, becoming an ideal choice for the book, which focuses on the process and the tasks, not just on the tooling. The first four chapters are dedicated to build processes and how to put together a simple build and how to grow it as your project grows. You'll learn about all the different tasks that you can (and should) automate within your builds. There's an entire chapter dedicated to optimizations for your production-ready application, where we'll also explore how to automate deployments to Heroku and Amazon Web Services.

Design Early, Design Often

Design your application early, but also explore techniques to keep it in check continuously using Continuous Design techniques. Write modular, cleaner, and easily testable code. The book discusses a modular approach to application design, where you'll learn how to write smaller components that work well together. You'll be able to master asynchronous flows in JavaScript after reading the sixth chapter. There's a chapter dedicated to getting started with MVC in JavaScript, using Backbone to build a small app. A chapter on testing details different kinds of testing you can do such as unit testing, integration testing, and visual diff testing. The last chapter covers REST API design and implementation.

Learn from Practical Examples

Scattered throughout the book we will find tons of code samples, all carefully crafted, ready to use and mold to your needs, and ideal to learn from. The samples are well-documented too, each having an individual description which will let us understand what we're looking at, why we need to learn it, and how we might accomplish it.

Uncertain yet?

You can get a sample chapter from Manning, or just buy the whole thing if you like what you're hearing. It's definitely worth it!

Also, make sure you check out the resources page for the book, too. I included tons of the links that are referenced in the book in that page, so you can get a feel of the kind of content that's included in the book. You could also skim through the code samples, which are religiously documented, catalogued, and reviewed. Ready for human consumption!

  • The resources page has a ton of useful links related to the book
  • Read my blog to learn more about my coding philosophy
  • Check out the code samples on GitHub
  • Purchase the book through Manning
  • Use discount code bevacqua37 for a 37% discount!
JavaScript Application Design

Psst! Download free sample chapters here.

Purchase from Amazon or Manning.

See also resources and code samples.