Posted on May 8, 2019Categories Plugin Development, Technology, WordPressTags , , , , , ,   Leave a comment on Cloning A VVV 2.6 Install

Cloning A VVV 2.6 Install

Decided to upgrade my long-term VVV setup that I use for daily client consulting work in preparation for a new gig as head of R&D and CTO for a super cool tech startup. As usual I should have left things alone as it was working fine; I only wanted to play with the newer VVV toys. You’d think I’d learn by now. What I ended up doing was cloning a working baseline VVV install I had created a few weeks … Continue reading “Cloning A VVV 2.6 Install”

Posted on May 8, 2019Categories PHP, Programming, Technology, WordPressTags , , , , 2 Comments on Ubuntu Trusty: PHP 7.2 MIA

Ubuntu Trusty: PHP 7.2 MIA

Working with Varying Vagrant Vagrants today and having problems spinning up a new box? Don’t blame yourself. It appears that the PHP 7.2 libs… in fact ALL of the PHP libs for Ubuntu Trusty have gone away. The ppa:ondrej/php repository that is cited everywhere has decided it is not going to serve up any PHP code to your Vagrant boxes today. Maybe they’ll fix it soon. Maybe not. If anyone has a workaround please comment here.

Posted on March 25, 2019Categories TechnologyTags , , , , , , , , , , 1 Comment on The Code Block : WordPress Plugin Development Block 0

The Code Block : WordPress Plugin Development Block 0

The very first class at The Code Block at The BlockYard is going to begin the journey with WordPress plugin development. This is a starting point only. Something to get the ball rolling. Anticipate multiple forks as we start down the “Code Block chain”. We most certainly will end up in places we don’t expect as we follow this coding journey were it takes us over the next 6 months.

Posted on January 5, 2018Categories Development, Plugin Development, Programming Languages, Technology, WordPressTags , , , , , , , , , , , , , , 1 Comment on Automated Web App Testing With phpStorm

Automated Web App Testing With phpStorm

Selenium IDE was a great way to handle automated web app testing like the Store Locator Plus plugins for WordPress.    Selenium IDE is a simple script recorder and playback too that runs on Firefox.    Or, I should say, it used to run on Firefox.  That broke in 2017 when Firefox 52 came out. After a lot of research I finally found a viable alternative to Selenium IDE that will work with modern browsers.  It is also free, locally … Continue reading “Automated Web App Testing With phpStorm”

Posted on December 16, 2017Categories UncategorizedTags , , , , , , ,   Leave a comment on Profile WordPress Cron Jobs With VVV

Profile WordPress Cron Jobs With VVV

I recently found that I needed to Profile WordPress Cron to figure out the best way to improve the processing time on background file imports. In an effort to better handle on large location imports in Store Locator Plus, I re-architected the Power add on to split the process into 3 steps.   The first step uploads the file to the server; something that is typically fairly fast and only ties up a user’s web browser for a few minutes … Continue reading “Profile WordPress Cron Jobs With VVV”

Posted on November 16, 2017Categories Plugin Development, WordPressTags , , , , 3 Comments on Using Custom Vagrant Sites For WordPress Development

Using Custom Vagrant Sites For WordPress Development

As with many things in life, I recently learned that I’ve been doing things the hard way when it comes to WordPress development and Vagrant. I got on the Varying-Vagrant-Vagrants bandwagon years ago.   It made it easy to write my Store Locator Plus code and test it on several different WordPress installations.    Along the way I learned how to provision my test boxes and share code between them.   When VVV 2 came out earlier this year I … Continue reading “Using Custom Vagrant Sites For WordPress Development”

Posted on March 20, 2017Categories TechnologyTags , , , ,   Leave a comment on xDebug Remote Debugging With WordPress and phpStorm

xDebug Remote Debugging With WordPress and phpStorm

I’ve been using phpStorm to do local debugging of my WordPress app on a VVV box for a few years now.   This week I have been running into some challenges with the MySLP SaaS service and while the app works fine on my local setup it is not behaving the same way on the staging deployment out in the cloud.   I need to know why and I’m tired of hard-hacking the code on the staging site with error logs.    Live … Continue reading “xDebug Remote Debugging With WordPress and phpStorm”

Posted on July 15, 2016Categories Plugin Development, Technology, WordPressTags , , , , ,   Leave a comment on A WordPress Plugin Coding Adventure – A Love Hate Relationship

A WordPress Plugin Coding Adventure – A Love Hate Relationship

Over the past 48 hours I spent time between numerous meetings writing another WordPress Plugin, a WooCommerce Report Modifier that we need for our Store Locator Plus store.   I’ve not written a “new from scratch” plugin that was not related to the Store Locator Plus system for quite some time.    It gave me a new perspective on the entire WordPress plugin coding adventure. Open Source Is Great One of the biggest things I re-affirmed about coding plugins for WordPress is … Continue reading “A WordPress Plugin Coding Adventure – A Love Hate Relationship”

Posted on July 11, 2016Categories Plugin Development, Technology, WordPressTags , , , , , ,   Leave a comment on More Notes On PHP Version Switching in VVV

More Notes On PHP Version Switching in VVV

This article is a follow-on to Changing PHP Version on Vagrant . Here are some discoveries of using different versions of PHP on vagrant. Change Your Host The default vvv installation has the db_host set to ‘localhost’ in the wp-config.php file. phpbrew, however, sets the default db listener to 127.0.01 explicitly.   They do not want to change it as they claim “this is the proper default”.   As happens often with technology gurus both the VVV camp and the phpbrew camp … Continue reading “More Notes On PHP Version Switching in VVV”

Posted on June 29, 2016Categories Plugin Development, Technology, WordPressTags , , , , , , , 2 Comments on Changing PHP Version On Vagrant

Changing PHP Version On Vagrant

(adsbygoogle = window.adsbygoogle || []).push({}); After nearly 24 hours of working on this issue I finally figure out how to change the running version of PHP from the WEB SERVER under VVV for my WordPress development environment.  I recall, at a WordPress conference last year, someone touting how easy it was to change PHP versions to test plugin and theme development on various deployment stacks.    Sure, if you happen to want to pull a whole new box image with just … Continue reading “Changing PHP Version On Vagrant”