Are you ready for a new kind of post meta box framework?
Let me introduce you to ButterBean.
The simplest explanation for what ButterBean is that it’s a framework for building a meta box with tabs for multiple fields.
That’s the gist of it. However, it’s so much more under the hood and allows developers to create some pretty awesome stuff.
What is ButterBean? The longer explanation.
The framework was built to bundle with plugins that need a sweet UI for handling several meta fields. It’s particularly useful with custom post types. It is merely an interface for metadata in the same way that the WordPress customizer is an interface.
It works with all existing WordPress meta functions. So, your standard
get_post_meta() calls will work. Nothing special is needed on the front end.
It’s also worth noting that ButterBean doesn’t care what you plan to do with the metadata. It leaves that completely up to you.
Documentation is extremely scarce at the moment. That’s simply due to time constraints.
I plan to roll out some tutorials here on the blog to get everyone started. Stay tuned for those. And, feel free to leave a comment with anything you’d like to see as far as documentation/tutorials go.
Why not use [insert framework name here]?
This question. Again. 🙂
Look, there’s a lot of really smart people doing some neat stuff for WordPress. Those smart people aren’t doing the things that I want for my projects though.
I needed a simple framework for quickly building out a user interface in some of my plugins. I’d already been reusing some code for a while to handle this. So, I decided to rip it out and turn it into a full-fledged framework that both I and others could use.
Other frameworks are cool and do a lot of things that I don’t need most of the time. In development, you should always use the best tool for the job. So, use ButterBean when it makes sense.
I want to take a quick moment to say thank you to everyone who shared ideas, contributed code, and tested concepts during the beta phase. It was a tremendous help. I hope to see even more of that in the future.
And, a special thanks to Marty Helmick for the ongoing feedback.
I hope you enjoy this new framework. I look forward to seeing what folks build with it.