Had fun writing some code for custom processing of a Gravity form submission. I like how it turned out, mostly. I felt like I had an even better version, but the language couldn’t support it. Check it out.
Tag: gist
Modular Procedural Programming The WordPress Theme Customizer
Modular Procedural Programming The WordPress Theme Customizer
Tom wrote some code for enabling customization of a WordPress theme. I wrote a code response.
An OO PHP implementation of a collection of cachable functions
I don’t know about you, but I always get a bit excited when I get to use PHP’s magic methods.
Here’s an implementation I did at work for a class which contains multiple functions whose result needs to only be “calculated” every few minutes, but the results could be retrieved many times by different people within that period ( i.e. the functions are “cachable” ).