Posts

Slides on TV 1.1 is out!

Image
Release 1.1I've released a new version of Slides on TV theapp that make easy and comfortable (from your sofa)  to watch the presentations on your TV (for details please refers to my previous postWatch presentations on Apple TV - Here is SlidesOnTV)
Fig. 1 - Main Menu New Features
The main feature included in this release the “Favourites Management” with the possibility to: Save reference to your favourites slides avoiding to search for it again (such reference will be saved on ICloud) View Your saved Favourites Delete a Favourite

Reactive Programming and the RX (r)evolution

Meet-up at DevDay
Lately i've conducted a meet-up at DevDay, an Italian Developer Community,  to present the Reactive Programming Paradigm and Reactive Extension.
I believe in this approach and would like to share my experience, so I've presented a "slide deck" (embed at the end) and below is reported its summary.
1. The Reactive ManifestoI've briefly introduced the Reactive Manifesto, underlining which are, in my opinion,  the most important concepts coming out from it:

Asynchronousnon blockingMessage Driven back-pressureResilient
2. Why use ReactiveWhy the Reactive Systems are becoming so important in the modern age of the Microservices & Cloud ?

In this part I have introduced the importance of  :

Let's do it asynchronous Async != Multi threadsAsync == Never BlockImmutable State
3. When to be Reactive When Reactive Programming could help you ? For developing which Applications ?

In particular, during this part, I've shared my personal path toward Reactive Fun…

NodeJS - Event Loop unveiled

Image
NodeJS : An asynchronous single threaded environment 😮 When started to work with nodeJS i was surprised that it was advertised as "asynchronous single threaded" environment.

So I've tried to understand how it worked and then, at the end, I have dealt with famous and notorious event loop. Moreover, during studying, I've also figured out that its operation was the same either when Javascript run in NodeJS than in the whatever Internet Browser.
The Event Loop In the image below has shown the basic event loop schema that make clear the architectural choices behind  the callback model (and as consequence the callback hell).
In fact such model allows to decouple the event loop thread, where the main application runs, from all the resource consuming operations.

Event Loop in NodeJS The image below adds more details to the previous one in particular, concerning event loop, we find out event queue and worker threads that give us a bit more info about its operation.



What the …

Reactive programming by examples - Episode 1

Reactive World

Is almost one year that I have started to learn the reactive world, I began from its manifesto and i continued applying it in development of my Open Source projects and  in particular through the  languages JavaScript (and then RxJS), Java (and then RxJava) and Swift (and then RxSwift) Why Reactive ?


Initially I approached reactive paradigm like a kid that open the gift box with a new and unknown toy, mostly fascinated by the technological wave that carried with it a lot of “new” stuff like: functional programming, stream/event oriented programming, backpressure, “callback hell” solver.

But as always “all that glitters ain't gold!” and our capacity to understand context of problems make the real difference and help us to choose the right approach, language, paradigm and frameworks to put on the table.
Better explain by examples

So I would share with you some problems in particular contexts that I have dealt with reactive programming hoping that, like for myself, the appro…