Async JavaScript

Async JavaScript pdf epub mobi txt 电子书 下载 2025

出版者:Pragmatic Bookshelf
作者:Trevor Burnham
出品人:
页数:104
译者:
出版时间:2012-12-8
价格:USD 17.00
装帧:Paperback
isbn号码:9781937785277
丛书系列:
图书标签:
  • 编程
  • 计算机
  • async
  • Web开发
  • Frontend
  • 计算机科学
  • 原版/影印
  • nodejs
  • JavaScript
  • Async
  • Promise
  • Await
  • Event Loop
  • Concurrency
  • Node
  • js
  • Browser
  • Web Development
  • Performance
  • Scalability
想要找书就要到 小美书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

With Async JavaScript, you’ll develop a deeper understanding of the JavaScript language. You’ll start with a ground-up primer on the JavaScript event model—key to avoiding many of the most common mistakes JavaScripters make. From there you’ll see tools and design patterns for turning that conceptual understanding into practical code.

The concepts in the book are illustrated with runnable examples drawn from both the browser and the Node.js server framework, incorporating complementary libraries including jQuery, Backbone.js, and Async.js. You’ll learn how to create dynamic web pages and highly concurrent servers by mastering the art of distributing events to where they need to be handled, rather than nesting callbacks within callbacks within callbacks.

Async JavaScript will get you up and running with real web development quickly. By the time you’ve finished the Promises chapter, you’ll be parallelizing Ajax requests or running animations in sequence. By the end of the book, you’ll even know how to leverage Web Workers and AMD for JavaScript applications with cutting-edge performance. Most importantly, you’ll have the knowledge you need to write async code with confidence.

What You Need:

Basic knowledge of JavaScript is recommended. If you feel that you’re not up to speed, see the “Resources for Learning JavaScript” section in the preface.

作者简介

Trevor Burnham is a JavaScript developer for HubSpot in Cambridge, MA. He speaks at conferences including RailsConf, Øredev, and FluentConf. His first book, CoffeeScript: Accelerated JavaScript Development, was published by Pragmatic Bookshelf. You can follow him on Twitter at @TrevorBurnham.

目录信息

Contents and Extracts
Acknowledgments
Introduction
Trouble in Paradise
Who Is This Book For?
Resources for Learning JavaScript
Where to Turn for Help?
Running the Code Examples
Code Style in This Book
A Word on altJS
Resources for This Book
Understanding JavaScript Events
Scheduling Events
Types of Async Functions
Writing Async Functions
Handling Async Errors
Un-nesting Callbacks
What We’ve Learned
Distributing Events
PubSub
Evented Models
Custom jQuery Events
What We’ve Learned
Promises and Deferreds excerpt
A Very Brief History of Promises
Making Promises
Passing Data to Callbacks
Progress Notifications
Combining Promises
Binding to the Future with pipe
jQuery vs. Promises/A
Replacing Callbacks with Promises
What We’ve Learned
Flow Control with Async.js
The Async Ordering Problem
Async Collection Methods
Organizing Tasks with Async.js
Dynamic Async Queuing
Minimalist Flow Control with Step
What We’ve Learned
Multithreading with Workers excerpt
Web Workers
Node Workers with cluster
What We’ve Learned
Async Script Loading
Limitations and Caveats
Reintroducing the <script> Tag
Programmatic Loading
What We’ve Learned
Tools for Taming JavaScript
TameJS
StratifiedJS
Kaffeine
Streamline.js
Node-Fibers
The Future of JavaScript: Generators
· · · · · · (收起)

读后感

评分

"编写工作流控制库确实是很好的练习,但没有必要为了看看轮子是怎么工作的就重新发明轮子。随着JavaScript 生态系统的成熟,工作流控制的概念会越来越普及,越来越标准化。暂时而言,如果你的应用需要工作流控制,那么最重要的是选择一个好的工作流控制库并掌握它。" 作者基本...  

评分

最近图灵喜欢出一些很薄很小的书,本书就是其中一例。不过,这个书虽小,但是已经将JavaScript异步编程方面讲了一遍。它可以解除你对JavaScript异步编程的一些误解,彻底了解它运行的机制,同时也给出了不少实际的解决方法。 “如果队列中至少有一个事件适合“触发”,则虚拟...

评分

"编写工作流控制库确实是很好的练习,但没有必要为了看看轮子是怎么工作的就重新发明轮子。随着JavaScript 生态系统的成熟,工作流控制的概念会越来越普及,越来越标准化。暂时而言,如果你的应用需要工作流控制,那么最重要的是选择一个好的工作流控制库并掌握它。" 作者基本...  

评分

俺还是译者,俺还是自我评价下哈。 这本薄书定价稍贵,不过没有办法,版权和印数决定了单位成本比较高。想看的同学们只有忍了,不过作为参考资料的话,在手边置一本也算是物有所值吧。 从内容上看,这本书确实如内容推介所言,进阶式叙述从起源到前沿,基本上目前你关于JS异...  

评分

俺还是译者,俺还是自我评价下哈。 这本薄书定价稍贵,不过没有办法,版权和印数决定了单位成本比较高。想看的同学们只有忍了,不过作为参考资料的话,在手边置一本也算是物有所值吧。 从内容上看,这本书确实如内容推介所言,进阶式叙述从起源到前沿,基本上目前你关于JS异...  

用户评价

评分

现代JS编程指南。

评分

蛮失望的,只是介绍了怎么用某些库来实现异步。起这么牛气的标题我还以为是要手动搞个实现呢。

评分

读篇论文里面各种 callback 不得不让我联想到 js

评分

读篇论文里面各种 callback 不得不让我联想到 js

评分

蛮失望的,只是介绍了怎么用某些库来实现异步。起这么牛气的标题我还以为是要手动搞个实现呢。

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有