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

Chapter 1. Introduction to Reactive Programming

Reactive programming has become a very popular and in demand topic over the last few years, and even though the ideas behind it aren't new, it takes the good parts from multiple different programming paradigms. This book's purpose is to teach you how to start writing PHP applications with principles of reactive programming in mind and in combination with pre-existing libraries.

In this chapter, we'll learn the most important principles that will guide us throughout this entire book:

  • Recap well-known programming paradigms and quickly explain their meaning for humans.
  • We'll see how we can use functional PHP programming, even today, using practical examples. We pay special attention to how we can use anonymous functions.
  • Explain what reactive programing is and what good parts it takes from other programming paradigms.
  • We'll have a look at some examples of widely spread JavaScript and PHP libraries that already use very similar principles to reactive programming.
  • Introduce Reactive Extensions and see how these fit into the world of reactive programming.
  • Show what using Reactive Extensions looks like using RxJS and how it fits into the grand scheme of things.
  • Create a first simple demo with RxPHP library.

Since reactive programming is a programming paradigm, we'll take a quick look at other common paradigms that all of us have probably already heard of and that you'll see mentioned every time you read or hear about reactive programming.

主站蜘蛛池模板: 封开县| 皋兰县| 安阳县| 修文县| 朝阳县| 陕西省| 东乌珠穆沁旗| 怀远县| 读书| 鹤山市| 屏东县| 上栗县| 乌海市| 英山县| 阿克陶县| 无棣县| 兴海县| 阿尔山市| 谷城县| 宜昌市| 仁怀市| 澎湖县| 靖边县| 英超| 仙居县| 东莞市| 吉木乃县| 潞西市| 乌鲁木齐县| 穆棱市| 厦门市| 科技| 吴川市| 海盐县| 衡阳县| 永吉县| 漠河县| 汶川县| 湘潭市| 林口县| 亚东县|