JavaScript at Scale

JavaScript at ScaleReviews
Author: Adam Boduch
Pub Date: 2015
ISBN: 978-1785282157
Pages: 266
Language: English
Format: PDF/EPUB
Size: 10 Mb


Build web applications that last, with scaling insights from the front-line of JavaScript development
JavaScript applications of today look a lot different from their predecessors of just five years ago. Because of this rapid growth in sophistication and capabilities, we’ve seen an explosion in JavaScript frameworks; the JavaScript development landscape is a fragmented one. To build large-scale JavaScript applications, we need more than just tools – we need scalable architectures. We create scalable JavaScript architectures by looking at what aspects of our application need to scale and why. Only then can we apply the best patterns and components to our architecture, scaling it into the future.
JavaScript at Scale will show you how to deal with scalability from a number of perspectives; addressability, testability and component composition.
The book begins by defining ‘scale’ from a JavaScript point of view, and dives into the influencers of scale, as well as scalable component composition and communication. We will also look at how large-scale architectures need the ability to scale down, and recover from failing components, as well as scale up and manage new features or a large user base.
Filled with real-world JavaScript scaling scenarios, and code-first examples, JavaScript at Scale is your guide to building out applications that last. Each topic is covered in a way that it can be applied to your own unique scenarios; by understanding the fundamentals of a scaling issue, you’ll be able to use that knowledge to tackle even the most difficult of situations.
The code examples follow the same approach, using ECMAScript 6 syntax that can be translated to the framework of choice.
What You Will Learn

  • Identify and evaluate the external scaling influencers of your application
  • Build out component composition in large-scale JavaScript applications
  • Design for inter-component communication that scale
  • Understand the importance of addressable resources in JavaScript applications, and approaches to scaling addressability
  • Customize and configure components to meet scaling demands
  • Ensure a highly-performant user experience, despite the size and complexity of your application
  • Design a portable and testable application that’s not constrained to one environment
  • Make architectural trade-offs by removing or refactoring components
  • Design components that fail in a scalable way