I’m speaking at Nomad PHP: Banishing Loops with Functional Programming

I’ve written a couple posts here on WPShout about functional programming, the best of which is “Gentle Introduction to Functional PHP for WordPress Developers: Using Filter and Map on Arrays of Posts“. That post inspired me to give a conference talk, which got me invited to give a talk at the Nomad PHP online users-group. Nomad PHP has a small fee to see live talks, but it’s a nice little community and certainly for a talk that interests you well worth the largely nominal event charge.

David’s Talk on Using Functional PHP

I gave one of my most-loved conference talks last week at Southeast PHP. (That’s Southeast United States 🤓) In preparation, I recorded the talk as a video and put it on YouTube. And, I made a valiant, but ultimately failed attempt to distill the whole talk into written text. I did get a non-zero amount of it into written form, and if there’s demand (which you can easily express on the linked page), I will try again to write-up the rest.

The Three Development Paradigms: Procedural, Object-Oriented, and Functional

When you’re brand new to development in PHP or JavaScript, you don’t really need or want to think too hard about programming paradigms. You just want to get things to work. And that makes a lot of sense. But eventually as you go along, you start to wonder. What’s this “OOP” thing people seem obsessed with? Am I doing that? Should I be?

Gentle Introduction to Functional PHP for WordPress Developers: Using Filter and Map on Arrays of Posts

Pen function |functional programming in WordPress

Fred’s post last week was about filtering through arrays of posts and ordering them. He foreached through arrays, and then used PHP’s usort() function to get a list of alphabetized posts with comments open. That got me thinking a little bit about a topic I very briefly touched on in my summary of the JavaScript ecosystem: functional programming.

WP_Query: Understand it, Love it!

wp_query header image

This free WPShout Course is a step-by-step introduction to WP_Query, one of the most powerful systems in WordPess. By the end of the course, you’ll know what a WP_Query is, and how and why to use your own custom WP_Querys for theme and plugin development. It really is a revolutionary and powerful tool for every WordPress theme and plugin developer to master 🙂

When Coding, Make the Smallest Possible Change

learn wordpress development basics

After you develop for a while, and especially if you keep an ear out for wisdom that others offer, you get some habits. Those habits aren’t things you consciously think about, but they can make a big difference. I recently discovered that one such habit I have is that I always want to make the smallest possible change to the code I can. This often leads to simpler solutions. Today, I’m going to try to explore that intuition in a way that I hope will convince you of it being right.

How To Stop a Post Publishing (Without a Featured Image) in WordPress with jQuery

Require Featured Image JQuery WordPress

This week’s post is something new. It’s new in two ways. First, rather than being a mostly text post, I made this first as a screencast. If that’s a speed and format you like, watch away. (You’ll probably need to watch at 720p or better resolution, ideally full screen. First time recording on the new computer made me forgetful about those issues.)