官术网_书友最值得收藏!

  • Mastering Reactive JavaScript
  • Erich de Souza Oliveira
  • 248字
  • 2021-07-09 20:33:05

Why do I need it?

Functional reactive programming is especially useful when implementing one of these scenarios:

  • Graphical user interface
  • Animation
  • Robotics
  • Simulation
  • Computer vision

A few years ago, all a user could do in a web app was fill a form with some data and post it to a server. Nowadays our web apps and mobile apps present to the user a richer interface, empowering them with real-time information and giving a lot more interaction possibilities. So, as the applications evolved, we needed more tools to achieve the new requirements.

Using it you can abstract the source of your data to the business logic of your application–this lets you write more concise and decoupled code, improves the reuse, and leads to a more testable code as you can easily mock your streams to test your business logic.

In this book we will use Reactive Extensions to explain and implement an example reactive application. Reactive Extensions are widely used in the industry and they have implementations for different languages (.Net, Scala, JavaScript, Ruby, Java, and so on) so you can easily translate the things you learn in this book to other languages.

In my personal opinion, Reactive Extensions have some concepts which are hard to understand for those unfamiliar with reactive programming. For this reason, we will learn the basics using a more simple library (bacon.js), and as soon as you understand the basics and the concepts, I will give you more tools using RxJS.

主站蜘蛛池模板: 台江县| 仲巴县| 阳江市| 临湘市| 衡阳市| 乌鲁木齐市| 万州区| 靖江市| 新河县| 阿坝县| 峡江县| 建始县| 盈江县| 高雄市| 昌江| 西藏| 喀喇| 司法| 关岭| 江城| 隆子县| 青神县| 合阳县| 凤山县| 临颍县| 景泰县| 客服| 临高县| 永兴县| 台州市| 西畴县| 梅河口市| 达州市| 甘南县| 天峻县| 广宗县| 丰顺县| 芜湖市| 台江县| 教育| 永昌县|