JavaScript with Promises: Managing Asynchronous Code

· "O'Reilly Media, Inc."
ਈ-ਕਿਤਾਬ
94
ਪੰਨੇ
ਯੋਗ

ਇਸ ਈ-ਕਿਤਾਬ ਬਾਰੇ

Asynchronous JavaScript is everywhere, whether you’re using Ajax, AngularJS, Node.js, or WebRTC. This practical guide shows intermediate to advanced JavaScript developers how Promises can help you manage asynchronous code effectively—including the inevitable flood of callbacks as your codebase grows. You’ll learn the inner workings of Promises and ways to avoid difficulties and missteps when using them.

The ability to asynchronously fetch data and load scripts in the browser broadens the capabilities of JavaScript applications. But if you don’t understand how the async part works, you’ll wind up with unpredictable code that’s difficult to maintain. This book is ideal whether you’re new to Promises or want to expand your knowledge of this technology.

  • Understand how async JavaScript works by delving into callbacks, the event loop, and threading
  • Learn how Promises organize callbacks into discrete steps that are easier to read and maintain
  • Examine scenarios you’ll encounter and techniques you can use when writing real-world applications
  • Use features in the Bluebird library and jQuery to work with Promises
  • Learn how the Promise API handles asynchronous errors
  • Explore ECMAScript 6 language features that simplify Promise-related code

ਹੋਰ ਲੱਭੋ

ਲੇਖਕ ਬਾਰੇ

Daniel Parker is a software developer focused on web and mobile applications. He writes JavaScript for Evernote in Austin, Texas and is the organizer of the Austin Google Developer Group.

ਇਸ ਈ-ਕਿਤਾਬ ਨੂੰ ਰੇਟ ਕਰੋ

ਆਪਣੇ ਵਿਚਾਰ ਦੱਸੋ

ਪੜ੍ਹਨ ਸੰਬੰਧੀ ਜਾਣਕਾਰੀ

ਸਮਾਰਟਫ਼ੋਨ ਅਤੇ ਟੈਬਲੈੱਟ
Google Play Books ਐਪ ਨੂੰ Android ਅਤੇ iPad/iPhone ਲਈ ਸਥਾਪਤ ਕਰੋ। ਇਹ ਤੁਹਾਡੇ ਖਾਤੇ ਨਾਲ ਸਵੈਚਲਿਤ ਤੌਰ 'ਤੇ ਸਿੰਕ ਕਰਦੀ ਹੈ ਅਤੇ ਤੁਹਾਨੂੰ ਕਿਤੋਂ ਵੀ ਆਨਲਾਈਨ ਜਾਂ ਆਫ਼ਲਾਈਨ ਪੜ੍ਹਨ ਦਿੰਦੀ ਹੈ।
ਲੈਪਟਾਪ ਅਤੇ ਕੰਪਿਊਟਰ
ਤੁਸੀਂ ਆਪਣੇ ਕੰਪਿਊਟਰ ਦਾ ਵੈੱਬ ਬ੍ਰਾਊਜ਼ਰ ਵਰਤਦੇ ਹੋਏ Google Play 'ਤੇ ਖਰੀਦੀਆਂ ਗਈਆਂ ਆਡੀਓ-ਕਿਤਾਬਾਂ ਸੁਣ ਸਕਦੇ ਹੋ।
eReaders ਅਤੇ ਹੋਰ ਡੀਵਾਈਸਾਂ
e-ink ਡੀਵਾਈਸਾਂ 'ਤੇ ਪੜ੍ਹਨ ਲਈ ਜਿਵੇਂ Kobo eReaders, ਤੁਹਾਨੂੰ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਨ ਅਤੇ ਇਸਨੂੰ ਆਪਣੇ ਡੀਵਾਈਸ 'ਤੇ ਟ੍ਰਾਂਸਫਰ ਕਰਨ ਦੀ ਲੋੜ ਹੋਵੇਗੀ। ਸਮਰਥਿਤ eReaders 'ਤੇ ਫ਼ਾਈਲਾਂ ਟ੍ਰਾਂਸਫਰ ਕਰਨ ਲਈ ਵੇਰਵੇ ਸਹਿਤ ਮਦਦ ਕੇਂਦਰ ਹਿਦਾਇਤਾਂ ਦੀ ਪਾਲਣਾ ਕਰੋ।