Dependency Injection vs. Dependency Injection Container in PHP
November 26, 2019 — In this article, I'll talk about Dependency Injection and Dependency Injection Container and why one should use DI Containers.
A blog on PHP, JavaScript, and more
November 26, 2019 — In this article, I'll talk about Dependency Injection and Dependency Injection Container and why one should use DI Containers.
November 20, 2019 — In this article, I've discussed regarding Nullable types that are introduced in PHP 7.1 and its usefulness.
November 12, 2019 — Today, I got to know about a very clean looking and intuitive way of unsetting/deleting a cookie from client's browser using PHP. No "setting the expiry time in past" bullshit.
November 6, 2019 — If you’re looking for a quick way to drop all the tables, their types and views and if you’re using Laravel 6.x, you can use this little artisan command called db:wipe
in order to do the same.
November 2, 2019 — In this article, I’m going to discuss about the feature in Laravel using which you can extend the functionality of certain Laravel’s core classes without even touching the original codebase. Or in other words, adding methods to the class dynamically.
November 1, 2019 — I'm not a person who watches this "series thingies" more often but there are some exceptions. I've been always interested in the Chernobyl nuclear disaster that happened in Ukraine back in 1986 ever since I've been a teenager. Our textbooks have a little details about the incident but that was very brief.
October 30, 2019 — In this article, I’m going to discuss about the union types which are going to come in future versions of PHP through this RFC. To understand why and how are union types important in PHP, let’s first understand what are union types.
October 9, 2019 — If you’ve used some well creafted web application, such as GitHub for instance, you might’ve noticed that upon saving sensitive information such as settings or payment details, it asks for the password confirmation before performing the action. This adds the extra layer of security and certainly a nice-to-have feature.
September 29, 2019 — PHP is funny sometimes. There are many things in PHP which behaves differently instead of the way you think might work. I recently stumbled upon one such thing while working on one of my projects.
September 17, 2019 — This is a quick write up on how I’ve started utilizing GitHub as a Content Delivery Network(sort of) and how you can do the same as well.