Adding a custom Install button in Progressive Web Apps
June 9, 2021 — The other day, I was looking for a way to add a custom “Install” button in my Notepad app which is essentially a Progressive Web App (PWA).
A blog on PHP, JavaScript, and more
June 9, 2021 — The other day, I was looking for a way to add a custom “Install” button in my Notepad app which is essentially a Progressive Web App (PWA).
June 7, 2021 — If you have been working with Laravel lately, you might have used this feature called “conditional clauses” using which you will be able to run a certain callback when a condition becomes true
.
May 31, 2021 — Wouldn’t it be useful if you could define a certain action that should be performed every time your Blade templates encounter objects of a specific class?
May 25, 2021 — Laravel has this cool feature using which you can put your website in maintenance mode. To do so, all you will need to do is run the following command.
May 17, 2021 — When working on enterprise applications, it’s often the use-case to fetch data from the server from the frontend. This involves fetching data asynchronously and rendering it to the frontend when the data is fetched successfully or render the error message if something goes wrong during this entire process.
May 15, 2021 — When working on projects, it’s often a case when you would find yourself dabbling between different branches. Maybe you’re working on different features simultaneously or you’re keeping your feature branch up-to-date with your master/main branch. You would need to switch between branches in any of the cases.
May 12, 2021 — When working with functions, there might come the scenario where you’re unsure as to how many arguments a function would have. Basically, a function can have an unlimited number of arguments that you don’t define in the function signature.
May 7, 2021 — It’s just another day where I got to learn gemstone of command for Linux’s Bash shell once again.
May 5, 2021 — When you want to extend some of the classes’ functionality in Laravel, Macros are your best bet. Your imagination is the only limit to what you can do with macros.
May 3, 2021 — Sometimes, there might be a use case where you want to change the URL’s query parameters as you type in an input field.