‘API’ Videos

  • Phawin Khongkhasawan: What is Transients API? And Why We Need It

    Phawin Khongkhasawan: What is Transients API? And Why We Need It

    WordCamp Bangkok 2018Speaker: Phawin Khongkhasawan

    April 12, 2018 — จะพาไปรู้จักกับ Transients API ว่าคืออะไร ใช้ยังไง ดียังไง ไม่ใช้แล้วเป็นยังไง

    Presentation Slides »

  • Dennis Snell: Help! There’s Too Much Spaghetti in My APIs

    Dennis Snell: Help! There’s Too Much Spaghetti in My APIs

    WordCamp Albuquerque 2018Speaker: Dennis Snell

    February 26, 2018 — In this talk we’re specifically going to look at how a combination of REST principles and modeling our processes and dialogs as state machines can dramatically simplify our client applications and API exchanges.

    Why would you want to hear more about this subject? As we all start working more in the browser and communicate back to WordPress via API calls it’s easy for the complexity to start stacking up and overwhelming us! In fact, API design isn’t necessarily intuitive and the web is full of noisy advice.

    We’ll use an example Gutenberg plugin to walk through a very common scenario dealing with interactive processes and we’ll see how a few design principles can save us the headaches of race conditions, code bloat, and changing requirements. We’ll examine how “state machines” can guide us and simplify complex business logic and we’ll explore how “HATEOAS” and REST pair with these machines to simplify complex application and UI logic.

    Whether you are just starting to write your own APIs and API clients or you have been churning them out for years I invite you to join this design session; we’ll stay away from nitty-gritty code details and instead focus on general principles we can apply in any coding environment.

    It’s my hope that after participating in this session you will be able to confidently work with: indicating loading states; testing and debugging forms, processes, and uploads; untangle complicated business rules dealing with things like authentication, limiting, validation, and triggering related activity; and end up with well documented means of doing so.

    Presentation Slides »

  • Jason Bahl: WPGraphQL - Interacting with WordPress Data in a new way

    Jason Bahl: WPGraphQL – Interacting with WordPress Data in a new way

    WordCamp Phoenix 2018Speaker: Jason Bahl

    February 26, 2018 — In this talk, we will look at what WordPress looks like as an Application Data Graph and how WPGraphQL enables a GraphQL API for WordPress and allows us to interact with the WordPress graph via GraphQL queries and mutations.

    In previous talks, (WordCamp US 2017, WordCamp for Publishers 2017, WordCamp Orange County 2017) I’ve talked a lot about the history of WordPress APIs and how GraphQL compares to them and helps solve some problems of using other APIs.

    This talk will focus less on the history of why WPGraphQL came to be and how it compares with other existing WP APIs, and focus more on how to use WPGraphQL, how to extend WPGraphQL to work for your site.

    We’ll start by looking at basic usage of WPGraphQL: querying posts, pages, terms, etc. Then we’ll explore some features of the query language such as variables, aliases, and field arguments.

    Then we’ll look at Mutations (creating, updating and deleting data) and we’ll discuss how WPGraphQL handles Authentication and Authorization, and other features like fragments.

    Throughout the talk we’ll look at the internals of WPGraphQL and how it goes from a request to the WordPress server to resolving data back to the client, and how it makes use of core WordPress technology to efficiently resolve data.

    Presentation Slides »

  • REST APIs for absolute beginners

    REST APIs for absolute beginners

    WordCamp Brighton 2017Speaker: Tom J Nowell

    January 29, 2018 — For those who have never used the REST API but know basic PHP, this talk will cover how to make a basic endpoint, how to use it on the frontend, and how to convert AJAX calls.

  • Sean Blakeley: Using the API in large (and small) projects

    Sean Blakeley: Using the API in large (and small) projects

    WordCamp Brighton 2017Speaker: Sean Blakeley

    January 29, 2018 — Three days before the deadline and the launch of a national TV campaign – Sean’s boss turned to him and said: “I don’t think we can do this.”

    Just six weeks earlier the team at Pragmatic had landed a huge API project. ITV, The National Lottery & The British Olympic Association had come together to plan and deliver Britain’s biggest ever sports day: I am Team GB. As their chosen WordPress partners, they had to get it right.

    So how did it go? What did they learn along the way? And what would they do differently if they did it again? Sean will guide the audience through the different pieces of the puzzle – things they predicted, (and the things they didn’t). We will explore:

    – The inner workings of an enterprise level API project
    – The pressures and challenges of a tight, immovable deadline (the Olympics!)
    – The creativity needed to face new challenges
    – And most of all, the successes and learnings we can see looking back on it now.

    The project helped a million people get off the sofa and get involved in sport that day – and we’ll look at how, with millions of people hitting the site, WordPress didn’t break a sweat.

  • Paul Barthmaier: Plug In To The Customizer

    Paul Barthmaier: Plug In To The Customizer

    WordCamp Lehigh Valley 2017Speaker: Paul Barthmaier

    October 17, 2017 — I am cultivating a number of classes which use the Customizer API beyond the typical theme settings. I’ve also begun to build custom controls to allow for further customization of the Customizer. In this talk, I’d like to walk thru how to use the API, demonstrate the existing tools available and then show how to expand on them to better suit your specific needs.

  • Ryan Kanner: WordPress Transients - A Technical Guide to a Powerful API

    Ryan Kanner: WordPress Transients – A Technical Guide to a Powerful API

    WordCamp Rhode Island 2017Speaker: Ryan Kanner

    October 10, 2017 — There’s a simple yet powerful API within WordPress to help developers cache all sorts of data, and in turn speed up load times. Transients are often misunderstood by developers and their powerful abilities can sometimes be misused.

    In this session Ryan Kanner will uncover the inner workings of the Transient API, and learn how to properly leverage it’s abilities.

  • Peter Nikolov: WordPress API - минало, настояще и бъдеще

    Peter Nikolov: WordPress API – минало, настояще и бъдеще

    WordCamp Varna 2017Speaker: Peter Nikolov

    September 30, 2017 — Една от тенденциозните теми в последно време е WordPress REST API. В тази лекция Петър ще ни запознае с различните видове WordPress APIs — вътрешни, вътшни, стари и нови подходи за работа с WordPress.

    Presentation Slides »

  • Cate Huston, Mark Uraine, John Maeda - Visual Data Using the WordPress API

    Cate Huston, Mark Uraine, John Maeda – Visual Data Using the WordPress API

    WordCamp Europe 2017Speakers: Mark Uraine, John Maeda, Cate Huston

    July 31, 2017 — WordPress 4.7’s integrated REST API just gave us easy access to the public data of millions of sites. We, as designers, can now structure that data in visual ways to build creative solutions, and encourage thought. Let’s learn about APIs, how we can use them, and what we can do with the data that’s available to us from a design perspective.

  • Matt Bakaitis: Solving the AMP, API, FBIA (and RSS) Puzzle

    Matt Bakaitis: Solving the AMP, API, FBIA (and RSS) Puzzle

    WordCamp Kent 2017Speaker: Matt Bakaitis

    July 6, 2017 — There are more ways to share WordPress content every year. WordPress offers a range of solutions, ranging from the old RSS standards to newer REST approaches and even templated caching strategies like AMP. Making sense of it can be hard. Matt Bakaitis will share his experiences and observations managing a content engineering team for Cleveland Clinic, serving almost 70 million visitors per year via WordPress.