Wednesday, 12 October 2016

A tiny argument against merging the REST API plugin into WordPress core


Normally I’d start with a history lesson, but for this I’ll cut to the chase since most of you reading this already know what I’m talking about… Projects like Django function & thrive without their REST API in every core installation. Not being in core means the component maintainers are able to develop independently of any core release cycle – both faster & slower if need be.
Externally facing API’s are a mouse on a wheel. Just as XML-RPC is ready, REST is here to take its place. Once we are all comfortable with REST 10 years from now, something else will replace it to, and so on.
WordPress is of the size and popularity now where building wp-admin into a hybrid of REST & AJAX calls will be confusing to future contributors.
Going back and rebuilding wp-admin to be fully REST is a thankless job, and would take ten years to complete at the current pace. It’s more likely wp-admin would be replaced, which would break backwards compatibility with existing plugins. It’s akin to hiding Windows 3.1 under the 95 skin, and abandoning all previous applications. No way.
Many contributors see a core-merge as a natural graduation path to
Source: https://managewp.org/articles/13601/a-tiny-argument-against-merging-the-rest-api-plugin-into-wordpress-core




source https://williechiu40.wordpress.com/2016/10/12/a-tiny-argument-against-merging-the-rest-api-plugin-into-wordpress-core/

No comments:

Post a Comment