Torrent details for "Zakas N. Understanding JavaScript Promises 2022 [andryold1]"    Log in to bookmark

wide
Torrent details
Cover
Download
Torrent rating (0 rated)
Controls:
Category:
Language:
English English
Total Size:
811.91 kB
Info Hash:
0da0ba02ef27bb28e60548c02e580565bc693da4
Added By:
Added:  
19-12-2022 22:02
Views:
277
Health:
Seeds:
1
Leechers:
0
Completed:
123
wide




Description
wide
Externally indexed torrent
If you are the original uploader, contact staff to have it moved to your account
Textbook in PDF format

Learn all about javascript promises from veteran javascript author Nicholas C. Zakas.
Since promises were added to javascript in 2015, they have become an integral part of the language. A good understanding of how promises work is more important than ever in becoming a proficient javascript developer. This book is written to introduce the promises and their intricacies in a straightforward, easy to read format. Each chapter is filled with practical, real-world examples using the techniques discussed, and all examples are available for download with your purchase.
One of the most powerful aspects of javascript is how easily it handles asynchronous programming. As a language created for the web, javascript needed to respond to user interactions such as clicks and key presses from the beginning, and so event handlers such as onclick were created. Event handlers allowed developers to specify a function to execute at some later point in time in reaction to an event.
Node.js further popularized asynchronous programming in javascript by using callback functions in addition to events. As more and more programs started using asynchronous programming, events and callbacks were no longer sufficient to support everything developers wanted to do. Promises are the solution to this problem.
Promises are another option for asynchronous programming, and they work like futures and deferreds do in other languages. A promise specifies some code to be executed later (as with events and callbacks) and also explicitly indicates whether the code succeeded or failed at its job. You can chain promises together based on success or failure in ways that make your code easier to understand and debug.
The goal of this book is to explain how javascript promises work while giving practical examples of when to use them. All new asynchronous javascript APIs will be built with promises going forward, and so promises are a central concept to understanding javascript as a whole. My hope is that this book will give you the information you need to successfully use promises in your projects.
What you'll learn
Which parts of promises are synchronous and which are asynchronous
How to effectively use promise chains to simplify your code
The best way to catch errors in promises
How to create your own promises
Ways to work with multiple promises at once
How async functions and await expression hide promise complexities
What happens to rejected promises without rejection handlers
Promise Basics
Chaining Promises
Working with Multiple Promises
Async Functions and Await Expressions
Unhandled Rejection Tracking
Final Thoughts

  User comments    Sort newest first

No comments have been posted yet.



Post anonymous comment
  • Comments need intelligible text (not only emojis or meaningless drivel).
  • No upload requests, visit the forum or message the uploader for this.
  • Use common sense and try to stay on topic.

  • :) :( :D :P :-) B) 8o :? 8) ;) :-* :-( :| O:-D Party Pirates Yuk Facepalm :-@ :o) Pacman Shit Alien eyes Ass Warn Help Bad Love Joystick Boom Eggplant Floppy TV Ghost Note Msg


    CAPTCHA Image 

    Anonymous comments have a moderation delay and show up after 15 minutes