‘API’ Videos

  • Jonathan Brinley: Roles, Caps, and Meta Caps: Harnessing the WordPress Capabilities API

    Jonathan Brinley: Roles, Caps, and Meta Caps: Harnessing the WordPress Capabilities API

    WordCamp Ann Arbor 2017Speaker: Jonathan Brinley

    June 11, 2018 — Out of the box, WordPress provides a handful of user roles, from Subscriber to Administrator, each with an increasing level of access to manage content and settings on the site. While these roles provide a great starting point for many WordPress sites, they don’t offer the granularity one expects in a large organization with complex editorial workflows. Fortunately, these roles just begin to tap into the power of WordPress’s underlying capabilities API, which provides fine-grained access control for every aspect of the site’s administration, from controlling who can access a settings screen to which users can edit or publish a particular post.

    This presentation focuses on the technical aspects of role and capability management in WordPress. How do you create and edit user roles? How do you dynamically filter capabilities? What the heck is a “meta capability”? How can you have more control than the various role editing plugins provide? We’ll take a journey through the code to learn the most effective and efficient ways to manage your users’ editorial and administrative experiences, using some examples from solutions Modern Tribe has implemented at Stanford Law School and Harvard Law School.

    Presentation Slides »

  • Jepser Bernardino: Sitios web estáticos con WordPress y React

    Jepser Bernardino: Sitios web estáticos con WordPress y React

    WordCamp Madrid 2018Speaker: Jepser Bernardino

    May 16, 2018 — ¿Cómo creamos un sitio web estático alimentado por la WordPress API?

    Por qué creemos que es una buena idea y por qué será la forma como WordPress se abrirá espacio entre el mundo de opciones que están surgiendo como su competencia.

    Los pasos, desafíos y tips para crear un sitio web utilizando React y WordPress.

    Presentation Slides »

  • Rowdy Rabouw: Browser APIs - The Unknown Super Heroes

    Rowdy Rabouw: Browser APIs – The Unknown Super Heroes

    WordCamp Rotterdam 2018Speaker: Rowdy Rabouw

    April 23, 2018 — Still think browsers are only capable of parsing HTML, CSS and JavaScript? Think again!
    Browsers have become much more powerful and contain numerous APIs that can enrich the user experience or are just plain fun.

    This talk will introduce you to some of them (like battery, speech, audio, location, …) and show you how easy it is to unleash their power with JavaScript.

    Presentation Slides »

  • 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.