Web Developer Notes - Page 3
How to Run (Deploy) a Single Page Application (SPA) on Shared Hosting
Last updated: 06.11.2025
Views: 448
Building modern websites with Vue or React has become the standard practice in web development. However, when you try to deploy a Single Page Application (SPA) to a regular shared hosting environment, you may encounter a common issue — only the home page loads correctly, while all internal routes (pages) return a 404 error. This happens because the hosting server doesn’t understand client-side rou...
Vue Accordion Component
Last updated: 13.03.2026
Views: 758
A simple and lightweight Vue 3 accordion component plugin. Supports both global plugin registration and local component usage. Written in TypeScript. The accordion component contains a minimum of CSS styles, which makes it easy to integrate into any of your designs. You can install the component using the NPM or Yarn package managers. The component allows you to configure the ability to have one o...
How to Remove the jQuery Migrate Script from WordPress
Last updated: 26.10.2025
Views: 474
If your WordPress project uses jQuery, then by default, WordPress also loads the jQuery Migrate script along with it. In 99% of cases, you don’t actually need this script. jQuery Migrate restores support for outdated features that have already been removed from the main jQuery library.
You can determine whether jQuery Migrate is loaded by checking for a message in your browser’s console
...
WordPress Classic Widget (Plugin) Google Maps
Last updated: 28.03.2026
Views: 704
WS GMaps is a classic widget (plugin) Google Maps for WordPress CMS. The widget allows you to set multiple points on the map. In addition, there can be several widgets on one page. You can download the plugin for free. For the plugin to work, you need to specify the Maps JavaScript API key for Google Maps. You can generate an API key in the Google Cloud Platform (https://console.cloud.google.com/)...
Iterating Elements of Array without Loops
Last updated: 27.08.2025
Views: 500
The examples are very abstract because there are cycles. Our condition will be as follows. It is necessary to select all elements of the array by a given attribute. Or, to put it more precisely, it is necessary to filter the array. There are several solutions.
The most suitable option in PHP is to use the built-in function array_filter(). Let's imagine that it does not exist either. We write it...