JavaScript Unlocked

Improve your code maintainability, performance, and security through practical expert insights and unlock the full potential of JavaScript

JavaScript Unlocked

This ebook is included in a Mapt subscription
Dmitry Sheiko

1 customer reviews
Improve your code maintainability, performance, and security through practical expert insights and unlock the full potential of JavaScript
$0.00
$23.99
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785881572
Paperback182 pages

Book Description

JavaScript stands bestride the world like a colossus. Having conquered web development, it now advances into new areas such as server scripting, desktop and mobile development, game scripting, and more. One of the most essential languages for any modern developer, the fully-engaged JavaScript programmer need to know the tricks, non-documented features, quirks, and best practices of this powerful, adaptive language.

This all-practical guide is stuffed with code recipes and keys to help you unlock the full potential of JavaScript. Start by diving right into the core of JavaScript, with power user techniques for getting better maintainability and performance from the basic building blocks of your code. Get to grips with modular programming to bring real power to the browser, master client-side JavaScript scripting without jQuery or other frameworks, and discover the full potential of asynchronous coding. Do great things with HTML5 APIs, including building your first web component, tackle the essential requirements of writing large-scale applications, and optimize JavaScript’s performance behind the browser. Wrap up with in-depth advice and best practice for debugging and keeping your JavaScript maintainable for scaling, long-term projects. With every task demonstrated in both classic ES5 JavaScript and next generation ES6-7 versions of the language, Whether read cover-to-cover or dipped into for specific keys and recipes, JavaScript Unlocked is your essential guide for pushing JavaScript to its limits.

Table of Contents

Chapter 1: Diving into the JavaScript Core
Make your code readable and expressive
Mastering multiline strings in JavaScript
Manipulating arrays in the ES5 way
Traversing an object in an elegant, reliable, safe, and fast way
The most effective way of declaring objects
How to – magic methods in JavaScript
Summary
Chapter 2: Modular Programming with JavaScript
How to get out of a mess using modular JavaScript
How to use asynchronous modules in the browser
How to – use synchronous modules on the server
JavaScript's built-in module system
Transpiling CommonJS for in-browser use
Summary
Chapter 3: DOM Scripting and AJAX
High-speed DOM operations
Communicating with the server
Summary
Chapter 4: HTML5 APIs
Storing data in web-browser
Boosting performance with JavaScript workers
Creating the first web component
Learning to use server-to-browser communication channels
Summary
Chapter 5: Asynchronous JavaScript
Nonblocking JavaScript
Error-first Callback
Continuation-passing style
Handling asynchronous functions in the ES7 way
Parallel tasks and task series with the Async.js library
Event handling optimization
Summary
Chapter 6: A Large-Scale JavaScript Application Architecture
Design patterns in JavaScript
Understanding concern separation in JavaScript
Using JavaScript MV* frameworks
Summary
Chapter 7: JavaScript Beyond the Browser
Levelling up the coding of a command-line program in JavaScript
Building a web server with JavaScript
Writing a desktop HTML5 application
Using PhoneGap to make a mobile native app
Summary
Chapter 8: Debugging and Profiling
Hunting bugs
Getting the best from a console API
Tuning performance
Summary

What You Will Learn

  • Make your code readable and expressive by using simple syntax of JavaScript
  • Grasp existing JavaScript collections such as arrays and array-like objects
  • Develop abstract data types in most effective way to extend JavaScript into a more flexible and powerful programming language
  • Examine the pros and cons of JavaScript by implementing real-time code examples
  • Flourish real-time mini-projects by using JavaScript on server side to develop desktop as well as mobile applications
  • Work on parallel tasks with asynchronous JavaScript
  • Improve code maintainability and readability and boost apps performance through JavaScript

Authors

Table of Contents

Chapter 1: Diving into the JavaScript Core
Make your code readable and expressive
Mastering multiline strings in JavaScript
Manipulating arrays in the ES5 way
Traversing an object in an elegant, reliable, safe, and fast way
The most effective way of declaring objects
How to – magic methods in JavaScript
Summary
Chapter 2: Modular Programming with JavaScript
How to get out of a mess using modular JavaScript
How to use asynchronous modules in the browser
How to – use synchronous modules on the server
JavaScript's built-in module system
Transpiling CommonJS for in-browser use
Summary
Chapter 3: DOM Scripting and AJAX
High-speed DOM operations
Communicating with the server
Summary
Chapter 4: HTML5 APIs
Storing data in web-browser
Boosting performance with JavaScript workers
Creating the first web component
Learning to use server-to-browser communication channels
Summary
Chapter 5: Asynchronous JavaScript
Nonblocking JavaScript
Error-first Callback
Continuation-passing style
Handling asynchronous functions in the ES7 way
Parallel tasks and task series with the Async.js library
Event handling optimization
Summary
Chapter 6: A Large-Scale JavaScript Application Architecture
Design patterns in JavaScript
Understanding concern separation in JavaScript
Using JavaScript MV* frameworks
Summary
Chapter 7: JavaScript Beyond the Browser
Levelling up the coding of a command-line program in JavaScript
Building a web server with JavaScript
Writing a desktop HTML5 application
Using PhoneGap to make a mobile native app
Summary
Chapter 8: Debugging and Profiling
Hunting bugs
Getting the best from a console API
Tuning performance
Summary

Book Details

ISBN 139781785881572
Paperback182 pages
Read More
From 1 reviews

Read More Reviews