Planning
This is a placeholder for emergency end of life planning eg. What Happens if You Get Hit by a Bus.
This is a placeholder for emergency end of life planning eg. What Happens if You Get Hit by a Bus.
This is a reference to WP Scripts, an npm package of pre-made configurations for webpack meant to help simplify the front end development workflow. This package is included in the underscores ( _s) starter theme. The package includes configurations for CSS and JS linters, unit and end to end testing, Sass compilation, and code splitting.
This is a placeholder for notes regarding oEmbed in WordPress. This is key after all: https://developer.wordpress.org/reference/classes/wp_oembed/ YouTube’s iframe API: IFrame Player API How do I get a YouTube video thumbnail from the YouTube API? https://oembed.com/ YouTube oEmbed support WordPress (Pods) oEmbed Items https://wordpress.org/support/topic/filter-hook-for-built-in-oembed-providers-eg-youtube/ How to get a YouTube thumbnail from a YouTube iframe? YouTube Data
oEmbed in WordPress Notes Read More »
This is a placeholder about remote storage. This JavaScript library can be used to sync and store data from local storage across devices. It allows the user to keep their data private or store with a cloud provider of their choice. I hope to use this to make an app that does not require a
I was writing a feature where I was on the client side writing the iframe code for a video oEmbed. This causes a delay while the content is loaded in the iframe. It behaves like an AJAX request in a sense. I discovered that the iframe raises a ‘load’ event when the content finishes loading.
I am creating some custom WordPress code and using my current favorite bundler, Parcel. I decide this time to take a hint from the source code of TwentyTwentyOne theme and use chokidar-cli to write my watch scripts directly. Watch has always been flakely for me, but so far this seems to be working out well.
I have mentioned in a few posts that I have been studying methods to speed up or perhaps more accurately, improve Lighthouse based page speed scores, for WordPress sites. As a test case I am using this site with it’s modest (aka cheap, shitty, shared) hosting. So far the results have been encouraging enough for
Speeding up WordPress – Lessons to Date Read More »
This is a placeholder for setup instructions for my current go-to solution for sliders and carousels – Glidejs. Probably should mention why I like Glide: No jQuery dependency. Has all the options I have ever needed. Easy npm install and configuration. Easy to integrate across any platform I have tried so far.
Glide Slider and Carousel Read More »
This is a placeholder to discuss the misconceptions regarding the JavaScript programming language, the DOM, and Web API interfaces present in the browser environment. These are distinct and this is not always a clear distinction. I think that some of the quirks and inconsistencies blamed on JavaScript are the result of the browser API implementation.
JavaScript vs. the DOM and Web APIs Read More »