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

How I joined Toptal

Back in October I got an invitation to join Toptal which is a platform that connects top class engineers with software companies.

What makes it different from other freelancing networks is that all the applicants go through a selection process and only 3% of them are accepted. Continue reading

Mocking Services for AngularJS tests

One of the things that I’ve enjoyed more in the last year is Test Driven Development, with the satisfaction of seeing the green after all tests have passed. AngularJS is written with testability in mind which makes testing applications easy. And although it can be hard to grasp at the beginning, there are a lot of good resources around to learn how to unit test the application logic. Continue reading