When creating an interface and/or abstract class is an overkill

This is a small tip containing my thoughts on why we should not blindly create interfaces and/or abstract class for each and every class in our application. These are more of thoughts and some people may not agree with my school of thought but the idea here is to share my opinion with others so that others can share their thoughts and I/we will get to learn from them. Continue reading

Understanding Retry Pattern with Exponential back-off and Circuit Breaker Pattern

In this article we will discuss the importance of retry pattern and how to implement it effectively in our applications. We will also discuss how exponential backoff and circuit breaker pattern can be used along with retry pattern. This is more of a theoretical article since the actual implementation of retry will depend a lot on the application needs. Continue reading

Your App needs filtered data – Use ODATA

It is more than a common scenario that our apps(be it mobile apps or web apps) are backed by a service. These services are often RESTful these days as the benefits and flexibility of REST in undeniable. But its more than often that I see these services that are being written for consumption from the apps tend to have the endpoints exposed as per client app requirements. Continue reading

An Absolute Beginner’s Tutorial on Dependency Inversion Principle, Inversion of Control and Dependency Injection

In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection. We will start by looking at the dependency inversion principle. We will then see how we can use inversion of control to implement dependency inversion principle and finally we will look at what dependency injection is and how can it be implemented.  Continue reading