Community
Articles
Topics
Q&A
Learn
Course
Programming Dictionary
Tools Library
Development tools
AI Tools
Website Source Code
PHP Libraries
JS special effects
Website Materials
Extension plug-ins
Leisure
Game Download
Game Tutorials
English
简体中文
English
繁体中文
日本語
한국어
Melayu
Français
Deutsch
Login
singup
Next Section: How to modify the state of an object
(860 plays)
Next Section
Watch Again
ဆ
Chapter
Note
Ask
Courseware
Feedback
Web front-end Promise tutorial from entry to mastery
Chapter1 Introduction
1-1 Promise video introduction
1-2 Introduction to Promises
Chapter2 First Experience
2-1 First experience with Promise 01
2-2 First experience with Promise 02
Chapter3 Practical exercises
3-1 fs read file
3-2 ajax request
3-3 Encapsulate fs reading file operation
3-4 The promisify method performs promise style conversion
3-5 Promise encapsulates AJAX requests
Chapter4 Object properties
4-1 Introduction to object status attributes
4-2 Introduction to object result value attributes
Chapter5 work process
5-1 Promise workflow
5-2 Promise API-constructor-then-catch
5-3 Promise.resolve method
5-4 Promise.reject method
5-5 Promise.all methods
5-6 Promise.race method
Chapter6 Promise key issues
6-1 How to modify the state of an object
6-2 Can multiple callbacks be executed?
6-3 Issues with the order of changing status and specifying callbacks
6-4 What determines the result returned by the then method?
6-5 Chain multiple tasks
6-6 abnormal penetration
6-7 How to terminate a promise chain
Chapter7 Promise custom packaging
7-1 Initial structure building
7-2 Resolve and regect structure construction
7-3 resolve and regect code implementation
7-4 Thtow throws exception to change state
7-5 The state of a Promise object can only be modified once
7-6 then method executes callback
7-7 Execution of asynchronous task callbacks
7-8 Specify multiple callback implementations
7-9 Synchronously modify the status then method result return
7-10 Asynchronously modify the status then method result return
7-11 then method improvement and optimization
7-12 catch method - exception penetration and value passing
7-13 resolve method encapsulation
7-14 reject method encapsulation
7-15 all method encapsulation
7-16 race method encapsulation
7-17 Asynchronous execution of then method callback
7-18 Implementation of class version
Chapter8 async function
8-1 async function
8-2 await expression
8-3 Combining async and await in practice
8-4 async and await combined to send ajax request
Previous section
Next Section
Tutorial List
get help
Course Recommendations
Courseware download
Elementary
Imperial CMS enterprise imitation website tutorial
3048 people are watching
Elementary
Newbies with zero foundation in WordPress build personal blogs and corporate websites
6743 people are watching
Elementary
Ultimate CMS zero-based website building instruction video
2724 people are watching
Elementary
Front-end project-Shangyou [HTML/CSS/JS technology comprehensive practice]
3117 people are watching
Intermediate
Vue3.0 from 0 to build a universal backend management system project practice
5351 people are watching
Elementary
Zero-based front-end course [Vue advanced learning and practical application]
2821 people are watching
Elementary
WEB front-end tutorial [HTML5+CSS3+JS]
3506 people are watching
Elementary
Quick introduction to apipost
2161 people are watching
Intermediate
Vue3+TypeScript practical tutorial-enterprise-level project practice
3208 people are watching
Elementary
Let's briefly talk about starting a business in PHP
17423 people are watching
Intermediate
VUE e-commerce project (front-end & back-end dual project actual combat)
3828 people are watching
Elementary
Apipost practical application [api, interface, automated testing, mock]
2265 people are watching
Web front-end Promise tutorial from entry to mastery courseware
Belongs to chapter:Web front-end Promise tutorial from entry to mastery
Download
Students who have watched this course are also learning
492900 plays
Let's briefly talk about starting a business in PHP
Quick introduction to web front-end development
Large-scale practical Tianlongbabu development of Mini version MVC framework imitating the encyclopedia website of embarrassing things
Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]
Login verification and classic message board
Computer network knowledge collection
Quick Start Node.JS Full Version
The front-end course that understands you best: HTML5/CSS3/ES6/NPM/Vue/...[Original]
Write your own PHP MVC framework (40 chapters in depth/big details/must read for newbies to advance)
notes
X