Framework all the things. Right?
It seems that everyone and their mother is creating a new framework for this and for that. It makes me wonder if most people even understand what a “true” software development framework technically is…
But that’s a conversation for another day.
John Dennis Pedrie has release a small collection of libraries to help you (and him) write WordPress plugins.
As he shares, it’s really not a complete product (yet) – so he’d be interested in your help. His motive? Simple:
I was tired of writing WordPress plugins that sucked. So I tried to write something that struck a balance between decently structured code and stay-out-of-my-way-osity. Whether I accomplished that is up to someone else to judge!
You may share some a similar feeling with him about that, especially if you build plugins til the cows come home.
Here is a quick overview of the existing features:
- Create custom settings/options pages
- Manage Users (Insert, Update, Delete, Set Roles)
- Manage Posts (Insert, Update, Delete, Trash)
- Fetch and Save User Metadata
- Add columns to the User List
- Represents data in an object-oriented fashion
Test coverage is up on the “to do” list of things and perhaps you’ll be able to accelerate the development if you contribute. Get a copy of it here on GitHub.
I’ll admit, when I walked through it the first time it would be nice to follow (just a suggestion) WordPress Coding Standards but I’m not going to cry over that. Overall though a collection of libraries, in and of themselves, has a few caveats to be aware of but again, perhaps you can firm things up a bit.
Join the conversation