If you are a newcomer to the caching world, you may probable thing: “Why should I use Memcached? MySQL cache is faster.” This is true. But real life problems are quite different than theory. So, before I answer, let me set the stage using a simple scenario. I have a demo database table named “snames”…
Month: November 2017
OOP Inheritance: What, when and why
Intro Let’s start with some notes that set a baseline for the discussion. We have two types of inheritance. Interfaces and parent classes. An interface is similar to a parent class, but does not provide any implementation. The child class must override all methods. A middle ground is an abstract class where some methods are…