Software Engineering in WordPress, PHP, and Backend Development

Search: “namespaces” (Page 9 of 12)

We found 57 results for your search.

Why Bother With Autoloading in WordPress, Part 2

[…] in dynamic languages. And this is important because PHP is a dynamic language. At this point, I was originally going to begin looking at sample PHP code, namespaces, autoloading, include statements, and all of that, but I try to keep my articles at a certain length and this began to stretch a little further than […]

Why Bother With Autoloading in WordPress, Part 1

[…] (or any inclusion of third-party files) is needed at all. But that’s what will be covered in the second part of the series. Other Reading My post on Namespaces and Autoloading in WordPress, as well as the Simple Autoloader for WordPress, are two other resources I obviously find related to this particular post. So if you […]

How to Use PSR-4 Autoloading WordPress Plugins

[…] Now here’s the thing: If you’re using PSR-2 and you’re going to be using a PSR-4 autoloader, then there are two things that you need to know: The namespaces should match the directory organization. I talked a bit about this during my WordCamp Atlanta 2017 presentation (specifically under virtual and logical organization). How to work […]

Rapid Prototyping: Prototype To Code, Part 1

[…] introduce classes that represent the diagrams from the previous post and that encapsulate the responsibility of each project. After that, we’ll look at organizing the code into namespaces and packages. Before we can do that though, we need to make sure the code is object-oriented and remains functional. So that’s what’s going to happen in […]

What Is Development? Building and Constantly Learning

[…] many cases. So when it comes time to implement a solution, we have to figure out things like: how are we going to organize our classes and namespaces? how tightly coupled are the components going to be? where will our assets reside? do we need to split things into libraries, use third-party libraries, dependency […]

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑