By Fernando Doglio

This e-book teaches you the way to make use of Reactive Programming (RP) in your back-end improvement with Node.js. during the past, RP has mostly been utilized in front-end improvement, yet its progressive procedure may also remodel your back-end programming.
Using Reactive Programming with Node.js you will comprehend the paradigms of RP, why you can use it, and the diversities to be had to you. you'll use the most libraries essential to supply this improvement event in Node.js, together with RxJS, Bacon.js, Kefir.js, and Highland.js. additionally, you will create a customized library that offers the most positive factors, and how one can scale up a approach constructed utilizing RP in Node.js.
Ideal for back-end builders with wisdom of Node.js or JavaScript, this publication helps you to wake up and operating with RP in Node.js, and revolutionize your back-end improvement.
What you'll Learn<

  • What Reactive Programming is, and the entire adaptations there are.
  • How to exploit the most libraries that supply this sort of improvement event in Node.js.
  • How to create a customized library.
  • How to scale up a procedure constructed utilizing RP in Node.js.

Who This e-book Is For

Any back-end builders who comprehend Node.js or are complicated adequate to choose up the fundamentals alongside the way in which. perfect for builders who've an curiosity in studying approximately this assorted programming paradigm that is getting used an increasing number of each day.

Show description

Read or Download Reactive Programming with Node.js PDF

Similar human-computer interaction books

Haptic and Audio Interaction Design: 6th International Workshop, HAID 2011, Kusatu, Japan, August 25-26, 2011. Proceedings (Lecture Notes in Computer ... Applications, incl. Internet/Web, and HCI)

This e-book constitutes the refereed complaints of the sixth overseas Workshop on Haptic and Audio interplay layout, HAID 2011 held in Kusatsu, Japan, in August 2011. The thirteen average papers and 1 keynote awarded have been rigorously reviewed and chosen for inclusion within the ebook. The papers are equipped in topical sections on haptic and audio interactions, crossmodal and multimodal conversation and rising multimodal interplay applied sciences and platforms.

Haptic Human-Computer Interaction

Haptic human-computer interplay is interplay among a human computing device consumer and the pc consumer interface in keeping with the strong human experience of contact. Haptic has been mentioned and exploited for a while, rather within the context of laptop video games. in spite of the fact that, up to now, little recognition has been paid to the final rules of haptic HCI and the systematic use of haptic units for making improvements to potency, effectiveness, and pride in HCI.

Handbook of Research on Social Dimensions of Semantic Technologies and Web Services

The impression of IT on society, firms, and participants is growing to be because the energy of the net harnesses collective intelligence and data. The guide of analysis on Social Dimensions of Semantic applied sciences and internet companies discusses the most concerns, demanding situations, possibilities, and tendencies relating to this new know-how, remodeling the way in which we use info and data.

User-Centered Web Design

The best websites are those who can allure and maintain clients via being elementary and straightforward to navigate sites are discretionary use structures, the place the consumer is king and will simply stream in different places if awarded with ambiguities or complicated techniques. sites has to be designed with the consumer because the basic trouble in the event that they are to be successful.

Additional resources for Reactive Programming with Node.js

Sample text

The steps are very simple. For every key pressed: 1. Turn that character into a filename with the map function. 2. readFile method, so it will read the file with that name. 3. There is an extra step here, where you cast the buffer returned into an actual String. 4. log. Yes, the logic is pretty simple, but the beauty of it is that you’re focusing on that, not on how to read the file, handle errors, and all that low level jazz. 44 Chapter 3 ■ Functional Reactive Programming Summary This was a big chapter, I covered a lot in it, and you also got to have some fun while reading it—at least I hope you did!

Remember, get is not actually the function you want; instead, the one you want is the function returned by get when called with the list of items you want to extract the property from. This way, you can use it with the likes of map, reduce, compose, etc. map(get('name')); 28 Chapter 3 ■ Functional Reactive Programming That was a lot clearer than before, wasn’t it? map(fn); }); //now we can do something like: var listOfNames = map(get('name')); And the best part of it? This code is not referencing the list of users at all.

I’ll get back to this later. Now, with the Iterator Pattern, you have a much simpler pattern than with the Observer Pattern. Here, you’re just trying to decouple the algorithm required to traverse a collection, from the actual implemenation of the collection. The main advantage being that you can re-use the traversing algorithm over different types of collections. Figure 3-2 provides a visual explanation for this pattern. 39 Chapter 3 ■ Functional Reactive Programming Figure 3-2. UML diagram for the Iterator Pattern Figure 3-2 shows the textbook UML diagram for this pattern.

Download PDF sample

Rated 4.87 of 5 – based on 18 votes