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
The WordPress Event System: Understanding Hooks in the Broader Programming Context
WordPress’s hook system is an example of an “event driven” architecture or programming system.
Gentle Introduction to Functional PHP for WordPress Developers: Using Filter and Map on Arrays of Posts
When Coding, Make the Smallest Possible Change
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.
A Thorough Introduction to PHP Arrays
Maybe you’ve never written PHP before. Maybe you’re thinking that you’re so experienced in it that this article isn’t for you. If you fall into either of those camps, please keep reading. My goal today is to give a pretty thorough understanding of what PHP arrays are, and to highlight a few less-known things that even experienced PHP developers may not have known or realized.
Working with WP_Query
This 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.
How To Stop a Post Publishing (Without a Featured Image) in WordPress with jQuery
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.)
Using WP_Query Objects Without the Loop
I really enjoyed David’s article from a few weeks ago on the basics of functional programming as it applies to WordPress’s nested data structures. One of the nice things about working with him is that I learn a lot, too. Today, I want to continue exploring the somewhat-functional world David introduced, and suggest some freer ways of interacting with a very important entity in WordPress: the WP_Query object.