Category results for: Development

Posted on , Development

Simple Geocoding with Googe Maps

What is Geocoding? Geocoding is a process of transforming a description of a location into a pair of coordinates on the earth’s surface. How does Geocoding work? At a very basic level, your address input will be classified as relative, or absolute. An example of relative data would be the house next door, where an…

Posted on , Development

A better WordPress admin title.

At least for me!

At the moment I have 5 posts open to edit. Looking at them, all I see is “Edit Post < Adam Patterson – WordPress“. Sure 5 tabs aren’t that many and not that hard to sort through but I began to wonder why WordPress wouldn’t simply show the post title for pages and posts. Lucky…

Posted on , Development

Quickly start using Webpack Monitor with Laravel Mix

Know what you're packing

Webpack is the third build tool that I have used in the last 2-3 years. It’s inevitable that you will come across build tools. For small quick and dirty projects I still use Code Kit, But for those larger and more complex sites, I like to use Laravel Mix. It seemed to offer the most…

Posted on , Development

Docker, Staging sites, and Robots.txt

Deploying production and staging sites using Docker is quick and simple, but having one repo, two servers that need two environments can be tricky. My Docker setup involves a container on AWS, and deployments from Cloud Docker. When I deploy a change or a new feature to production or staging the entire environment is pushed….

Posted on , Development

How to get SSL working with MAMP.

What the heck Google!

I have an updated post on Super simple local wildcard SSL that will allow you to greatly simplify the certificate creation steps. Local SSL has always been something that I ignored. So I never gave it the time of day. That is until Google did the unthinkable. They bought the .dev TLD. And not only…

Posted on , Development

How to make WordPress play nice behind Flexible SSL

Flexible SSL is more than a fancy word. It’s an alternative to the more complicated and sometimes expensive method of adding a secure HTTPS connection to your site. Having a secure website isn’t just good for authentication, data integrity, or encryption. It is also something that Google will factor in when ranking your site. It…

Posted on , Development

Debugging with PHPStorm and Xdebug

See what's under the hood.

Setup If you haven’t configured MAMP to use Xdebug yet then you can do so by reading this quick article. In addition, add the following just under zend_extension. It should be noted that Xdebug should not be on your production server and enabling the remote_connect_back flag is also not recommended for publicly accessible staging servers…

Posted on , Development

MAMP and Zend Xdebug

This is more of a simple note to self. But after setting up a fresh computer, all of those fuzzy little bits about getting MAMMP to work perfectly slip my mind. The one thing that can be a little confusing with MAMP is the multiple config locations. For example, I am running PHP 7.1.8 and…

Posted on , Development

Effective caching with WordPress

You can only throw so much money at a problem before you are forced to fix it.

Effective caching with WordPress is not always a straightforward as it should be. WordPress has had the same architecture for many years, but it’s a large undertaking to revamp it. It means losing compatibility with hundreds of thousands of plugins and themes. Because of this WordPress runs a bit slower and needs some finer attention…

Posted on , Development

Image rotation is not supported by your web host.

When you build your own Web Server you are bound to run into little issues. In my case, they always seem to be WordPress related… Previously I had an issue connecting JetPack to WordPress.com, you can read about that here. Recently I attached a Featured Image on a blog post and went to rotate the…

Posted on , Development

Handle, The Child theme for Axe

Every Axeneeds a Handle

I created Axe (Which you can find here) to aid in my day to day workflow with WordPress, and once I had built enough sites using it. Refining the setup as I went, I was ready to make a child theme. Naturally, every Axe needs a Handle. One notable difference in flexibility is the use of…