I never did quite finish this - and have since decided there's a better way to architect it (with DI) - but conceptually this was a step towards a multi-use WP "meta data" forms tool. I had it working for post meta and I think taxonomy meta, and (maybe) user meta as well.

Enjoy :)

https://gitlab.com/wpezsuite/wpezmeta