wordpress is advancing rapidly - wordcamp san antonio 2015

31
WORDPRESS IS ADVANCING RAPIDLY A PRESENTATION BY WAYNE MCWILLIAMS

Upload: wayne-alan-mcwilliams

Post on 14-Aug-2015

221 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

W O R D P R E S S I S A D VA N C I N G R A P I D LYA P R E S E N TA T I O N B Y W A Y N E M C W I L L I A M S

Page 2: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

M Y N A M E I S W AY 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

Page 3: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

– W AY 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.”

Page 4: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

– W AY 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.”

”  

Page 5: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

W O R D C A M P S A N F R A N C I S C O 2 0 1 4

Page 6: WordPress is advancing rAPIdly - WordCamp San Antonio 2015
Page 7: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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/

Page 8: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 9: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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.

Page 10: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 11: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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?

Page 12: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 13: WordPress is advancing rAPIdly - WordCamp San Antonio 2015
Page 14: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

T W I T T E R A P I I N A C T I O N

PLUMETWEET CASTERFALCON PRO

Page 15: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

T W I T T E R A P P V S FA L C O N P R O

Page 16: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

T W I T T E R A P P V S FA L C O N P R O

Page 17: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

M O R E R O B U S T P L AT F O R M SF I R S T B E N E F I T

Page 18: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

B O C O U P B U I LT W I T H N O D E . J SA R E A L L I F E E X A M P L E

Page 19: WordPress is advancing rAPIdly - WordCamp San Antonio 2015
Page 20: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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.

Page 21: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

E X T E N S I B I L I T YS E C O N D B E N E F I T

Page 22: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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.

Page 23: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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.

Page 24: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 25: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 26: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

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

Page 27: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

O R L I K E

Page 28: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

E V E N L I K E

Page 29: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

G O F O R T H A N D W P - A P I

Page 30: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

Thank You.

Page 31: WordPress is advancing rAPIdly - WordCamp San Antonio 2015

C O N N E C T W I T H M E

• http://wordpressdev.solutions

• Twitter @WPDevSolutions

• LinkedIn — www.linkedin.com/in/wordpresswayne