One of the most exciting new developments (at least for API geeks like me) is the coming JSON API. If you aren't aware, it's an in-development feature that provides parity with the existing XML-RPC system in WordPress, just using a more approachable syntax.

Through the JSON API, developers like me will be able to build out new apps that interface with WordPress with relative ease. I'm parriculary excited because the data structure used is native to JavaScript. This paves the way for a JS-based, offline-first interface for WordPress.


Ideally, every component of your application will stand apart from every other. The interface is well contained and easily replaced. The database access layer is pluggable and can be swapped out for other abstractions. Various components can be snapped in or out as needed.

Despite its rich plugin-based architecture, WordPress is not modular in any definable way.

The core framework uses a database access layer, but still makes direct calls to the database. The admin interface is built dynamically in PHP and can't be split out from the rest of core. The plugin system feels modular, but certain components are still so highly dependent on WordPress APIs and developer-specific designs that any meaningful interoperability is nonexistent.

The advent of the JSON API has the potential to change this.

Now, WordPress itself can be treated as the database access layer (albeit with a well-structured, built-in administrative layer). Themes used for front-end presentation can be built simply, use zero PHP code, and be entirely static yet pull dynamic content over the API.

A new editorial interface can be built in HTML and JavaScript - which both run literally anywhere - and used across mobile, desktop, Mac, Windows, etc to manage content.

Each component can be maintained independently. Each can be released independently. Each will also be incredibly modular - themes and editors can work with any CMS that exposes a similar RESTful API.

The future of WordPress is finally modular! I'm looking forward to that future.