Dependency Inversion Principle

Source: Mostly based on Robert C. Martin article Engineering Notebook columns for The C++ Report.

Definition

As whole SOLID principles, also Dependency Inversion Principle comes to the world thanks to the Uncle Bob (Robert C. Martin). The most common principle definition what you can find in the Internet are those two points:

  • High-level modules should not depend on low-level modules. Both should depend on abstractions.
  • Abstractions should not depend on details. Details should depend on abstractions.
Read More

Value Based Pagination in Ruby on Rails

Have you ever had a situation like this: You are browsing the Internet, and on the page number 889 you find a bunch of great articles, which you want to share with your friends or just save in your browser tab to read it later. Seems like a good idea, right? Unfortunately, after few hours/days/month/decades, you realize that the link you have saved is now pointing to a completely different content! What a shame!

Read More

How to use PWA plugin in Vue CLI 3.0

In my previous post about Vue CLI 3.0 I’ve mentioned about PWA support plugin as one of the greatest features in my opinion. In this post, I’d like to introduce you into PWA world using Vue CLI 3.0.

Read More