Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using the API in Large & Small Projects

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Using the API in Large & Small Projects

Talk given at Brighton WordCamp 2017

We have a brief look at the WordPress API, before deep-diving into different examples where we've deployed the API.

We'll look at alternative data models - including Elasticsearch -
the impact of using transients and speculate about the future impact of the API on the direction of WordPress.

Unedited video available here: https://www.youtube.com/watch?v=FxsDOxq6Q5I&feature=youtu.be

Avatar for Sean Blakeley

Sean Blakeley

August 19, 2017

More Decks by Sean Blakeley

Other Decks in Technology

Transcript

  1. seanblakeley.com [email protected] Sean Blakeley • Lead Producer & Product Owner

    @Pragmatic • Running enterprise level scrum projects • Previously I was a Senior Dev • & I’ve been working with the web & WordPress for a very, very long time
  2. WordPress as the Centre of a Content Hub A true

    application platform - sharing data between different sources
  3. React jQuery Processing API Data JavaScript - vanilla or using

    a framework - is normally used for processing
  4. SHARING DATA I am Team GB Ambitious project to create

    Britain’s Biggest Ever Sports Day
  5. Costly Direct API Requests We needed to store data, pulled

    via API - rather than direct requests
  6. Request Data Process Data Searchable Prepare Data +ID Data Model

    3 pots - New, Edited & Deleted - updated upon each successful request
  7. Importance of Documentation Any API is only as good as

    its documentation - this is an automated tool
  8. Decoupling Front & Back - Why WordPress? Because WordPress is

    prefered by editors & content teams around the world