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

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.

主站蜘蛛池模板: 花垣县| 万宁市| 武义县| 胶州市| 交城县| 马关县| 开封县| 太白县| 新邵县| 岳普湖县| 乌兰察布市| 凉山| 清新县| 新疆| 尚义县| 彝良县| 托里县| 罗源县| 施秉县| 河津市| 庆云县| 巧家县| 易门县| 甘谷县| 宁国市| 高密市| 济宁市| 尉氏县| 濉溪县| 青州市| 颍上县| 满城县| 闻喜县| 龙川县| 宜良县| 安化县| 旬邑县| 甘泉县| 昭平县| 淄博市| 五原县|