Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 227 of 427

The Constraints of an API Are a Good Thing

Because WordPress is built using a number of languages none of which are compiled, it makes it completely possible to make things happen within your theme, plugin, or extension by circumventing the native APIs.

This means that if you wanted to, say, introduce some type of element on one of the dashboard screens or you wanted to introduce functionality into one of your templates that didn’t previously exist, there’s a strong chance that you’d be able to do so simply by “brute force.”

And by that, I mean that you’d be able to make something happen – and probably work correctly – without using the native set of APIs that are available.

But when you’re faced with that situation, I highly recommend taking a step back and determining if you’re approaching the problem in the best way possible given your set of constraints.

Continue reading

Let Go, Move On, and Focus

At some point, I think that many of us – if not all of us – have all been in a position where we feel like we have too much going on. Or, to use a cliché, we have too many irons in the fire.

Too Much Going On

In some ways, I think it’s a good thing. I mean, we’ve involved ourselves in a number of projects and activities all of which [hopefully] are contributing to something larger than ourselves for the betterment of the people around us, but, at the same time, we continue to add to this list of responsibilities that we have.

The thing is, those responsibilities may come in different forms. They don’t have to come in the form of projects that we’re working on on our computers or around the house, nor do they have to come in the form of something work related.

Perhaps your family changes in some way, perhaps you change in some way. Whatever the case, you find yourself looking for a little bit more margin – a little bit more breathing room so that you can either focus on all of the stuff that’s cropped up in your life, or so you can move on to higher priority projects.

The thing is, what are you supposed to remove that would ideally prevent the project from grinding to a halt all while making sure the right person takes the reigns to continue making sure that it stays in development (or whatever term works best here) and continues to benefit those who use it?

That’s the big question, right? Continue reading

Ask Me Anything at WP Chat

Comments are closed on this post. Please hold them until the AMA session begins on Monday :).

Last month, WP Chat held an “Ask Me Anything” or and AMA with Justin Tadlock. Justin, obviously a very popular, prolific, and respectable person in the WordPress economy, provided a great time even for those of us who were simply reading along (or for those who want to read along).

WP Chat is going to be making this a monthly event and I’m humbled to say that I’ll be participating in the next AMA session at WPChat on Monday night.

Continue reading

Quick Tip: Multiple InfoWindows with Google Maps

Recently, I’ve been working with the Google Maps API in order to plot locations that are stored as custom post type meta data in the WordPress database.

Google Maps InfoWindow

 

The general functionality is as follows:

  • For each of the locations stored in the database
  • Generate a pin for the location
  • In addition to creating a pin, create an information window that shows the pin’s location

The information windows that sit above the flags are also called infowindow within the context of the API.

The Google Maps API documentation is pretty good in covering stuff like this, but I did run into a couple of gotchas when working with it, so I thought I’d document them here just in case anyone runs into the same problem.

Continue reading

Interested in SEO For Beginners?

One of the things that I enjoy about keeping up with friends who are involved in different areas of development than I am is all of the cool things that they’re working on.

Sure, many are doing cool stuff within WordPress, but there are also a lot of people who are doing things with other technologies in web development, with OS X development, with eBooks, with their blogs, and so on.

I’ve had the pleasure of knowing Andrew Mason (no, not of Groupon), for the past several years and he’s someone who’s always got his hands in something media related – be it video production, audio production, or something along those lines.

Recently, he was tapped to narrate several audio books on search engine optimization, and he’s been kind enough to offer up several codes for free access to the audio book SEO Like I’m 5: The Ultimate Beginner’s Guide to Search Engine Optimization.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑