3 ms·
I agree with everything in this comment. I've written plugins which used a PSR-0 autoloader, and namespaces, and considered templates to separate code from dat
by krapp 12y ago
I agree with everything in this comment.
I've written plugins which used a PSR-0 autoloader, and namespaces, and considered templates to separate code from data, and realized very quickly that scaling that in Wordpress means treating every plugin as, essentially, its own completely autonomous and globally-running web framework (and also they didn't actually run on the particular site I wrote them for because they weren't running an up to date version of PHP.) It's difficult to write good code for Wordpress when for all your know your plugin is one of a hundred in someone else's install.