Custom Bootstrap Sass build with Angular CLI

When a framework is new we all struggle to get things done right at first. From which function to use, to where to place the files, everything is part of the learning curve. And that’s why I wanted to share the best method I’ve found to use a custom build of the Bootstrap CSS, using Sass when developing an Angular 2 app with the awesome CLI. Continue reading

Atomic updates with AngularFire

I’ve been working lately with Firebase and I find it impressive. But I know from my experience when you are new to a framework or library it’s not easy to piece it together.

Firebase introduced atomic multi-location writes, which play really well with the concept of denormalization as we can update multiple locations at the same time. Continue reading

Mediator pattern in AngularJS

Before I left my previous company, I decided to introduce the mediator pattern in order to encapsulate the communication between our data models and the WebSocket. Although the implementation was a bit simple, I think it has a lot of power and future possibilities, making the code cleaner and unit testing live updates easier. Continue reading