The past few months, I’ve been playing with Facebook’s React UI library and the coming REST API, and having a blast considering new possibilities in WordPress theming.
I recently started building up a starter theme called Tango, which attempts to bring everything we love and expect from Underscores, into a React-based and API-driven environment. Ultimately, I’d like it to become a sort of library of its own, that could be dropped into existing Underscores-based themes and handle as much (or as little) as a theme developer wants on the front-end.
Tango also relies on a little plugin called WP-API Theming, which fills some holes the current API lacks at this point when it comes to theme development. Anything theme-related specific to the API I’m just dealing with in there for now.
The coming API (and the modern development tools it allows us to use) is going to usher in an exciting new generation of WordPress themes, and I can’t wait to see what people do with it.
I think most people just make the mistake that it should be simple to design simple things. In reality, the effort required to design something is inversely proportional to the simplicity of the result.
Roy T. Fielding, on what makes a true RESTful API
By far, this is my favourite spam comment I’ve gotten on this blog in a long time.
What a material of un-ambiguity and preserveness of valuable familiarity concerning unpredicted feelings.
This is a great article on getting a MEMP stack running on OS X 10.10 Yosemite:
Personally, I skipped everything with regards to phpMyAdmin, since I use Sequel Pro for interacting with MySQL databases. You may notice that there’s a known bug with the current stable version of Sequel Pro (1.0.2) on Yosemite, but if you don’t need user management, you’ll be fine.
Sometimes you get back JSON data in a browser window, and it would be nice to just check it out without having to fire up anything else, or muck with copy/pasting. A quick Google search implies you need an extension for Chrome, but there is a simple (if somewhat buried) way to browse JSON objects with the Inspector: in the Network tab, select your source and then the Preview tab (beside the Headers tab). Enjoy!