JavaScript

How To Submit AJAX Forms with JQuery — step-by-step Javascript tutorial on Progressive Robot

How To Submit AJAX Forms with JQuery

While vanilla JavaScript continues to catch up to JQuery in terms of capability and cross-browser consistency, handling form submissions in JavaScript can still be a minefield of gotchas and inconsistency.

Read more
Understanding Generators in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Generators in JavaScript

In ECMAScript 2015, generators were introduced to the JavaScript language. A generator is a process that can be paused and resumed and can yield multiple values. They can maintain state, providing an efficient way to make iterators, and are capable of dealing with infinite data streams. In this article, we’ll cover how to create generator functions, how to iterate over Generator objects, the difference between yield and return inside a generator, and other aspects of working with generators.

Read more
Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript

In order to avoid blocking code in JavaScript development, asynchronous coding techniques must be used for operations that take a long time, such as network requests made from Web APIs like Fetch. This article will cover asynchronous programming fundamentals, teaching you about the event loop, the original way of dealing with asynchronous behavior through callbacks, the updated ECMAScript 2015 (ES6) addition of promises, and the modern practice of using async/await.

Read more
CHAT