Hands On JavaScript High Performance: Build bare-metal web applications with Node.js and modern web tools

Hands On JavaScript High Performance: Build bare-metal web applications with Node.js and modern web tools

English | 2020 | ISBN: 978-1838821098 | 483 Pages | PDF, EPUB | 15 MB

Explore the advancements in web development like WebAssembly, Service Workers, and Svelte.js for building faster and secure web applications
The current landscape of building web applications usually utilizes some frameworks on both the frontend and backend. But these frameworks hide the underlying engine and the APIs that are at a system level layer of the web application.
This book helps you explore the vanilla JavaScript and its features in building faster and secure web apps. We’ll start with understanding the web frontend, current landscape of the web, and the latest version of ES and JavaScript. You’ll dive deep into working with Node.js and learning how web apps can be built without a framework. The book consists of three hands on examples helping you to build a static server with Node.js, exploring Svelte.js with JavaScript, and experiencing GPU acceleration using GLSL and WebGL. Each chapter houses modern techniques like DOM manipulations, v8 engine optimization, etc to help you advance in your understanding of web. Finally, we dive into advanced topics such as WebAssembly and GPU programming and how you can harness their capabilities to speed up your web apps dramatically.
By the end of this book, you’ll gain an appreciation for how the JavaScript landscape has evolved, not just for the frontend but also for the backend. On top of this, you will have quite a few new tools at your disposal to solve the common web problems with modern web tools and techniques.
What you will learn

  • Deep dive into vanilla JavaScript for optimizing DOM, classes, modules and Querying with JQuery
  • Fully understand Immutable vs Mutable code and how to use them for building faster web
  • Get a high level understanding of Svelte.js and build a complete real time ToDo app with it
  • Build apps to work offline using Service Workers and caching calls once the user is back online
  • Write C++ native codes and call the WebAssembly module with JavaScript to run them on browser
  • Learn GPU acceleration with JavaScript using WebGL and GLSL programming
Homepage