Mastering JavaScript High Performance

Master the art of building, deploying, and optimizing faster web applications with JavaScript

Mastering JavaScript High Performance

Mastering
Chad R. Adams

Master the art of building, deploying, and optimizing faster web applications with JavaScript
$35.99
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

Book Details

ISBN 139781784397296
Paperback208 pages

Book Description

Studying JavaScript performance in depth will make you capable of tackling the complex and important tasks required to solve performance issues. In this book, you'll learn when and why to use an IDE over a common text editor. Packed with examples, you'll also learn how to create a build system to test and deploy your JavaScript project by optimizing the code. Next, you will move on to learn about DOM optimization, JavaScript promises, and web workers to better break up your large codebase. You will also learn about JavaScript performance on mobile platforms such as iOS and Android and how to deploy your JavaScript project to a device. Finally, by the end of the book, you'll be able to pinpoint JavaScript performance problems using appropriate tools, provide optimization techniques, and provide tools to develop fast applications with JavaScript.

Table of Contents

Chapter 1: The Need for Speed
Weren't websites always fast?
Summary
Chapter 2: Increasing Code Performance with JSLint
Checking the JavaScript code performance
What is JavaScript linting?
Summary
Chapter 3: Understanding JavaScript Build Systems
What is a build system?
Setting up our build system
Summary
Chapter 4: Detecting Performance
Web Inspectors in general
Summary
Chapter 5: Operators, Loops, and Timers
Operators
Loops
Timers
Summary
Chapter 6: Constructors, Prototypes, and Arrays
Building with constructors and instance functions
Alternate constructor functions using prototypes
Array performance
Summary
Chapter 7: Hands off the DOM
Why worry about the DOM?
Don't we need an MV-whatever library?
Creating new objects using the createElement function
Animating elements
Understanding paint events
Pesky mouse scrolling events
Summary
Chapter 8: Web Workers and Promises
Understanding the limitations first
Web workers
Promises
Summary
Chapter 9: Optimizing JavaScript for iOS Hybrid Apps
Getting ready for iOS development
iOS hybrid development
Summary
Chapter 10: Application Performance Testing
What is unit testing in JavaScript?
Unit testing with Jasmine
Summary

What You Will Learn

  • Test existing JavaScript code using JSLint and understand how to better optimize JavaScript code
  • Create your own build system for JavaScript projects using Node.js and GulpJS
  • Get to know best performance-focused practices when writing JavaScript code
  • Use the DOM more efficiently by optimizing JavaScript with CSS3 animations
  • Learn how to unit test JavaScript code using Jasmine

Authors

Table of Contents

Chapter 1: The Need for Speed
Weren't websites always fast?
Summary
Chapter 2: Increasing Code Performance with JSLint
Checking the JavaScript code performance
What is JavaScript linting?
Summary
Chapter 3: Understanding JavaScript Build Systems
What is a build system?
Setting up our build system
Summary
Chapter 4: Detecting Performance
Web Inspectors in general
Summary
Chapter 5: Operators, Loops, and Timers
Operators
Loops
Timers
Summary
Chapter 6: Constructors, Prototypes, and Arrays
Building with constructors and instance functions
Alternate constructor functions using prototypes
Array performance
Summary
Chapter 7: Hands off the DOM
Why worry about the DOM?
Don't we need an MV-whatever library?
Creating new objects using the createElement function
Animating elements
Understanding paint events
Pesky mouse scrolling events
Summary
Chapter 8: Web Workers and Promises
Understanding the limitations first
Web workers
Promises
Summary
Chapter 9: Optimizing JavaScript for iOS Hybrid Apps
Getting ready for iOS development
iOS hybrid development
Summary
Chapter 10: Application Performance Testing
What is unit testing in JavaScript?
Unit testing with Jasmine
Summary

Book Details

ISBN 139781784397296
Paperback208 pages
Read More

Read More Reviews