Free  Redis caching engine for CakePHP 3

CakePHP provides various options as an application's caching engine out of the box. CakePHP's documentation is detailed and provides most of the answers we need. But it lacks the information of setting up Redis server itself in a server. In this tutorial, we will show you how to setup...

View details

Free  Benefits of using value objects

The value object is a term crafted from Domain-Driven Design book. According to Wikipedia, a value object is a small object that represents a simple entity whose equality is not based on identity. Money is a combination of a number and a currency. A period is a combination of a start time an...

View details

Free  Benefits of using application service classes

In today's tutorial, we share an architect pattern called service class. Definition of a service class Writing clean and reusable code is not easy, we learn different patterns to achieve that. The MVC(Model-view-controller) pattern is probably the first architect pattern you got to kno...

View details

Free  Debug MySQL slow query

Slow MySQL query is a common cause of the application bottleneck. Slow queries are often discovered when a large dataset is added, which means they often happen in a production environment. In this tutorial, we will learn how to debug slow MySQL queries. Table Of Content Enab...

View details

Free  How to search JSON data in MySQL

As of MySQL 5.7.8, MySQL supports a native JSON data type. In this tutorial, we will learn how to search for JSON data in MySQL. Table Of Content Sample data Select a JSON field ...

View details