In the past year or so, I have been learning AngularJS (aka Angular 1) and have found it intuitive and enjoyable. I used it on a few different projects, both for clients and for fun. When I first began looking into Angular 2 (aka just plain Angular as opposed to AngularJS, which is now a […]
We previously wrote about how you can pre-populate input values in Gravity Forms. The comments for that post revealed something obvious that we missed – the technique does not work for checkbox fields or any other fields that have pre-defined choices, such as radio buttons and dropdowns. For this blog post, we are focusing on […]
Merging code, especially when authored by multiple people, can lend itself to a lot of risk. As a code base grows, there may be an underlying feeling that more bugs exist than we can find by digging through our code editor or our application’s various screens. Unit testing is a process that lets us test […]
Recently, I’ve been putting a lot of time and effort into leveling up my PHP skills. When my last round of leveling up began, I knew a good bit of basic-to-advanced PHP. The thing was, I had come to the realization that I simply felt comfortable with my level of proficiency. Once I realized this, […]
Using the autoloading feature of PHP gives us cleaner code and less worry, not to mention it encourages better organization of our files.
This is a story about how my own code broke a site in development after migrating from PHP 5 to PHP 7, and what I did to fix it. On December 3 2015, PHP 7 was released. Along with significant speed increases, there were some breaking changes that make it not 100% backward compatible with […]
OK, so it’s technically impossible to extend WP_Post. Big deal. Still, I’m thinking a lot about how I might go about extending WP_Post for my own purposes; and I’m experimenting with classes that “kind of” extend WP_Post, because the class is not going to be final forever. In a Trac ticket from 2013, we have […]