Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 306 of 427)

WP Comment Notes (And What We Can Learn From It)

About a year and a half ago, I released the first version of Single Post Message for WordPress which is a simple plugin specifically for adding a notification at the top of the bottom of a given post.

For whatever it’s worth, it’s one of the plugins I’ve enjoyed creating the most not only because it scratched my own itch, but also because it’s an extremely lean, focused plugin that aims to solve exactly one problem.

The other day, Pippin William tweeted the following:

To which Japh Thomson replied:

And to which Andrew Norcross built and responded with:

https://twitter.com/norcross/status/384463729578225664

You can read the entire conversation, but there are three things that I really dig about this particular exchange and the plugin that came out of it. But before discussing those, I think its worth checking out the WP Comment Notes plugin itself.

Continue reading

Get a Year of Free Flywheel Hosting

Comments on this post are now closed. Congrats to Toby and Dave - and thanks to everyone who entered the contest!

Last week, Flywheel Hosting finally exited beta and went live. For those of us who work directly with WordPress either as a designer and/or a developer, this a new a contender to the growing marketplace in WordPress-centric hosting.

I love seeing this stuff – competition fosters innovation, right?

For the next week, I’ll be running a contest here on the blog sponsored by the guys at Flywheel for some free Flywheel hosting.

Continue reading

My Day-To-Day: Taking Notes

When it comes to taking notes, I’m a bit obsessive about it. In fact, I used to carry a notebook with me everywhere – literally – in case any kind of idea, thought, or something I forgot to do (or needed to do) struck me wherever I was.

For me, it wasn’t enough to jot down a note in whatever piece of paper I had available – I needed I make sure I had a “catch all” notebook of sorts. This is a habit that I developed in college (in fact, I actually still have some of those notebooks in a drawer!) and has persisted ever since.

Despite the fact that I don’t think I’ll ever really stop using notebooks, I have been trying to go as digital as possible. Case in point: Not long ago, I shared how I take notes using Bamboo Paper.

But for quick little notes, personal reminders, and ideas, that’s a bit overkill right?

Continue reading

Deep and Wide: The Tension of Software Development

One of the things I talk a lot about both with small groups of friends and during speaking events is the idea of going deep rather than wide.

In the context of software, I’m typically referring to the idea of going extremely deep within the languages and tools that you’re using on a daily basis so that you may become the best developer that you can possibly be in that area.

But there’s a tension that I think most programmers feel and it’s that there are so many neat things out there to learn. Couple that with the fact that others can sometimes make us feel inferior if we don’t know what they know, the tension grows even stronger.

I’m not sure if I’m making much sense.

Continue reading

WordPress: Fatal Error Memory Exhausted

At some point, anyone building a theme, plugin, or even just working with WordPress has seen the Fatal Error: Memory Exhausted message. It typically reads something like this:

Fatal error: Allowed memory size is 268435456 bytes exhausted (tried to allocated 29596635 bytes) in …/wp-includes/wp-db.php on line 885.

Yes, your message may be a little different, but the point is the same: You see a fatal error, it has something to do with the amount of memory allowed, how much was attempted to be allocated, and what file threw the error.

In my opinion, one of the big problems with errors like this is that it’s far too easy to Google for a quick solution to fix the problem rather than truly understand the problem.

Sure, I understand we’ve got stuff to do and work to get done, but understanding what the problem may be is important to helping us become better developers, and, who knows, we may uncover a bug in a piece of open source software.

In this case, it’s not the latter, but here’s a good way to go about understanding the above error.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑