reklama - zainteresowany?

JavaScript with Promises - Helion

JavaScript with Promises
ebook
Autor: Daniel Parker
ISBN: 978-14-919-3074-8
stron: 94, Format: ebook
Data wydania: 2015-06-01
Księgarnia: Helion

Cena książki: 63,74 zł (poprzednio: 74,99 zł)
Oszczędzasz: 15% (-11,25 zł)

Dodaj do koszyka JavaScript with Promises

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

Dodaj do koszyka JavaScript with Promises

 

Osoby które kupowały "JavaScript with Promises", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka JavaScript with Promises

Spis treści

JavaScript with Promises eBook -- spis treści

  • Preface
    • Intended Audience
    • A Word on Style
    • Conventions Used in This Book
    • Using Code Examples
    • Safari Books Online
    • How to Contact Us
    • Acknowledgments
  • 1. Asynchronous JavaScript
    • Callbacks
    • Asynchronous JavaScript
    • Run to Completion and the Event Loop
    • Summary
  • 2. Introducing Promises
    • Basic Usage
    • Multiple Consumers
    • Promise States
    • Chaining Promises
    • Callback Execution Order
    • Basic Error Propagation
    • The Promise API
    • Summary
  • 3. Working with Standard Promises
    • The Async Ripple Effect
    • Conditional Logic
    • Parallel Execution
    • Sequential Execution Using Loops or Recursion
    • Managing Latency
    • Functional Composition
    • Summary
  • 4. Using Libraries and Frameworks
    • Promise Interoperability and Thenables
    • The Bluebird Promise Library
      • Loading Bluebird
      • Managing Execution Context
      • Wrapping Node.js Functions
      • Working with Collections of Promises
      • Manipulating Fulfillment Values
    • Promises in jQuery
    • Summary
  • 5. Error Handling
    • Rejecting Promises
    • Passing Errors
    • Unhandled Rejections
    • Implementing try/catch/finally
    • Using the Call Stack
    • Summary
  • 6. Combining ECMAScript 6 Features with Promises
    • Destructuring
    • Arrow Functions
    • Iterables and Iterators
    • Generators
      • Synchronous Style
      • Generators and Iterators
      • Sending Values to a Generator
      • Sending Errors to a Generator
      • Practical Application
    • Summary
  • Index

Dodaj do koszyka JavaScript with Promises

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.