JavaScript Concurrency

0
(0)

JavaScript Concurrency
 

  • Author:Adam Boduch
  • Length: 345 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2016-01-06
  • ISBN-10: 1785889230
  • ISBN-13: 9781785889233
  • Sales Rank: #2206832 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    About This Book

    • Apply the core principles of concurrency to both browser and server side development
    • Explore the latest tools and techniques at the forefront of concurrent programming, including JavaScript promises, web workers, and generators
    • Learn how concurrent and parallel programming can help you tackle the challenges of fast, data heavy web development

    Who This Book Is For

    This book is written for any JavaScript developer who wants to learn how to write more efficient, powerful, and maintainable applications that utilize the latest developments in JavaScript.

    What You Will Learn

    • Understand exactly how JavaScript works in a web browser environment and how these mechanisms power our event-driven JavaScript code
    • Use promises to turn complex synchronization scenarios into readable and maintainable code
    • Compute values lazily and avoid unnecessary memory allocations using generators
    • Write concurrent code that doesn’t feel like concurrent code by abstracting away boilerplate chores
    • Leverage true hardware parallelism with web workers to get better performance
    • Get to grips with the NodeJS model of concurrency and learn why it’s good for I/O-intensive web applications

    In Detail

    JavaScript has evolved to adopt concurrent capabilities―one of the reasons why it is still at the forefront of modern web development. This book helps you dive into concurrent JavaScript and demonstrates how to apply its core principles, key techniques, and tools to a range of complex development challenges. Built around the three core principles of concurrency―parallelism, synchronization, and conservation―you will learn everything you need to unlock a more efficient and dynamic JavaScript in order to lay the foundations of even better user experiences.

    Throughout the book you will learn how to put these principles into action by using a range of development approaches. Covering everything from JavaScript promises, web workers, and generators to functional programming techniques, everything you learn will have a real impact on the performance of your applications. You will also learn how to move between the client and server for a frictionless and fully realized approach to development. With further guidance on concurrent programming with NodeJS, JavaScript Concurrency is committed to making you a better web developer.

    Table of Contents

    Chapter 1: Why JavaScript Concurrency?
    Chapter 2: The JavaScript Execution Model
    Chapter 3: Synchronizing with Promises
    Chapter 4: Lazy Evaluation with Generators
    Chapter 5: Working with Workers
    Chapter 6: Practical Parallelism
    Chapter 7: Abstracting Concurrency
    Chapter 8: Evented IO with NodeJS
    Chapter 9: Advanced NodeJS Concurrency
    Chapter 10: Building a Concurrent Application

    中文:

    书名:JavaScript并发性

    关于本书

    • 将并发的核心原则应用于浏览器和服务器端开发
    • 探索并发编程前沿的最新工具和技术,包括JavaScript Promises、Web Worker和生成器
    • 了解并发和并行编程如何帮助您应对快速、数据密集型Web开发的挑战

    Who This Book Is For

    这本书是为任何想要学习如何编写更高效、更强大和更可维护的应用程序的Java开发人员编写的,这些应用程序利用了JavaScript的最新发展。

    What You Will Learn

    • 了解Java在Web浏览器环境中如何工作,以及这些机制如何支持我们的事件驱动的Java代码
    • 使用承诺将复杂的同步场景转换为可读和可维护的代码
    • 使用生成器延迟计算值并避免不必要的内存分配
    • 通过抽象出样板的琐事,编写感觉不像并发代码的并发代码
    • 利用与网络工作者的真正硬件并行性来获得更好的性能
    • 了解并发性的NodeJS模型,并了解为什么它适合I/O密集型Web应用程序

    详细地说

    JavaScript已经发展到采用并发功能–这也是它仍然处于现代Web开发前沿的原因之一。本书将帮助您深入研究并发JavaScript,并演示如何将其核心原则、关键技术和工具应用于一系列复杂的开发挑战。围绕并发性的三个核心原则-并行、同步和保护-构建,您将学习解锁更高效、更动态的JavaScript所需的一切,以便为更好的用户体验奠定基础。

    在整本书中,您将学习如何通过使用一系列开发方法将这些原则付诸实践。涵盖了从JavaScript承诺、Web Worker和生成器到函数式编程技术的方方面面,您所学到的一切都将对您的应用程序的性能产生真正的影响。您还将学习如何在客户端和服务器之间移动,以获得一种无摩擦且完全实现的开发方法。通过对使用NodeJS进行并发编程的进一步指导,Java脚本并发致力于让您成为更好的Web开发人员。

    目录表

    第1章:为什么选择JavaScript并发性?
    Chapter 2: The JavaScript Execution Model
    第3章:与承诺同步
    Chapter 4: Lazy Evaluation with Generators
    Chapter 5: Working with Workers
    第六章:实践并行性
    第7章:抽象并发性
    第8章:NodeJS的事件IO
    Chapter 9: Advanced NodeJS Concurrency
    第10章:构建并发应用程序

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册