Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WPCampus Online - The Case for the WordPress REST API

335 views

Published on

This is my talk from WPCampus online, The Case for the WordPress REST API. In it I talk high level about the REST API, what is an API, why do we need it?

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WPCampus Online - The Case for the WordPress REST API

  1. 1. WORDPRESS REST API THE CASE FOR THE
  2. 2. ROY SIVAN WHO AM I? • Been using WordPress since the beginning • Currently Working: The Walt Disney Company • WPCrowd member - www.thewpcrowd.com • RoySivan.com • Github / Twitter / WPCrowd - @royboy789
  3. 3. WORDPRESS REST API? WHY DO WE EVEN NEED THE
  4. 4. THE END WE DON’T
  5. 5. THE CASE FOR THE WORDPRESS REST API WHAT IS AN API? Definition: Application program interface (API) is a set of routines, protocols, and tools for building software applications. YOU LOST ME AT “DEFINITION” An API lets you access, or create data. 
 WordPress Terms: The REST API lets you access, or create, WordPress content.
  6. 6. THE CASE FOR THE WORDPRESS REST API WHY DO WE NEED THAT? You still don’t.
  7. 7. THE CASE FOR THE WORDPRESS REST API HOW DO YOU API? Leveraging the API isn’t that difficult once you get the hang of JSON (JavaScript Object Notation) Use JavaScript or PHP
  8. 8. THE CASE FOR THE WORDPRESS REST API JSON
  9. 9. THE CASE FOR THE WORDPRESS REST API SO I REALLY DO NEED TO LEARN JS DEEPLY?
  10. 10. THE CASE FOR THE WORDPRESS REST API WHAT CAN YOU BUILD WITH IT?
  11. 11. THE CASE FOR THE WORDPRESS REST API EXAMPLE USE CASE •Phone App with calendar of events •Widget for other websites which has event calendar •Custom dashboard to allow others to create / edit events without wp-admin access •If multiple websites, each a department, could combine to create 1 school-wide calendar •Customized UI / App which easily toggles between types of events (categories) Case: Website which is used to create events
  12. 12. THE CASE FOR THE WORDPRESS REST API EXAMPLE USE CASE •Showcase professor content on the department site, directly linking to their site. •Widget on professor site to showcase content from other professors •Showcases can use shared categories, so content is related, even not on same professor / sub-site. Case: Multiple Sites under 1 main site (professors under dept.)
  13. 13. BUILDING SOMETHING COOL THANK YOU! ANY QUESTIONS? Find me Online - @royboy789 https://roysivan.com The WP Crowd https://www.thewpcrowd.com https://www.thewpcrowd.com/author/roysivan/ Lynda - Tutorials & Courses Online https://lynda.com

×