Mastering Modular JavaScript

If you have a working knowledge of JavaScript and ECMAScript 6 (ES6), this practical guide will help you tackle modular programming to produce code that’s readable, maintainable, and scalable. You’ll learn the fundamentals of modular architecture with JavaScript and the benefits of writing self-contained code at every system level, including the client and server.

Nicolás Bevacqua, author of Practical Modern JavaScript, demonstrates how to scale out JavaScript applications by breaking codebases into smaller modules. By following the design practices in this book, senior developers, technical leaders, and software architects will learn how to create modules that are simple and flexible while keeping internal complexity in check.

  • Learn modular design essentials, including how your application will be consumed and what belongs on the interface
  • Design module internals to keep your code readable and its intent clear
  • Reduce complexity by refactoring code and containing and eliminating state
  • Take advantage of modern JavaScript features to write clear programs and reduce complexity
  • Apply Twelve-Factor App principles to frontend and backend JavaScript application development
1127522928
Mastering Modular JavaScript

If you have a working knowledge of JavaScript and ECMAScript 6 (ES6), this practical guide will help you tackle modular programming to produce code that’s readable, maintainable, and scalable. You’ll learn the fundamentals of modular architecture with JavaScript and the benefits of writing self-contained code at every system level, including the client and server.

Nicolás Bevacqua, author of Practical Modern JavaScript, demonstrates how to scale out JavaScript applications by breaking codebases into smaller modules. By following the design practices in this book, senior developers, technical leaders, and software architects will learn how to create modules that are simple and flexible while keeping internal complexity in check.

  • Learn modular design essentials, including how your application will be consumed and what belongs on the interface
  • Design module internals to keep your code readable and its intent clear
  • Reduce complexity by refactoring code and containing and eliminating state
  • Take advantage of modern JavaScript features to write clear programs and reduce complexity
  • Apply Twelve-Factor App principles to frontend and backend JavaScript application development
32.49 In Stock
Mastering Modular JavaScript

Mastering Modular JavaScript

by Nicolas Bevacqua
Mastering Modular JavaScript

Mastering Modular JavaScript

by Nicolas Bevacqua

eBook

$32.49  $42.99 Save 24% Current price is $32.49, Original price is $42.99. You Save 24%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

If you have a working knowledge of JavaScript and ECMAScript 6 (ES6), this practical guide will help you tackle modular programming to produce code that’s readable, maintainable, and scalable. You’ll learn the fundamentals of modular architecture with JavaScript and the benefits of writing self-contained code at every system level, including the client and server.

Nicolás Bevacqua, author of Practical Modern JavaScript, demonstrates how to scale out JavaScript applications by breaking codebases into smaller modules. By following the design practices in this book, senior developers, technical leaders, and software architects will learn how to create modules that are simple and flexible while keeping internal complexity in check.

  • Learn modular design essentials, including how your application will be consumed and what belongs on the interface
  • Design module internals to keep your code readable and its intent clear
  • Reduce complexity by refactoring code and containing and eliminating state
  • Take advantage of modern JavaScript features to write clear programs and reduce complexity
  • Apply Twelve-Factor App principles to frontend and backend JavaScript application development

Product Details

ISBN-13: 9781491955635
Publisher: O'Reilly Media, Incorporated
Publication date: 08/27/2018
Sold by: Barnes & Noble
Format: eBook
Pages: 164
File size: 2 MB

About the Author

Nico is an enthusiastic JavaScript consultant based in Buenos Aires, Argentina. When he's not working on consulting projects or contributing to the open-source community as @bevacqua, Nico devotes his time to the local NodeSchool and Beer.js communities. Nico loves writing content for ponyfoo.com, his blog since 2012. He’s published a book on JavaScript processes and quality named JavaScript Application Design (Manning). Nico is a happy pony, and you can find him as @nzgb on Twitter, because xkcd.

Table of Contents

Preface v

1 Module Thinking 1

1.1 Introduction to Module Thinking 1

1.2 A Brief History of Modularity 3

1.3 The Perks of Modular Design 10

1.4 Modular Granularity 11

1.5 Modular JavaScript: A Necessity 13

2 Modularity Principles 17

2.1 Modular Design Essentials 19

2.2 CRUST: Consistent, Resilient, Unambiguous, Simple, and Tiny 31

3 Module Design 41

3.1 Growing a Module 41

3.2 Crust Considerations 50

3.3 Pruning a Module 56

4 Shaping Internals 65

4.1 Internal Complexity 65

4.2 Refactoring Complex Code 70

4.3 State as Entropy 86

4.4 Data Structures Are King 92

5 Modular Patterns and Practices 99

5.1 Leveraging Modern JavaScript 99

5.2 Composition and Inheritance 109

5.3 Code Patterns 114

6 Development Methodology and Philosophy 123

6.1 Secure Configuration Management 123

6.2 Explicit Dependency Management 128

6.3 Interfaces as Black Boxes 130

6.4 Build, Release, Run 131

6.5 Statelessness 133

6.6 Parity in Development and Production 137

6.7 Abstraction Matters 138

Index 143

From the B&N Reads Blog

Customer Reviews