Book Image

Advanced JavaScript

By : Zachary Shute
Book Image

Advanced JavaScript

By: Zachary Shute

Overview of this book

If you are looking for a programming language to develop flexible and efficient applications, JavaScript is an obvious choice. Advanced JavaScript is a hands-on guide that takes you through JavaScript and its many features, one step at a time. You'll begin by learning how to use the new JavaScript syntax in ES6, and then work through the many other features that modern JavaScript has to offer. As you progress through the chapters, you’ll use asynchronous programming with callbacks and promises, handle browser events, and perform Document Object Model (DOM) manipulation. You'll also explore various methods of testing JavaScript projects. In the concluding chapters, you'll discover functional programming and learn to use it to build your apps. With this book as your guide, you'll also be able to develop APIs using Node.js and Express, create front-ends using React/Redux, and build mobile apps using React/Expo. By the end of Advanced JavaScript, you will have explored the features and benefits of JavaScript to build small applications.
Table of Contents (9 chapters)

JavaScript Ecosystem

There are four main categories of the JavaScript ecosystem that we will discuss: frontend, command-line interface, mobile, and backend.

  • Front-end JavaScript is used for user-facing websites.

  • Command-line interface (CLI) JavaScript is used for building command-line tasks to assist developers.

  • Mobile development JavaScript is used to build mobile phone apps.

  • Backend JavaScript is used to build web servers and services.

For a language that was created originally to embed simple applications in browsers, JavaScript has come a long way.

Frontend JavaScript

Frontend JavaScript is used for creating complicated and dynamic user-facing websites. Websites such as Facebook, Google Maps, Spotify, and YouTube rely heavily on JavaScript. In frontend development, JavaScript is used to manipulate the DOM and handle events. Many JavaScript libraries, such as jQuery, have been created to increase the efficiency and ease of JavaScript DOM manipulation by wrapping the DOM manipulation APIs of...