I like to write clear and maintainable code. To be honest – sometimes I just don’t. However, I always look for how to make the code that I write to be better. While developing and enhancing my open source media player, Echoes Player, I tend to look again at the code and think of how […]
After upgrading my open source project, “Echoes Player“, to work with the latest stable angular-cli 1.0 version (wrote an article about it), I set down to refactor the application’s code. I always like to look at implementations few times and experiment with several approaches. This time, I wanted to take advantage of ngrx/effects observables and […]
With angular-cli tool entering RC-1, I decided to start migrating my open source project “Echoes Player” from angular class boilerplate. Some of the code in “Echoes Player” wasn’t AOT compatible. As a result, compilation logged errors to the console. In this post I’m sharing guidelines for making your ngrx related code compatible with AOT.
In the development of Echoes Player (ng2 version), I’m using ngrx/store for state management and ngrx/effects for logics with side effects. I’m always looking for better and simpler ways to write code – just experimenting with how code can be written differently. In this post I like to share a nice way for defining action creator […]
In a former article, I wrote an introduction for integrating ngrx/effects with Angular (+2) – a functional approach for reacting to a chain of events. Since then, based on this approach, I defined more side effects for several actions in my open source project, Echoes Player. It has really proven itself to be worthwhile in terms of […]