rest api - themed€¦ · apis via http resources uris actions http verbs. component resource...
TRANSCRIPT
theRESTfulfuture of
WordPress
Phil Crumm Director of
Strategic Opportunities, 10up
@pcrumm / @10up
rest apibasics
API (noun) A contract provided by one piece of computer software for another. - Chris Beach, StreetLend
Application A When you ask where you are, I will reply with a zip code.
Application B Where am I?
Application A 90210
restful interfaces are…
uniform
stateless
cacheable
client-server
layered
HTTP
RESTful Interfaces
apis via http resources <-> uris
actions <-> http verbs
component resource POST/person/philGET/person/philPUT/person/phil
DELETE/person/phil
rest apiwordpress+
2008
2010
2014
2016
2016
REST API
state of the api
wordpress 4.4 (dec ’15)
rest api internals merged
anyone can build an api!
soon (formerly WP 4.5)
core endpoints merged
core endpoints posts • revisions • pages • media • post
types • post statuses • comments • taxonomies • categories • tags • users
… + all wp-admin features?
safe to use!
a h e a dlooking
wordpress the best place to create & store
your content
wordpress + api the best place to share & access
your content
createshare
your contentyour way
electron
custom frontends
bespoke backends
novel content applications
flexibility of wordpress +
the open web
questions?
thank you!