Asynchronous JavaScript: Promises, Callbacks, Async Await

所在平台: Udemy

课程主页: https://www.udemy.com/course/asynchronous-javascript-promises-callbacks-async-await/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:异步JavaScript:Promise、回调、Async Await 课程概述:本课程的主要目的是帮助您掌握异步JavaScript。特别设计给那些希望提升回调、Promise、Async Await和事件循环技能的学习者。课程内容易于理解,包含大量视觉元素,以便于说明重要概念,同时提供丰富的编码示例。 我们将重点讨论异步JavaScript的三个主要组成部分:回调函数、Promise和Async Await。回调在JavaScript中无处不在,用于创建事件处理程序、发起HTTP请求、与DOM交互、设置超时、读写文件系统数据、与数据库交互等。虽然您可能在代码中已经使用回调,但您可能对其具体工作原理并不完全了解,掌握这些原理将帮助您更快地编写代码并避免奇怪的错误。 Promise作为回调的更佳替代方案,应运而生,避免了回调的一些缺陷。在多个异步操作相互依赖时,JavaScript的Promise非常有帮助。虽然Promise是一个新的概念,但本课程将帮助您充分理解它。 Async Await是围绕Promise的语法糖,在EcmaScript 8中引入。在此之前,编写异步代码的方式与编写普通同步代码截然不同,而Async Await使您能够以类似的方式结构您的代码,无论是同步还是异步。 在流行的JavaScript库和框架中,如React、Angular、Vue.js和jQuery,都有大量的异步操作。在Node.js中,几乎不可能在不使用异步操作的情况下编写任何代码。通过这门课程,您将能够有效地阅读和编写异步JavaScript代码,并深入理解其背后的工作原理! P.S. 本课程由乌克兰制作。

课程评论(0条)

课程详情

My main goal is to help you master Asynchronous JavaScript. This course was specifically designed for those who want to improve their skills in Callbacks, Promises, Async Await, and Event Loop. This course was designed to be easy to understand, and therefore there are a lot of visuals in it, especially when we are talking about important concepts. You will also see a lot of coding examples along the way.We will be talking about 3 main components of Async JavaScript: Callback functions, Promises, and Async Await.Callbacks in JavaScript are used everywhere. Creating event handlers, making HTTP requests, interacting with the DOM, setting timeouts, reading or writing data to the filesystem, working with databases, etc. I am pretty sure you are already using callbacks in your code, but I am not sure if you know how they actually work.Knowing how things really work will help you write your code faster and avoid weird bugs.Promises were created as a better alternative to callbacks. They don't have drawbacks that callbacks have. JavaScript promises are incredibly helpful when you have several asynchronous operations that depend on each other. However, promises are a new concept which you have to learn, and this course will help you with that.Async Await is a syntactic sugar around Promises introduced in EcmaScript 8. Before that writing asynchronous code in JavaScript was very different from writing ordinary synchronous code. Async await allows you to structure all your code in a similar way, no matter if it's synchronous or asynchronous.There is a lot of asynchronous stuff going on in popular JavaScript libraries and frameworks: React, Angular, Vue.js, jQuery, etc. In NodeJS it's almost impossible to write anything without using asynchronous operations. After watching this course you will be able to read and write asynchronous JavaScript code effectively, and you will definitely understand how it works behind the scenes!P. S. Made in Ukraine

课程标签

0人关注该课程

主题相关的课程