Articles - Ryan Kienstra

Creating Test Pages With WP-CLI

By: Ryan Kienstra on: June 24, 2018  in: Plugins

When you’re developing a new feature, it sometimes helps to write a a WP-CLI script to create a test page. This helps with: Your development Code reviews QA Here are some examples where creating test pages with WP-CLI can help. Embed Test Page On the AMP plugin, we added support for native WordPress embeds and […] Read more

plugin support topics

Responding To WordPress Plugin Support Topics

By: Ryan Kienstra on: May 27, 2018  in: Communication, Plugins plugin support topics are a good way to know how real people are using your plugin. They’re also a chance to win back people that have doubts. Here are some points that have helped me in responding to plugin support topics. Be Personal Thanks for letting me know about this. Using “me” and “I” […] Read more

Online conference concept

Meetings As A Developer

By: Ryan Kienstra on: January 10, 2018  in: Communication

Here are some points that have helped me in meetings, working at XWP: Watch Yourself Watch meeting recordings, if they exist. Or make Quicktime videos of yourself explaining technical issues. For example, I look a little too serious, especially talking about technical topics. So I work on smiling more. Talk Slowly I tend to talk quickly, […] Read more

Computer monitor

Code Reviews: Guiding, Not Solving

By: Ryan Kienstra on: October 25, 2017  in: Programming

When reviewing code, sometimes I’m tempted to do the work myself. By commenting with the exact code snippet. Especially in reviews for less experienced developers, it can be faster. And it can prevent a second round of review. But I think being less clear is better for both of us. For example, when reviewing this line: […] Read more

telescope icon

Steve McConnell on Software Estimation

By: Ryan Kienstra on: October 24, 2017  in: Programming

It is difficult to make predictions, especially about the future –unknown source Predictions are hard. But I think the real goal of software estimation is to be as accurate as possible. And then convey any uncertainty in the estimate. Steve McConnell’s Software Estimation: Demystifying the Black Art gives some great ways to do this. Some […] Read more

deploying-on-time icon

Deploying on Time to WordPress VIP

By: Ryan Kienstra on: March 5, 2015  in: Programming

With the WordPress VIP code review process, deploying on time can be a challenge. But a VIP Developer Orientation video has great advice on this. And the VIP coding standards are just the beginning. Commit Messages In the orientation, VIP engineer Spencer Cameron-Morin said that detailed commit messages are crucial. He said that they could take […] Read more

Write jQuery Plugins

How To Write jQuery Plugins

By: Ryan Kienstra on: February 7, 2015  in: JavaScript

You’ve written complex jQuery code. And you’d like it to be clearer, or more flexible. Maybe you’ve heard how easy it is to extend jQuery. Here’s why and how to write jQuery plugins. Why Write jQuery Plugins? 1. Use 1 less argument jQuery plugins could be plain functions. But they’d have to take a jQuery […] Read more

Prevent JavaScript Bugs icon

7 Ways To Prevent JavaScript Bugs

By: Ryan Kienstra on: January 27, 2015  in: JavaScript

JavaScript is flexible, and it doesn’t throw many errors. But it makes it easy to create bugs. These 7 conventions will help you prevent JavaScript bugs. 1. Equality Operators Use === and !== not == and != The expression ( foo === "" ) is more reliable than ( foo == "" ). The operator === […] Read more