HOWDY WPYall   ENJOY SOME SOUTHERN FRIED CODE
Beyond the browser  GETTING RESTful WITH WORDPRESS
AND BEING AWESOME     PRESENTED          BY       CREDINGAKA CHRISTOPHER REDING
THE AWESOME                         REST? BUT IM NOT TIRED.WHAT IS REST?      HOW IT WORKS           DATA TRAVELLER       ...
WHAT IS REST                              The HIZZY                 WHAT                                                  ...
BE THE CLOUD     WPYALL
DATA FORMATSCSV            XML                  JSON                 TEXT There are several options when it comes to outpu...
HOW IT WORKS                      INFORMATION       HTTP REQUEST    SERVER            DEVICE        RESPONSEREQUESTS ARE M...
HOW IT WORKS{    “status”:”ok”,    “data”:            [{                “id”:1,                “title”:”the title”,       ...
USE A PLUGIN           JSON APIhttp://wordpress.org/extend/plugins/json-api/OR ROLL YOUR OWN        BECAUSE IT’S EASY AND ...
USE A THEMECREATE AN API THEME                 ALTERNATELY  BECAUSE IT’S HIGHLY CUSTOMIZABLE AND YOURS
PORTABILITY              1929                                                   2012Data was stored on pieces of paper so ...
MISSIONBy making data portable we can reach a larger audience.
FIND ME HERE          FACEBOOK                        MYSPACEWWW.FACEBOOK.COM/CREDING                  WWW.MYSPACE.COM/CRE...
GO AND BE AWESOMETHANK YOU HTTP://CHRISTOPHERREDING.COM/
Upcoming SlideShare
Loading in...5
×

Beyond The Browser - Creating a RESTful Web Service With WordPress

7,328

Published on

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

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,328
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
27
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \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

    1. 1. HOWDY WPYall ENJOY SOME SOUTHERN FRIED CODE
    2. 2. Beyond the browser GETTING RESTful WITH WORDPRESS
    3. 3. AND BEING AWESOME PRESENTED BY CREDINGAKA CHRISTOPHER REDING
    4. 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. 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. 6. BE THE CLOUD WPYALL
    7. 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. 8. HOW IT WORKS INFORMATION HTTP REQUEST SERVER DEVICE RESPONSEREQUESTS ARE MADE TO THE SERVER WHICH RETURNS THE STATUS AND THE DATA
    9. 9. HOW IT WORKS{ “status”:”ok”, “data”: [{ “id”:1, “title”:”the title”, “content”:”content body” }, { “id”:1, “title”:”the title”, “content”:”content body” }] }
    10. 10. USE A PLUGIN JSON APIhttp://wordpress.org/extend/plugins/json-api/OR ROLL YOUR OWN BECAUSE IT’S EASY AND EXTENDABLE
    11. 11. USE A THEMECREATE AN API THEME ALTERNATELY BECAUSE IT’S HIGHLY CUSTOMIZABLE AND YOURS
    12. 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. 13. MISSIONBy making data portable we can reach a larger audience.
    14. 14. FIND ME HERE FACEBOOK MYSPACEWWW.FACEBOOK.COM/CREDING WWW.MYSPACE.COM/CREDING TWITTER LINKEDIN WWW.TWITTER.COM/CREDING WWW.LINKEDIN.COM/CREDING
    15. 15. GO AND BE AWESOMETHANK YOU HTTP://CHRISTOPHERREDING.COM/
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×