Design Patterns
Design Patterns are solutions to common/general problems while designing software. In this article we are discussing what design patterns are, the type and use-cases.
Design Patterns are solutions to common/general problems while designing software. In this article we are discussing what design patterns are, the type and use-cases.
This process will work in all cases, whether you are accessing your database through the command line or using any GUI tool (like MySQL Workbench or HeidiSQL). Because the size-related information is already saved in a specific MySQL table. Check the table named “TABLES” from the database “information_schema”, you will find all the information related to the sizes of the tables.
Factory pattern is one of the most popular and commonly used patterns. When we don’t know what is the type of object that is going to be generated then we use the Factory pattern to create objects based on some criteria.
Singleton pattern is used to ensure that only one instance of a class is created in any case, and whenever you want to get an instance of that class, then the same object instance is returned.
I have just started working on a new project, and the Microsoft SQL Server is being used for the project. But I am using Mac as my primary development machine … Read More
To run the Laravel queue, you need to run a command like: This is what you can use in your local development environment. But in production, you can not just … Read More
Issue I needed to add checking for placing a captcha on a site. The site was using the Laravel framework, and it needed to show a captcha in production only, … Read More
If you are working with JavaScript for a while, you will agree with me. This ‘this’ keyword is very confusing when you are writing code, especially when you read others’ … Read More
We have some data in a table (check the table below). In the table, there is entry_id, which is the primary key, there is city which is the name of … Read More
I have installed Nginx on one of my servers. The target was to run a blog there. After everything was set up, the blog was running, but I faced a … Read More