Software Engineering in Web Development, Backend Services, and More

Tag: WordPress (Page 198 of 220)

Articles, tips, and resources for WordPress-based development.

We Need Better Abstraction in WordPress Projects

When it comes to programming – regardless of the platform, language, or system that you’re using – there’s a concept of abstraction that most programmers understand even if they don’t know that that’s what the concept is called.

Perhaps the clearest definition on abstraction in programming (straight from Wikipedia) explains:

Abstraction is the process by which data and programs are defined with a representation similar in form to its meaning (semantics), while hiding away the implementation details.

A simple, practical example of an abstraction would be the concept of functions: It completes a unit of work and optionally accepts parameters and returns data to the caller

The details are implemented – are abstracted – into the function so that other programmers (or even the original developer himself or herself) can simply make a single call to the function.

Easy enough, right? Especially since we’ve all written functions.

Of course, abstractions can be more complex. Starting from functions, moving up to classes, moving up to full API’s and so on. Everything in programming lives at some level of abstraction.

I bring all of this up because I’ve seen – and continue to see – huge opportunities for refactoring WordPress-based code (specifically in themes and plugins) into more abstract units in other code as well as my own.

Continue reading

Resolving The WordPress Multisite Redirect Loop

Though I do the majority of my work using single site WordPress installs, there are a number of sites and projects in which I’ve used WordPress multisite and there’s a problem that I’ve experienced specifically with using WordPress multisite, subdomains, and shared hosting environments.

Specifically, the problem is this:

  • Install WordPress and activate multisite
  • Configure the installation to use subdomains (versus subdirectories)
  • Attempt to login and get stuck in a redirect loop

If you have a single instance of WordPress multisite installed on the same server, there’s no issue, but if you go beyond that then you normally hit a problem: a redirect loop.

Continue reading

Looking For Blogging Interns For WP Daily

You guys know that I spend a significant portion of my time working with my team at 8BIT. We’re responsible for:

Earlier this week, we brought on our first developer intern for 2013. In addition to this particular role, we’re also looking to fill a blogging internship specifically for WP Daily.

Continue reading

The Pro WordPress Subreddit

One of the things that’s nice about the WordPress development community is that there’s no shortage of places to discuss what’s going on in the community.

Aside from chatting with people on Twitter, we can hop into IRC chats, listen in to other developer’s podcasts, and naturally read and respond to what other’s are writing on their blogs.

But late last week, I noticed the following tweet show up in my stream:

It’s been a long time since I’ve paid any attention to anything like Reddit – probably since college, but this particular subreddit caught my attention.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑