Software Engineering in WordPress, PHP, and Backend Development

Search: “namespaces” (Page 2 of 12)

We found 57 results for your search.

Rapid Prototyping: Prototype To Code, Part 2

[…] prototype to actual code. At this point, there are a few more things we can do to improve our code. Namely, we can introduce the concept of namespaces. This takes the organization a step further and can pay dividends for larger projects. So here’s a look at how this plays out in our current […]

Organizing WordPress Settings Screens with Namespaces

[…] and related software that we can use t help streamline our development. The least of which (and that which I’ve written and spoken about a bit) is namespaces. Here’s the thing, though: I like to have my plugin’s files and directories structured so that they are organized to mirror that of the namespace conventions […]

Avoiding class_exists in Object-Oriented WordPress Code

[…] of PHP you’re using, this makes sense. Or it did at one time. As of PHP 5.3.0, this isn’t necessary. Instead, it’s a better practice to use namespaces. Avoiding class_exists You can see all of the requirements for various versions of WordPress on this page so if you’re working with legacy versions of WordPress then […]

Using Namespacing and Autoloading in WordPress

[…] from a wide array of situations that I don’t know if I can even fully grasp. With all of that said, though, this doesn’t mean that we can’t use  namespaces and autoloading in our WordPress projects. Namespacing and Autoloading in WordPress In my latest series for Envato, I’m talking about how to implement this type of […]

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑