Beyond The Browser - Creating a RESTful Web Service With WordPress
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Beyond The Browser - Creating a RESTful Web Service With WordPress

on

  • 7,227 views

Creating a RESTful Web Service using WordPress that can power your mobile app, Web Application, or Internet House Party.

Creating a RESTful Web Service using WordPress that can power your mobile app, Web Application, or Internet House Party.

Statistics

Views

Total Views
7,227
Views on SlideShare
5,921
Embed Views
1,306

Actions

Likes
2
Downloads
17
Comments
0

7 Embeds 1,306

http://birminghamblogging.com 1242
http://a0.twimg.com 28
http://lanyrd.com 19
http://www.scoop.it 12
http://www.linkedin.com 3
http://translate.googleusercontent.com 1
https://www.linkedin.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Beyond The Browser - Creating a RESTful Web Service With WordPress Presentation Transcript

  • 1. HOWDY WPYall ENJOY SOME SOUTHERN FRIED CODE
  • 2. Beyond the browser GETTING RESTful WITH WORDPRESS
  • 3. AND BEING AWESOME PRESENTED BY CREDINGAKA CHRISTOPHER REDING
  • 4. THE AWESOME REST? BUT IM NOT TIRED.WHAT IS REST? HOW IT WORKS DATA TRAVELLER 100WT FTW MORE THAN A NAP POST/GET/PUSH/DELETE MAKE IT PORTABLE PRACTICLE USES WPYALL
  • 5. WHAT IS REST The HIZZY WHAT WHY MISSIONA simple web service REST requires less code to USE WordPress to manageimplemented using HTTP and implement than traditional data for an application thatthe principles of REST. It is a methods. exists outside the realm of thecollection of resources, with WordPress install. Allow thefour defined aspects: REST offers greater flexibility application and the WP installThe base URI for the web service, such as http://example.com/ than other methods. to communicate and respondresources/ to client interaction as well asthe Internet media type of the data supported by the webservice. This is often JSON, XML or YAML but can be any other Data can be served on the changes in data. Pushvalid Internet media type. rocks as JSON or neat as XML, notifications, real time data sauceThe set of operations supported by the web service using HTTPmethods (e.g., GET, PUT, POST, or DELETE). as well as any other formatThe API must be hypertext driven.[11] you may desire.FROM WIKIPEDIA
  • 6. BE THE CLOUD WPYALL
  • 7. DATA FORMATSCSV XML JSON TEXT There are several options when it comes to outputting your data, there is no right or wrong, however, the most common in my experience are XML and JSON
  • 8. HOW IT WORKS INFORMATION HTTP REQUEST SERVER DEVICE RESPONSEREQUESTS ARE MADE TO THE SERVER WHICH RETURNS THE STATUS AND THE DATA
  • 9. HOW IT WORKS{ “status”:”ok”, “data”: [{ “id”:1, “title”:”the title”, “content”:”content body” }, { “id”:1, “title”:”the title”, “content”:”content body” }] }
  • 10. USE A PLUGIN JSON APIhttp://wordpress.org/extend/plugins/json-api/OR ROLL YOUR OWN BECAUSE IT’S EASY AND EXTENDABLE
  • 11. USE A THEMECREATE AN API THEME ALTERNATELY BECAUSE IT’S HIGHLY CUSTOMIZABLE AND YOURS
  • 12. PORTABILITY 1929 2012Data was stored on pieces of paper so Modern folks can now store their datathe stock market crashed causing in WordPress. It can be accessed frompeople to get real depressed and anywhere and from multiple platforms.ended in a world war. The data is no longer tied to paper, or the browser. People are happy andThis could have been avoided with use WordPress to end WAR.WordPress. I made most of this up, but you get the point Portable Data is Happy Data
  • 13. MISSIONBy making data portable we can reach a larger audience.
  • 14. FIND ME HERE FACEBOOK MYSPACEWWW.FACEBOOK.COM/CREDING WWW.MYSPACE.COM/CREDING TWITTER LINKEDIN WWW.TWITTER.COM/CREDING WWW.LINKEDIN.COM/CREDING
  • 15. GO AND BE AWESOMETHANK YOU HTTP://CHRISTOPHERREDING.COM/