Async JavaScript

0
(0)

Async JavaScript
 

  • Author:Trevor Burnham
  • Length: 86 pages
  • Edition: 1
  • Publisher: Pragmatic Bookshelf
  • Publication Date: 2012-12-07
  • ISBN-10: B00AKM4RVG
  • ISBN-13: 9781937785291
  • Sales Rank: #1088564 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    Table of Contents

    Chapter 1. Understanding JavaScript Events
    Chapter 2. Distributing Events
    Chapter 3. Promises and Deferreds
    Chapter 4. Flow Control with Async.js
    Chapter 5. Multithreading with Workers
    Chapter 6. Async Script Loading

    中文:

    书名:Async JavaScript

    使用异步JavaScript,您将加深对JavaScript语言的理解。您将从一本关于JavaScript事件模型的入门读物开始–这是避免许多最常见的Java脚本错误的关键。在那里,您将看到将概念理解转化为实际代码的工具和设计模式。

    书中的概念通过来自浏览器和Node.js服务器框架的可运行示例进行了说明,这些示例包含了补充库,包括jQuery、Backbone.js和Async.js。通过掌握将事件分发到需要处理的位置的技巧,而不是在回调中嵌套回调,您将学习如何创建动态网页和高并发服务器。

    Async JavaScript将让您快速启动并运行真正的Web开发。当您完成承诺一章时,您将并行化AJAX请求或按顺序运行动画。到本书结束时,您甚至将了解如何利用Web Worker和AMD for JavaScript应用程序的尖端性能。最重要的是,您将拥有自信地编写异步代码所需的知识。

    目录表

    第1章.了解JavaScript事件
    第2章.分发事件
    第三章承诺和延期
    第4章.使用Async.js进行流量控制
    第5章.使用Worker进行多线程
    第6章.异步脚本加载

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册