ECMAScript 8 Cookbook: Over 70 recipes to help you improve your coding skills and solving practical JavaScript problems

Become a better web programmer by writing efficient and modular code by using various features of ECMAScriptKey FeaturesA recipe based guide to help you become a better web programmer and write efficient and modular code.Learn to write asynchronous code and improve the speed of your web applications.Discover the power of writing object-oriented Web JavaScript code using ES 8Book DescriptionECMAScript is a specification that JavaScript, TypeScript and many other implement. Learning to write beautiful, efficient and modular code across all this languages requires good understanding of the concepts, features, and APIs of ECMAScript. The recent releases of ECMAScript have transformed JavaScript by introducing new collections types, functional APIs, OOP, and other syntactic updates.This book provides that perfect learning solution to help you become an efficient programmer across multiple disciplines. It follows a modular approach which includes independent recipes covering different feature sets and specifications of ECMAScript 2017/ES8. You will start with organizing your JavaScript applications, as well as delivering those applications to modern and legacy system. Next, you will go through features that were added to enhance asynchronous and parallel operations which includes ES8 async, SharedArrayBuffers, and Atomic operations. You will see how ES8 async functions help simplify asynchronous operations and remove boilerplate from ES6 Promise usage. Further you, will go through SharedArrayBuffers that allow WebWorkers to share data directly, and Atomic operations help coordinate behavior across the threads. Lastly, you will work with OOP and Collections, followed by new functions and methods on the built in Object and Array types that make common operations more manageable, and less error prone. This will be followed by classes and inheritance that make it easier to build more sophisticated and expressive program structures. In the end, you will also go through Sets, Maps, and Symbols which are the new types introduced that add new behaviors allowing you to create simple and powerful modules.By the end of the book, you will be able to use the new features in ES8 that allow you to produce more efficient, expressive, and simpler programs.What you will learnOrganize JavaScript programs across multiple files, using ES modulesBundle a set of modules into a single script file using WebpackCreate and work with promises using the Promise object and methodsCompose async functions to propagate and handle errorsImplement WebWorkers, SharedMemoryBuffers and Atomic functions to perform operations in parallelGo through different design patterns to create structures in order to solve common organizational and processing issuesUse and extend Map, Set, and Symbol to work with user defined classes and simulate data typesExplore the new array methods to limit the need for looping with arrays and other collectionsWho This Book Is ForIf you are a JavaScript developer with basic development, and now want to learn about the latest features in order to develop better client-side programs with JavaScript, then this book is for you.

Author: Ross Harrison

Do you want ot get/download the ECMAScript 8 Cookbook: Over 70 recipes to help you improve your coding skills and solving practical JavaScript problems as Paperback or Kindle/pdf eBook?

Learn more

Deals