Javascript

angular2 – inject component(s) dynamically

March 11, 2017 Angular, Javascript No comments

A short ‘how to’ inject the components dynamically in angular2.
1. we’ll start with the application component
2. the application will use a component (name it injector or container) which will inject dynamically other components (HeroComponent) passed by the application

(more…)

rxjs Subject / ReplaySubject and Observable.publishReplay().refCount();

February 5, 2017 Javascript No comments

If you know what PubSub means then you can achieve nearly the same behavior with the Subject(s) features of the RxJS. More details here, here and here.

(more…)

big-o

December 11, 2016 Books, C/C++, Documentation, Javascript, PHP No comments

https://rob-bell.net/2009/06/a-beginners-guide-to-big-o-notation/

understanding ECMAScript 6

September 24, 2016 Books, Documentation, Javascript No comments

ES6 more details : https://leanpub.com/understandinges6/read