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

WordPress Game Changer

B92fd0f4dfb7ed14c1441e4f4cf56542?s=47 Jenny Wong
November 19, 2015

WordPress Game Changer

The new WordPress REST API has been in the works for over two years. As it gets ready to become part of the WordPress core, we are already seeing new uses for WordPress. In this talk, Jenny will discuss how the WP-API works, how it is already being used in the wild, and what it means for the future of WordPress.

B92fd0f4dfb7ed14c1441e4f4cf56542?s=128

Jenny Wong

November 19, 2015
Tweet

More Decks by Jenny Wong

Other Decks in Technology

Transcript

  1. the wordPress Game Changer Jenny wong @miss_jwo

  2. @miss_jwo #PHPworld Jenny Wong @miss_jwo

  3. Fast talker

  4. @miss_jwo #PHPworld How many $variable ?

  5. @miss_jwo #PHPworld What do you dislike about WordPress?

  6. @miss_jwo #phpWorld glossary

  7. @miss_jwo #PHPworld WordPress Open Source Content Management System ( CMS

    )
  8. @miss_jwo #PHPworld WordPress capital_P_dangit ()

  9. @miss_jwo #PHPworld WordPress.org Where the open source project and community

    lives
  10. @miss_jwo #PHPworld WordPress.com Hosted WordPress service by Automattic

  11. @miss_jwo #PHPworld WP.org !== WP.com

  12. @miss_jwo #PHPworld WP Version != Semantic

  13. @miss_jwo #PHPworld WP Version = ma.jor.minor

  14. @miss_jwo #phpWorld wordPress

  15. @miss_jwo #PHPworld 12 years old

  16. @miss_jwo #PHPworld PHP 4.3

  17. @miss_jwo #PHPworld Blogging > CMS

  18. @miss_jwo #PHPworld Users First

  19. @miss_jwo #PHPworld Philosophy

  20. @miss_jwo #phpWorld What is the Game Changer?

  21. @miss_jwo #PHPworld WordPress API

  22. @miss_jwo #PHPworld WordPress API

  23. WP API

  24. @miss_jwo #PHPworld Not the first WordPress API

  25. @miss_jwo #PHPworld XML-RPC Since 2008

  26. @miss_jwo #PHPworld json-api plugin Since 2009

  27. @miss_jwo #PHPworld Jetpack API Since 2012

  28. First WordPress API that is RESTful

  29. @miss_jwo #phpWorld Why is it such a big deal?

  30. @miss_jwo #PHPworld Who has written something for 25% of the

    web?
  31. –Aaron Jorbin “A public API for 24% of the web

    is not something we want to see in that rearview mirror”
  32. @miss_jwo #phpWorld The life of a feature

  33. @miss_jwo #PHPworld Plugin

  34. @miss_jwo #PHPworld Feature Plugin

  35. @miss_jwo #PHPworld Release Cycles

  36. @miss_jwo #PHPworld Deadlines are not arbitrary

  37. @miss_jwo #PHPworld Merge Proposal

  38. @miss_jwo #PHPworld Acceptance into the cycle

  39. @miss_jwo #PHPworld Committers Review

  40. @miss_jwo #PHPworld Beta

  41. @miss_jwo #PHPworld Release Candidate

  42. @miss_jwo #PHPworld Release Candidate

  43. @miss_jwo #PHPworld WP REST API Version 1

  44. @miss_jwo #PHPworld Aimed for WP3.9

  45. @miss_jwo #PHPworld WP REST API Version 2

  46. @miss_jwo #PHPworld WP4.3 Current Version

  47. @miss_jwo #PHPworld WP4.3 still not in

  48. – Scott AKA wonderboymusic WP 4.4 Release Lead “We need

    a lot of people to use it, build stuff with it, talk about their experience, and give meaningful feedback about how good or bad of a developer experience it is.”
  49. @miss_jwo #PHPworld 20th September 2015

  50. @miss_jwo #PHPworld Current Status

  51. @miss_jwo #PHPworld WP 4.4 API Infrastructure

  52. @miss_jwo #PHPworld WP 4.5/4.6 API Endpoints

  53. @miss_jwo #phpWorld In the wiLD

  54. REST API: Who’s Using This Thing? https://make.wordpress.org/core/2015/07/23/rest-api-whos-using-this-thing

  55. wired.com

  56. UsTwo github.com/ustwo/ustwo.com-frontend/blob/master/README.md

  57. The New York Times http://www.nytimes.com/politics/first-draft/json

  58. A Day of REST FeelingRestful.com

  59. A Day of REST FeelingRestful.com

  60. IKEA Sweden Restaurant

  61. Mobile Apps

  62. StoryCorps storycorps.me

  63. Read more on PostStatus poststatus.com/how-storycorps-uses-wordpress-to-enable-storytelling- everywhere

  64. Vantage

  65. Picard https://github.com/Automattic/Picard

  66. NPM https://npmjs.com

  67. nomadbase nomadbase.io

  68. Vantage

  69. http://demo.wp-api.org/

  70. @miss_jwo #phpWorld How do you use the API?

  71. @miss_jwo #PHPworld v2.wp-api.org

  72. @miss_jwo #PHPworld 1. Install the WP API plugin

  73. @miss_jwo #PHPworld 2. Activate it

  74. @miss_jwo #PHPworld 3. your_domain/wp-json/wp/v2

  75. @miss_jwo #PHPworld Authentication

  76. @miss_jwo #PHPworld Cookie authentication

  77. @miss_jwo #PHPworld OAuth authentication

  78. @miss_jwo #PHPworld OAuth 1.0a authentication

  79. @miss_jwo #PHPworld OAuth 2 ?

  80. @miss_jwo #PHPworld Oauth 2 ?

  81. @miss_jwo #PHPworld Discovery

  82. • Link Header • <link> Element • RSD (Really Simple

    Discovery) • Authentication Discovery • Extension Discovery* * coming soon
  83. @miss_jwo #PHPworld Extending

  84. @miss_jwo #PHPworld Modify responses

  85. @miss_jwo #PHPworld Extend internal classes

  86. @miss_jwo #PHPworld Add endpoints

  87. @miss_jwo #PHPworld Add HAL links

  88. @miss_jwo #PHPworld Tools

  89. REST API Console github.com/WP-API/rest-api-console

  90. http://demo.wp-api.org/

  91. github.com/wp-api

  92. @miss_jwo #phpWorld The Future of wordPress

  93. @miss_jwo #PHPworld Loopless life

  94. @miss_jwo #PHPworld Better integration between systems

  95. @miss_jwo #PHPworld Easier data access

  96. @miss_jwo #PHPworld Separated style/functionality development

  97. @miss_jwo #PHPworld Core development method changes

  98. @miss_jwo #phpWorld Will it end WordPress As we know it?

  99. @miss_jwo #PHPworld No

  100. @miss_jwo #PHPworld More info

  101. v2.WP-API.org

  102. make.wordpress.org/core/tag/rest-api

  103. A Day of REST feelingrestful.com

  104. @miss_jwo #PHPworld Jenny Wong @miss_jwo

  105. @miss_jwo #PHPworld Cheers PhPWorld

  106. @miss_jwo #PHPworld Cheers https://joind.in/14809

  107. @miss_jwo #PHPworld Questions?