O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

WordPress is advancing rAPIdly - WordCamp San Antonio 2015

Próximos SlideShares
Reactive programming
Reactive programming
Carregando em…3
×

Confira estes a seguir

1 de 31
1 de 31

Mais Conteúdo rRelacionado

Audiolivros relacionados

Gratuito durante 30 dias do Scribd

Ver tudo

WordPress is advancing rAPIdly - WordCamp San Antonio 2015

  1. 1. W O R D P R E S S I S A D VA N C I N G R A P I D LY A P R E S E N TA T I O N B Y WA Y N E M C W I L L I A M S
  2. 2. M Y N A M E I S WAY N E M C W I L L I A M S • Graphic Designer • WordPress Front-end developer • A member of the San Antonio WordPress Meetup Group • WordCamp San Antonio 2015 organizer • Overall WordPress enthusiast
  3. 3. – WAY N E M C W I L L I A M S “The Internet and how we interact with it changes EVERYDAY. We as individuals have to find a way to keep up with it by constantly staying on top of new technologies and adapting so that we aren’t left behind.”
  4. 4. – WAY N E M C W I L L I A M S “Investing is risky but when it is done properly and with insight you can really make it big. You have to watch the trends
 and most of the time new technology is going to be a safe bet for revenue potential.” ”  
  5. 5. W O R D C A M P S A N F R A N C I S C O 2 0 1 4
  6. 6. F I N D O U T A L L A B O U T T H E W P - A P I • Official WP-API site and documentation — http://wp-api.org/ • WP Tavern article on Ryan McCue — http://wptavern.com/ryan-mccue-on- creating-the-json-rest-api-for-wordpress • WordCamp Presentation by Rachel Baker — http://wordpress.tv/ 2014/07/06/rachel-baker-put-your-content-to-rest-with-wp-api/ • WP Engine article on Torque — http://torquemag.io/introduction- wordpress-new-universal-connector-json-rest-api/
  7. 7. W O R D P R E S S S TAT S • As of August 2013, more than 22% of the top 10 million websites are on WordPress • It is currently the most popular blogging system on the web with more than 60 million websites. • On average, 16 billion pages are viewed by more than 409 million people each month
  8. 8. W H AT I S A N A P I ? • API stands for Application Programming Interface and is a set of entry points that allow you to interact with a platform.
  9. 9. A N A P I R E M I N D S M E O F A N H D M I P O R T B U T F O R Y O U R W E B S I T E
  10. 10. Y O U ’ V E P R O B A B LY H E A R D O F T H E S E S G U Y S WHAT ARE A FEW POPULAR APIs?
  11. 11. T H E Y J U S T D E C I D E D T O S T O P C O U N T I N G A F T E R 2 0 1 1 … T H E G R O W T H O F T H E A P I
  12. 12. T W I T T E R A P I I N A C T I O N PLUMETWEET CASTERFALCON PRO
  13. 13. T W I T T E R A P P V S FA L C O N P R O
  14. 14. T W I T T E R A P P V S FA L C O N P R O
  15. 15. M O R E R O B U S T P L AT F O R M S F I R S T B E N E F I T
  16. 16. B O C O U P B U I LT W I T H N O D E . J S A R E A L L I F E E X A M P L E
  17. 17. L E T ’ S TA L K A B O U T J S O N B E H I N D H I S B A C K • JSON is a data format based on Javascript’s representation of objects, but it’s widely used because it can be easily represented in almost every programming language.
  18. 18. E X T E N S I B I L I T Y S E C O N D B E N E F I T
  19. 19. E X A M P L E S O F W P - A P I E X T E N S I B I L I T Y • Many people who run WordPress run multiple instances of it. The WP-API would allow these instances to talk to each other, list each other’s content, or even react to events that happen on the other. • Imagine you have a Multisite install, and each site is a store that sells items. You may want to display all of the sale items from each site that are tagged “Summer Sale”. The WP-API would mash-up this data and make it easy to implement.
  20. 20. E X A M P L E S O F W P - A P I E X T E N S I B I L I T Y • You could have a plugin built from the content on your site that could then be downloaded and installed on another site and display a dynamic feed of your posts with your featured image, an excerpt, and a link to read more. • We even have popular plugins starting to be extended as APIs. One such plugin is BuddyPress which is a plugin that helps when building chat forums and such.
  21. 21. A C C E S S I N G T H E I N F O T H R O U G H W P - A P I • REQUEST INFO —— example.com/api/team-members • REQUEST SINGLE —— example.com/api/team-member/4/ • CREATE INFO —— example.com/api/team-members • EDIT SINGLE —— example.com/api/team-member/4/ • DELETE SINGLE —— example.com/api/team-member/4/ GET GET POST PUT DELETE
  22. 22. T H E W P D A S H B O A R D L O O K S L I K E T H I S … F O R N O W
  23. 23. S O Y O U R W P D A S H B O A R D C O U L D L O O K L I K E
  24. 24. O R L I K E
  25. 25. E V E N L I K E
  26. 26. G O F O R T H A N D W P - A P I
  27. 27. Thank You.
  28. 28. C O N N E C T W I T H M E • http://wordpressdev.solutions • Twitter @WPDevSolutions • LinkedIn — www.linkedin.com/in/wordpresswayne

×