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异步编程的一些误解,彻底了解它运行的机制,同时也给出了不少实际的解决方法。 “如果队列中至少有一个事件适合“触发”,则虚拟...

評分

这书前半部分说的是js的事件 异步,后半部分说的是解决异步不爽的地方。 js的最大特点是不阻塞,所以所有事件的执行都是不确定的。听上去是很糟糕的事情,但是这样可以保持cpu忙碌,从这个角度来提高系统的性能。 事件其实就是个消息机制,有利于解耦。事件...  

評分

是我看过最薄的js书籍,但内容绝对都是干货。 是我看过最薄的js书籍,但内容绝对都是干货。 是我看过最薄的js书籍,但内容绝对都是干货。 是我看过最薄的js书籍,但内容绝对都是干货。 是我看过最薄的js书籍,但内容绝对都是干货。  

評分

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

評分

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

用戶評價

评分

真正懂的人會用輕鬆的口吻告訴你這很簡單,因為他真的可以說齣這究竟是個啥。讀完此書,想起一句話,因為專注、所以專業。

评分

現代JS編程指南。

评分

湊閤吧。

评分

湊閤吧。

评分

蠻失望的,隻是介紹瞭怎麼用某些庫來實現異步。起這麼牛氣的標題我還以為是要手動搞個實現呢。

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

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