Heartbeat + WP REST API at WordCamp NYC

Thanks to the organizers, volunteers, and everyone attending WordCamp NYC for a great event!

Below, you can find the slides and code for my talk on the Heartbeat API for WordPress.

In this presentation, I also included a sample for a custom WordPress API endpoint (hat/tip Ryan McCue) for causing the WordPress admin to honk via a GET request (which is decidedly unRESTful, but equal to the way the Tesla Model S API works). I then provided this URL to the audience prior to discussing the code for much hilarity.

https://twitter.com/alpha1beta/status/496018182571048960

The code’s after the break. But think twice about deploying it on a production server, since it allows others to annoy you with unauthenticated requests. The JSON REST API plugin is required prior to the JSON API’s introduction in WordPress Core itself.

You can download the slides in PDF, and see the slides inline from Speaker Deck below.

Continue reading Heartbeat + WP REST API at WordCamp NYC

Heartbeat API at WordCamp Phoenix 2014

I recently had the chance to share about the Heartbeat API at WordCamp Phoenix 2014!

Thanks to the organizing team for the invitation — it was a blast!

Pippin Williamson was gracious enough to join me and share about his use of the Heartbeat API in a demo!
https://twitter.com/EricMann/status/424645041957507072

After the break, you’ll find slides and sample code used in the presentation for your perusal and use.

[edit] The Video of the presentation is now available!  Check it out below. [/edit]

Continue reading Heartbeat API at WordCamp Phoenix 2014

WCYVR: Heartbeat API and WP_Image_Editor

It was a pleasure to share about the Heartbeat API and WP_Image_Editor (a lightning talk) with you all at WordCamp Vancouver!

Thanks for the invitation and support!

You can find the slides and sample code after the break.
More resource links to come in an update.

If you have any questions, just let me know!

Continue reading WCYVR: Heartbeat API and WP_Image_Editor