Reactive Programming with RxJS: Untangle Your Asynchronous JavaScript Code

0
(0)

Reactive Programming with RxJS: Untangle Your Asynchronous JavaScript Code
 

  • Author:Sergi Mansilla
  • Length: 140 pages
  • Edition: 1
  • Publisher: Pragmatic Bookshelf
  • Publication Date: 2015-12-19
  • ISBN-10: 1680501291
  • ISBN-13: 9781680501292
  • Sales Rank: #1772762 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Reactive programming is revolutionary. It makes asynchronous programming cleaner, intuitive, and robust. Discover how to use the RxJS library to write programs in a simpler way, unifying asynchronous mechanisms such as callbacks and promises into a single, powerful construct. Learn to think about your programs as streams of data that you can transform by expressing what should happen, instead of having to painstakingly program how it should happen. You’ll be able to handle real-world concurrency and write complex flows of events in your applications with ease.

    Create highly concurrent applications while writing simpler code using the Reactive Extensions for JavaScript (RxJS), a set of libraries for event composition. Programming real-world applications in JavaScript involves lots of asynchronous events–you might end up spending more time coordinating asynchronous code in your program than writing its actual functionality. This book introduces concepts and tools from reactive programming that will help you write cleaner and more robust asynchronous programs.

    Find out about Observable sequences, a unifying data type to write highly concurrent code. Discover Schedulers and change the concept of time in your applications, making asynchronous testing sane again. Along the way you’ll see real-world examples for the browser and Node.js, including a real-time earthquake visualization in 20 lines of code and a frantic shoot-’em-up space videogame. You’ll also use Cycle.js – a modern, fully reactive web framework – to make a whole new breed of web applications.

    By the end of the book, you’ll know how to apply reactive programming to solve complex problems, build efficient programs with reactive user interfaces, and write your code more declaratively.

    What You Need:

    A modern web browser, Node.JS installed in your computer, and the RxJS JavaScript library.

    Table of Contents

    Chapter 1. The Reactive Way
    Chapter 2. Deep in the Sequence
    Chapter 3. Building Concurrent Programs
    Chapter 4. Building a Complete Web Application
    Chapter 5. Bending Time with Schedulers
    Chapter 6. Reactive Web Applications with Cycle.js

    中文:

    书名:Reactive Programming with RxJS: Untangle Your Asynchronous JavaScript Code

    反应式编程是革命性的。它使异步编程更加简洁、直观和健壮。了解如何使用RxJS库以更简单的方式编写程序,将回调和承诺等异步机制统一到一个强大的构造中。学会把你的程序看作是数据流,你可以通过表达 什么 应该发生,而不是必须费力地编程 多么 这是应该发生的。您将能够轻松地处理真实世界的并发,并在应用程序中编写复杂的事件流。

    创建高度并发的应用程序,同时使用RxJS的反应式扩展编写更简单的代码,RxJS是一组用于事件合成的库。用JavaScript编写现实世界中的应用程序涉及大量的异步事件,您最终可能会花费更多的时间来协调程序中的异步代码,而不是编写其实际功能。这本书介绍了来自反应式编程的概念和工具,它们将帮助您编写更干净、更健壮的异步程序。

    了解可观察序列,这是一种编写高度并发代码的统一数据类型。发现调度器并改变应用程序中的时间概念,使异步测试恢复正常。在这个过程中,你会看到浏览器和Node.js的真实例子,包括20行代码的实时地震可视化和疯狂的太空射击视频游戏。您还将使用Cycle.js&8211;一个现代的、完全反应性的Web框架来开发全新的Web应用程序。

    到本书结束时,您将了解如何应用反应式编程来解决复杂问题,如何构建具有反应式用户界面的高效程序,以及如何以更具声明性的方式编写代码。

    您需要的:

    现代的Web浏览器、安装在您计算机上的Node.js和RxJS JavaScript库。

    目录表

    第一章.反应方式
    Chapter 2. Deep in the Sequence
    第3章.构建并发程序
    第4章.构建完整的Web应用程序
    Chapter 5. Bending Time with Schedulers
    第6章.使用Cycle.js的反应式Web应用程序

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册