Skip to content

Slow Letter #2 โ€“ My favorite Season ๐Ÿ‚

Blog  โœบ  Newsletter

Time flies and 2023 is almost over. Finally the days are getting colder and shorter. I love the light in the fall season and how the wind makes the leafs dance as they fall to the ground. Somehow the melancholy of the season makes it my most productive time of the year.

This is my second newsletter (read the first one) and it's packed with things about Web Development, mostly WordPress & Laravel and some personal updates. So let's get started.

WordPress

I'm adding the finishing touches to a client project and it's the first WordPress client project for me in a while. I'm very impressed how much the block editor matured in the last two years. There will be a post soon on how to use the /patterns folder in your theme and PHP functions within the patterns.

The client asked me to strip the location data and camera model from the images during the upload to the media library. Their team might be working on site at a client project and there can't be any unnecessary meta data in the image files that will be used in case studies or blog posts. To strip the meta data from the images, I rewrote a code snippet from WordPress VIP to use the Imagick instead of the Gmagick PHP extension. Have a look:

Strip image metadata on upload in WordPress
Code Snippet to remove all image metadata when uploading an image to the WordPress media library using Imagick. Inspired by WordPress VIP

In another client project, I'll be using a Full Site Editing theme instead of my long time favorite GeneratePress for the first time. I'm creating a child theme for the very cool Ollie theme by Mike McAlister and Patrick Posner. They had a bit of a controversy getting the Ollie theme with it's one of a kind on-boarding experience into the WordPress theme directory and since moved this part into a separate plugin for now. Check out the Ollie theme:

Ollie WordPress Block Theme
Ride into the future of WordPress with Ollie. Start launching blazing-fast, pixel-perfect websites with the WordPress Site Editor and the Ollie WordPress block

To learn more about WordPress Full Site Editing, I can highly recommend the excellent Ollie theme Youtube channel and the Full Site Editing site by Carolina Nymark, packed with explanations and lessons to learn what the future of WordPress themes holds for us. Have a look:

WordPress full site editing and themes
Full site editing will change how everyone uses themes -and how we build them What is full site editing? Full site editing is a set of new WordPress

Here is a bit of a silly idea I had: My buddy Pascal released this beautiful site "The Periodic Table of WordPress Plugins" featuring the 108 most popular WordPress plugins. I decided to install all 108 plugins into a single fresh WordPress install and activate them all at once. Check out the post and the video about it:

The 108 most popular WordPress plugins active at once
As many of you, I desperately need to know what happens to a fresh WordPress site, when you install the 108 most popular plugins.

Of course this is a pretty useless thing to do, but there will soon be another silly WordPress video on my channel, so if this is your jam, feel free to subscribe.

By the way, if you are interested in creating your own videos, I created a handy color grading cheat sheet for DaVinci Resolve, because I constantly forget how to do it:

DaVinci Resolve Color cheatsheet
I recently started a Youtube channel and as my tool of choice for the editing workflow I decided on DaVinci Resolve. It has all the pro features needed and itโ€™s free to use (there is a paid version available). Letโ€™s get started with the color tools DaVinci Resolve is

That's it for my updates related to WordPress. In case you need more regular WordPress goodness, subscribe to the weekly Inside WP newsletter and help my buddy Remkus reach 1000 subscribers for the 100th newsletter, but don't tell him I sent you ๐Ÿคซ.


Laravel and more

Where to begin? There is so much going on in the Laravel ecosystem, I'll focus on what I worked on and discovered more recently.

There is a brand new version of my favorite PHP scratchpad. I use Tinkerwell daily in my WordPress and Laravel projects, locally and remotely. It's a magical piece of software, go check it out:

Tinkerwell โ€“ The PHP Scratchpad ๐Ÿ’ซ
Quickly iterate on PHP code within the context of your web application with Tinkerwell โ€“ the must-have companion for your favorite IDE.

When I started using Laravel a few years ago for a project with the University of Applied Sciences and Arts Northwestern Switzerland (what a long name and yes there will be a case study eventually), I fell in love with Laravel Livewire (everything to avoid writing more Javascript, right?).

A few weeks ago I had lunch with my friend and former colleague Samuel. We used Livewire extensively at a startup we worked for (another case study to be written ๐Ÿ™ƒ), at his current workplace, they are more on the Vue.js train.

When he asked me if Livewire was still growing and what types of projects it's being used for, I had an idea. With the recent release of Livewire V3 and becoming a first-party package for Laravel, I started working on a little pet project called Wire in the Wild:

Wire in the Wild - Real World Laravel Livewire Projects
Wire in the Wild collects Laravel Livewire and TALL Stack projects. Feel free to add yours, the more the merrier.

It's a growing collection of packages, public and non-public projects using Laravel Livewire. Feel free to add your project or any Livewire project you know. The goal is to build the largest collection of real world Livewire projects to inspire and convince people that it is an absolute joy to work with.

And of course we all know, a developers project isn't real until there are stickers, right?

The first edition of Wire in the Wild stickers
The first edition of Wire in the Wild stickers

To make it as easy as possible to add new projects, I decided to not use passwords. I'm using a password-less login approach with magic login links sent to you after you verified your email address. Learn how to implement this in your own project using the Laravel Breeze starter kit:

Laravel Passwordless Magic Login Link with Breeze
Implement password-less logins with a magic login link sent to your email instead. Code for the Laravel Breeze & the Passwordless Login package

Next up, I needed beautiful social share images for each project, but didn't want to create them by hand every time a project got reviewed and published. Here is how you can create social share images in your Laravel project:

Create Social Share Images with Laravel
Learn how to create social share images using Laravel. The images shown, when a public link is shared on Facebook, LinkedIn, X and messengers.

Have a look at an example share image for a project I'm working on with my friends over at Brain & Heart Communication (more about our collaboration and the project in the next newsletter):

Share image for a project on Wire in the Wild
Share image for a project on Wire in the Wild

There are already ideas to make Wire in the Wild even better, the ones below are already being worked on:

Please reach out if you want to become a sponsor or have any ideas to make it even better.

From the same creator that brought us Livewire, Caleb Porzio, came another very nice little framework called Alpine.js, think of it like jQuery for the modern web. A while ago I needed to show and hide passwords (for yet another project) on the registration and login forms. Here is how I did this with Alpine.js:

Show and hide password in an input field using Alpine.js
In this quick tutorial you learn how to create a show and hide toggle on an input field. To change the visibility of a password using Alpine.js.

There is so much more going on, but that's it for this issue from the Laravel ecosystem and beyond.


On a personal note

After more than 8 years in the same apartment, we are moving to a new place by the end of November. The perfect time to get rid of all the things we haven't touched in years, basically a forced end of the year cleanup. Another first, we hire a moving company instead of relying on our friends and paying them in pizza and beer, I'm certain their and our 30yr+ backs will appreciate it. Feels like the grown up thing to do.

In my first newsletter, I mentioned that I have sleep apnea. My daily life took a turn for the better since I started therapy with a CPAP machine and my energy level has changed quite a bit. Nonetheless, there is still a lot to work on, so I decided to share a rather personal story, with my struggles and tools that help me to be more productive, with what I call a "loud" mind. Maybe there is something in it for you too?

Keeping Calm and Productive with a โ€œLoud Mindโ€
Weird tips for people with a brain that doesnโ€™t shut up. My take on daily struggles and productivity for the โ€œloud mindโ€.

Before you go...

Feel free to comment on, reach out to me or share this newsletter with anyone you think would benefit from the content. Any feedback you have for me is greatly appreciated.

That's it for Slow Letter issue #2. The next one is hitting your inbox in early 2024.

Comments

You might like

Code Snippet: Remove Jetpack Related Posts from Woo Testimonials

WordPress  โœบ  WooCommerce  โœบ  Code Snippet

Keeping Calm and Productive with a "Loud Mind"

Personal  โœบ  Opinion