We’ve come a long way so far in our six-part REST API series. From pretty much a standing start, we’ve managed to introduce the basic concepts of the technology, and get a small interactive app up and running (with a little help from React). Along the way, we’ve hopefully proven that even non-technical WordPress users can already start getting their feet wet with the programmatic power behind the next generation of the platform. The future of WordPress is not going to be about tiny Thoreau quote apps, however. It’s going to largely centre around how the REST API helps WordPress smoothly integrate […]
Developing A REST API App – Part 5: Adding Custom Endpoints And Extra Touches
In the last part of our series, we stepped through building the basics of our app using Facebook’s React, and put together a simple solution where users could serve up nuggets of timeless wisdom on demand. This time around, we’ll concentrate on two main areas: adding a custom endpoint back in our WordPress site to make life a little easier when we’re delivering large amounts of quotations, and adding some small extra touches on the front end back in React. As a quick reminder of the overall setup, so far we’ve got a local WordPress install running at http://walden.dev/ and […]
Developing a REST API App – Part 4: Creating Our React-Powered WordPress Site
In the last installment of our REST API App series, we started looking at the front end part of the puzzle and selected React as the solution we’d be running with. The reasons why were simple: it’s speedy, well-documented, and enjoys the support of one of the largest players in the business, Facebook. In order to check that we could get WordPress and React talking to each other, we downloaded the React Starter Kit locally and cobbled together a quick API call to display some arbitrary data from our local WordPress install. Though our test worked, we didn’t exactly go to […]
Developing A REST API App – Part 2: Adding And Testing Our Data
Following on from our introductory article, it’s now time to get down to business in our REST API series and start actually building the foundations of our eventual app. We’ll kick things off by getting some core data into a local install of WordPress, and then start exploring some background concepts and the general set of options available to us. We’ll do this by testing the basic reading and writing functionality of the REST API with the help of some handy tools which make it easy for non-technical users to follow along. By the end of this session, we should […]
Developing a REST API App – Part 1: Getting Started
Excitement over the REST API has been building for what seems like an eternity, but we’re still pretty much at the starting gate in terms of what it’s actually going to mean for site owners and developers once it finally lands. Though I’ve written extensively about the potential implications of the REST API, I’ve been holding back on actually diving in and getting my hands dirty to date. With the REST API finally taxiing on the runway, now seemed a great time to grasp that nettle and really start digging into detail. Over the course of this series, I’ll be […]
1 Comment