Dynamic database connection based on request – Symfony and Doctrine

Symfony and Doctrine give us an easy way to deal with several databases if they are explicitly specified in a configuration file. However, there are some cases where we need…

Read more »

Active Record pattern (or anti-pattern) – overview

Active Record is one of the most controversial architectural patterns with many supporters and opponents. Some people even call it the anti-pattern. Despite this, it is very common in many…

Read more »

What’s new in PHP 8

PHP 8 has been finally released on November 26, 2020. The new major version of the language contains a long-awaited JIT compiler and some new features (union types, attributes, constructor…

Read more »

Solution for 419 Page Expired error in Laravel

The 419 Page Expired error is very common and easy to fix in Laravel applications. It’s caused by the internal framework mechanism called CSRF protection. CSRF stands for Cross-Site Request…

Read more »
React JS - handling url parameters

Getting parameters from URL in a React application

The question about getting parameters from the URL address appears on forums for developers very often. In this post, I am going to show you two very simple, yet useful…

Read more »

Installing a free SSL certificate (HTTPS) for Nginx on Ubuntu 18.04

In this post, I am going to explain how to obtain a free SSL certificate and install it on the Nginx server. Recently I wrote a similar post about installing…

Read more »

Delegating IDN domain to AWS EC2 instance

Some time ago I have published a post about delegating a domain to Route 53 service and then pointing it to an EC2 instance. You can find this post here….

Read more »

Domain delegation to AWS EC2 instance

Delegating domains to AWS EC2 is a common issue for people who are starting their adventure with this cloud provider. It’s not complicated but some of you may find it…

Read more »

A callback function of setState in ReactJS

In this post, I am going to briefly explain how to use a callback function of the setState() method. The behavior of the setState() method seems simple but sometimes it…

Read more »

Installing a free SSL certificate (HTTPS) for Apache2 on Ubuntu 18.04

SSL certificate is one of the most crucial things you have to take care of to improve the security level of your website. And since the most popular browsers started…

Read more »