ponyfoo.com

JavaScript Application Design

A Build-First Approach
Purchase directly through Manning, or via Amazon.
Manning PublicationsJanuary, 2015344 PagesISBN 978-1-6172-9195-1

“Enjoy the ride through the process of improving your development workflow.”

– Addy Osmani, Google

The fate of most applications is often sealed before a single line of code has been written. How is that possible? Simply, bad design assures bad results. Good design and effective processes are the foundation on which maintainable applications are built, scaled, and improved. For JavaScript developers, this means discovering the tooling, modern libraries, and architectural patterns that enable those improvements.

JavaScript Application Design: A Build First Approach introduces techniques to improve software quality and development workflow. You’ll begin by learning how to establish processes designed to optimize the quality of your work. You’ll execute tasks whenever your code changes, run tests on every commit, and deploy in an automated fashion. Then you’ll focus on designing modular components and composing them together to build robust applications.

Write modular, cleaner, and easily testable code. Using a modular approach to application design, you’ll learn how to write smaller components that work well together. You’ll be able to master complex asynchronous flows in JavaScript. Learn different kinds of testing such as unit testing, integration testing, and visual diff. testing. Design a REST API and implement it.

Table of Contents

  1. I Build Processes

    1. 1 Introduction to Build First
    2. 2 Composing Build Tasks and Flows
    3. 3 Mastering Environments and the Development Workflow
    4. 4 Release, Deployment, and MonitoringFree!
  2. II Managing Complexity

    1. 5 Embracing Modularity and Dependency ManagementFree!
    2. 6 Understanding Asynchronous Flow Control Methods In JavaScript
    3. 7 Leveraging Model-View-Controller
    4. 8 Testing JavaScript Components
    5. 9 REST API Design and Layered Service Architectures
  3. III Appendices

    1. A Modules in Node.js
    2. B Introduction to Grunt
    3. C Picking Your Build Tool
    4. D JavaScript Code Quality Guide

Praise For This Book

Purchasing Options

There are tons of freely available code samples on the GitHub repository. There’s over 90 code samples that range from the basics such as creating an automated Lint task, to more advanced tasks such as deploying to Amazon Web Services or inlining critical CSS to improve perceived performance.

The book can be purchased directly through Manning or on Amazon.