Portable PHP in the Browser using WebAssembly
October 27, 2023 — Wouldn’t it be nice if you could run PHP in the browser and that too without installing anything on your machine? Well, a technology called WebAssembly lets you do just that.
A blog on PHP, JavaScript, and more
October 27, 2023 — Wouldn’t it be nice if you could run PHP in the browser and that too without installing anything on your machine? Well, a technology called WebAssembly lets you do just that.
October 23, 2023 — I have always been on the lookout for a good GUI client for databases on Linux. I have tried several of them including the current one I’m using called DBGate which is an Electron-based database client.
October 22, 2023 — Scoped CSS lands in Chrome 118. This is a new feature that allows you to scope the CSS to a particular element or part of the page. This is a great feature for component-based web development where you can scope the CSS to a particular component and it won’t affect the rest of the page.
October 20, 2023 — If you’re using Git, you might have noticed that the primary/default branch of a Git repository is called master
. But, since the word master
has a negative connotation, many organizations have started to use different names for the default branch.
October 18, 2023 — We have many ways to switch between light and dark themes on the web. We can use JavaScript to switch between themes or we can use the prefers-color-scheme
media query in CSS to switch between themes based on the user’s system preference.
October 12, 2023 — When you’re building a website, you might be tempted to use a transparent background for some elements. For instance, you may want to use a transparent background for the navigation bar or the header of the website.
October 10, 2023 — Using secure connections or HTTPS is not necessary in local development but it’s certainly a nice to have feature since you can more accurately test how your application will behave in a production environment and a few other things.
October 9, 2023 — As your application grows in popularity, it becomes a target for various attacks. And even if not so popular, there are bots that are constantly looking for vulnerabilities in your application.
October 5, 2023 — The terminal in VS Code is something I use the most in VS Code apart from the editor area. It’s great because you don’t have to switch the context to the terminal app to run commands. You can do it right from the editor itself.
October 4, 2023 — I was reading this Reddit thread the other day where people were discussing the fate of frameworks other than Laravel and Symfony.