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.
发表于2024-11-24
Async JavaScript 2024 pdf epub mobi 电子书
这书前半部分说的是js的事件 异步,后半部分说的是解决异步不爽的地方。 js的最大特点是不阻塞,所以所有事件的执行都是不确定的。听上去是很糟糕的事情,但是这样可以保持cpu忙碌,从这个角度来提高系统的性能。 事件其实就是个消息机制,有利于解耦。事件...
评分"编写工作流控制库确实是很好的练习,但没有必要为了看看轮子是怎么工作的就重新发明轮子。随着JavaScript 生态系统的成熟,工作流控制的概念会越来越普及,越来越标准化。暂时而言,如果你的应用需要工作流控制,那么最重要的是选择一个好的工作流控制库并掌握它。" 作者基本...
评分最近图灵喜欢出一些很薄很小的书,本书就是其中一例。不过,这个书虽小,但是已经将JavaScript异步编程方面讲了一遍。它可以解除你对JavaScript异步编程的一些误解,彻底了解它运行的机制,同时也给出了不少实际的解决方法。 “如果队列中至少有一个事件适合“触发”,则虚拟...
评分"编写工作流控制库确实是很好的练习,但没有必要为了看看轮子是怎么工作的就重新发明轮子。随着JavaScript 生态系统的成熟,工作流控制的概念会越来越普及,越来越标准化。暂时而言,如果你的应用需要工作流控制,那么最重要的是选择一个好的工作流控制库并掌握它。" 作者基本...
评分前端开发的话,接触异步可能比服务器端的node.js开发人员少。在node.js开发中,无尽的异步会把人搞的头都晕,所以了解异步处理机制和优化异步代码非常重要,特别推荐node.js开发人员看一下该书。
图书标签: 编程 计算机 async Web开发 Frontend 计算机科学 原版/影印 nodejs
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.
真正懂的人会用轻松的口吻告诉你这很简单,因为他真的可以说出这究竟是个啥。读完此书,想起一句话,因为专注、所以专业。
评分前面写得好。
评分蛮失望的,只是介绍了怎么用某些库来实现异步。起这么牛气的标题我还以为是要手动搞个实现呢。
评分读篇论文里面各种 callback 不得不让我联想到 js
评分真正懂的人会用轻松的口吻告诉你这很简单,因为他真的可以说出这究竟是个啥。读完此书,想起一句话,因为专注、所以专业。
Async JavaScript 2024 pdf epub mobi 电子书