AngularJS Services Part 1: Provider

I started using AngularJS couple of months ago, when we got a new client that wanted us to help with building an app written in Angular. After couple of months of using it, I found myself struggling with uber-phat controllers and I started thinking of solutions about extracting knowledge out of the controller into separate entities. Also, having the ability to easily inject those entities back into the controller is a must....

February 25, 2015 · 6 min · Ilija

SOLID Principles in Ruby

Regardless of your knowledge level, as a programmer you love to write awesome code. It’s what we do. We like it and we do it every single day. But, we all know that writing awesome code is not easy at all. So, how can we improve the code we produce every day? An awareness (or a reminder!) of SOLID principles is beneficial here. SOLID is a group of five principles that when applied correctly can help us produce better code....

June 5, 2014 · 10 min · Ilija