• Like
  • Save

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

WordCamp Las Vegas: Your App is in my WordPress

  • 1,380 views
Uploaded on

Using web services apis and events with WordPress: communicating via REST apis, using webhooks with WordPress via hookpress and more!

Using web services apis and events with WordPress: communicating via REST apis, using webhooks with WordPress via hookpress and more!

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,380
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

  • pimp out SXSW and get votes
  • Web app that uses and combines data or features from two or more sources to create a new service
  • We want to go further than just displaying Twitter data on a google map
  • Common pitfalls and obstacles in creating mashups
  • Trying to build an app that does everything is impossible because it will suck at doing all of those things - so instead, we should encourage specific applications to build good apis
  • Common pitfalls and obstacles in creating mashups
  • We want to go further than just displaying Twitter data on a google map
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • Common pitfalls and obstacles in creating mashups
  • XML, JSON, others?



  • Common pitfalls and obstacles in creating mashups
  • RSS - we have to ask for it

  • polling
  • polling
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Realtime protocol - extensible messaging and presence protocol
  • Realtime protocol - extensible messaging and presence protocol
  • Realtime protocol - extensible messaging and presence protocol
  • evented web
    notify.io
    postbin
    pubsubhubbub
  • Event based, push
  • Common pitfalls and obstacles in creating mashups
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Event based, push
  • Event based, push
  • Event based, push
  • Event based, push
  • Event based, push
  • Event based, push
  • Event based, push
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web


  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Event based, push
  • Event based, push
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • Better than polling, we need a way to push data. Flash & JS have eventListeners, so does the web
  • colin
  • colin
  • colin
  • colin
  • evented web
    notify.io
    postbin
    pubsubhubbub
  • colin
  • colin
  • colin

Transcript

  • 1. Your Web App is in my WordPress Connecting Web Apps in the Cloud
  • 2. What is a mashup? Creative Commons Flickr
  • 3. Mashup Web app that uses and combines data or features from two or more sources to create a new service Wikipedia
  • 4. Business Value
  • 5. Specialization Creative Commons Flickr
  • 6. What about the developers?
  • 7. LEGOs for Developers
  • 8. Are mashups hard?
  • 9. Yes.
  • 10. No.
  • 11. Ok, most of the time.
  • 12. They don’t have to be.
  • 13. Are mashups smart?
  • 14. Right now?
  • 15. Not really.
  • 16. Could they be?
  • 17. Absolutely.
  • 18. Why aren’t they easy?
  • 19. Data Formats
  • 20. XML <?xml version=”1.0” encoding =”UTF-8” ?> <developers> <developer> <name>Eric Jennings</name> <image>http://twitpic.com/xyz</image> </developer> </developers>
  • 21. Et tu, JSON? Who is this JSON anyway? { developers : [ { “name” : “Eric Jennings”, “image” : “http:// twitpic.com/xyz” } ]} Why do I need to know him?
  • 22. Why aren’t they smart?
  • 23. RSS (pull) Subscriber + Easy Subscriber - Too simple Pub Subscriber - Pull (WordPress) Subscriber
  • 24. Polling
  • 25. Are we there yet?
  • 26. Do you have anything new for me?
  • 27. How can we push?
  • 28. XMPP + Realtime protocol - Not easy - Not simple
  • 29. TOO COMPLEX!
  • 30. WEBHOOKS
  • 31. The Evented Web Event based triggers Real-time Less overhead than polling
  • 32. What if WordPress could talk to you?
  • 33. Someone just published a post!
  • 34. Awesome! Can you send that information to this URL I created?
  • 35. Sure thing! Would you like it in a certain format?
  • 36. XML would be great!
  • 37. Sure thing boss!
  • 38. PubSubHubBub Simple Open Server-to-Server Webhook-based
  • 39. PubSubHubBub Subscriber Subscriber Pub HUB Subscriber (WordPress) Subscriber
  • 40. PubSubHubBub for WordPress Available as a Plugin
  • 41. ARR HT TP!
  • 42. EXAMPLE ONE COMMENTERS
  • 43. More Apps with Hooks Shopify - eCommerce PayPal - Payment notifications PivotalTracker - Project Managemnt GitHub - Version Control
  • 44. More Apps with Hooks Light House - Ticket tracking Wufoo - Forms Twilio - Voicemails & Text Messages Freshbooks - Invoicing & Time Tracking
  • 45. Over 1,000 WordPress actions and filters...
  • 46. Wordpress Actions and Webhooks Push Notifications Data Integration
  • 47. WordPress Filters and Webhooks Extend WordPress Not just WordPress plugins Not just PHP
  • 48. publish_post
  • 49. delete_post
  • 50. add_attachment
  • 51. edit_post
  • 52. comment_post
  • 53. trackback_post
  • 54. delete_user
  • 55. user_register
  • 56. login_head
  • 57. the_content
  • 58. the_date
  • 59. the_author
  • 60. They are all triggers.
  • 61. DEMO PostBin.org
  • 62. EXAMPLE TWO Hubspot + WordPress
  • 63. WordPress + Hubspot
  • 64. WordPress + Hubspot
  • 65. WordPress + Hubspot
  • 66. A “series of tubes”
  • 67. webhooks.org
  • 68. Questions?
  • 69. Thank You @colinloretz