As some of your know, I have been developing WordPress utilities for a long time. Mostly for specific use cases that need some custom implementation. As a result of my long-term affiliation with the system, I am a firm believer in not modifying the core, thus my work involves creating plugins to augment normal functionality.
Over the years I have found that on certain big projects a normal plugin is just not enough. There have been times where I needed to borrow functionality from another plugin already implemented and performing some crazy require(../../other-plugin-file) sort of method always makes me cringe. I had already inherited a system where some developer created a common library that they then used require() statement to pull classes and functions into their plugins but even this seemed rather contrary to good design. I didn’t see the benefit of this cross pollination of plugin code and always felt that there has to be a better way. [Read more…] about How to create your own CORE in WordPress