Tom McFarlin

Software Engineering in Web Development, Backend Services, and More

Page 198 of 433

Debugging Minified Files in WordPress

As much as I’m a proponent of concatenating and minifying dependencies, it’s not without challenges. Sure, this is includes both stylesheets and JavaScript, but I’m specifically talking about debugging minified files in WordPress.

Debugging Minified Files in WordPress

A minified bug. Get it?

It’s one thing to have your JavaScript files separated and organized in your Development. But when it’s time to deploy to Production, you should be aiming for a few minified files.

For example, say a client contacts you claiming something on their site isn’t working? You load up the site, you check the browser console and see there’s an error in the JavaScript.

Wait. You’ve minified all the files.

So what now?

Continue reading

When Clients Disappear Without Paying

When starting a business, there’s a lot of things to think about. For example:

  • The idea of working for yourself is exciting
  • The challenges of managing your own retirement can be tough
  • Navigating the tax code can be tougher (get a CPA!)
  • Keeping your own books can be tedious
  • Working with clients can be a lot of fun, but also tough
  • …and so on.

A lot of it is exciting, some of it is scary, and some of the it you might expect but don’t really know how to handle until it actually happens.

Case in point:

When working with a client, what do you do when you’ve completed a project, they disappear, and they don’t pay the final invoice?

This is when self-employment gets a little tougher.

Continue reading

What We Publish is Our Legacy

A few weeks ago, the WordPress community (and the world) lost an amazing person: Alex King. You can read much more about who he was as well as a round-up of tweets and posts all about him on WP Tavern.

Our Legacy

I’m not a fan of trying to summarize a person’s life in a quote or a sentence so I won’t be doing that. Instead, I wanted to highlight that Alex did something that’s been on my mind ever since I first read the post:

One of the things my wife and I are trying to do is put together some information about my career that will hopefully give my 6 year-old daughter a better sense of who I was as an adult. She knows me as “dad”, but when she gets older she’ll be curious about who I was to my peers and colleagues.

Take the time to read the entire post and its feedback, as well.

Whenever we lose people that have made a significant impact on our lives, be it directly or indirectly, it can be a challenge to process it. I don’t think it gets any easier nor do I believe it’s supposed to, either.

With that said, I’ve been thinking about how so many of us are sharing content via our blogs and how this may impact the legacy we leave behind.

In short, what we publish can be come part of our legacy.

Continue reading

Using Sucuri Antivirus for WordPress

A couple of weeks ago, I talked about how there’s no such thing as the perfect WordPress host. In the end, it comes down to the requirements of your project that will dictate what host is best for your project.

But what happens when you find yourself placed in this dilemma:

There’s a host that you want to use because of some of the features, but it doesn’t fit the bill for the rest of the project.

Case in point: One of the things that’s popular right now is to have software such as a malware or a virus scanner. And who would fault anyone for wanting that?

I’m a fan of it and it’s something I recommend to most anyone running a web application. In my mind, anything that saves user input of any type should have something like this.

That said, one of the hosts that I often recommend does not have this built-in. So I’ve opted to go with Sucuri Antivirus.

Sucuri Antivirus

I’m a big fan of the service.

Continue reading

jQuery Raty For Star Ratings

I recently wrote about developer maturity. Specifically, I said we should not be afraid to use third-party solutions when possible.

This doesn’t mean we should piecemeal every project together. That isn’t development. That’s implementation (but that’s another post).

Anyway, Andy and I just finished up a project which demonstrates this point quite well. Part of the project called for providing a rating of certain criteria.

As such, we used jQuery Raty for laying the foundation of the rating system.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑