Here are the slides from my WordCamp New York talk on Backbone and the WordPress REST API: Backbone and the WP REST API.
Here is the demo project I built to accompany this talk: https://github.com/adamsilverstein/api-post-list.
Backbone (and Underscore!) are bundled with WordPress – explore how you can leverage their power to deliver complex user experiences while keeping your code organized and maintainable.
First, we will explore why Backbone is awesome, and what it lets you create is amazing! We will look at some examples of where and how it is used to power web apps and increasingly large areas of the WordPress dashboard. Seeing these incredible user experiences built in Backbone will help get you excited about using Backbone in your next project.
Next, we will dig into Backbone fundamentals to get a crystal clear understanding of the fundamental concepts underlying Backbone applications: Models, Views and Collections. We’ll look at how these tie to templates, events and routes for rendering, interaction and state handling. We discuss using Backbone in themes and plugins: how to include Backbone, how to interact with the back end to get and put data, including using the new WP REST API. We will cover WordPress specific helper functions that help our Backbone projects.
Finally, we will explore several very simple Backbone applications that demonstrate interacting with WordPress using the Rest API.
Updated Asheville presentation:
I became involved in the WordPress revisions rewrite in January of 2013. Rewriting the revisions and polishing the feature took up almost half a year to complete!
Find out how we crafted, coded, tested, recoded and shipped revisions for WordPress 3.6.
Here is a preview of my slideshow:
[seoslides embed_id=”61ebf3e9b10c” script_src=”http://tunedin.net/embed-script/revising-wordpress-revisions-2/1234/” overview_src=”http://tunedin.net/slides/revising-wordpress-revisions-2/” site_src=”http://tunedin.net” site_title=”TunedIn.net” title=”revising-wordpress-revisions-2″ /]
Here are the links from the slideshow:
The original system – introduced in WordPress 2.5.1 http://core.trac.wordpress.org/ticket/6775
Codex Article – http://codex.wordpress.org/Revisions
Rewrite priorities – http://make.wordpress.org/core/2013/01/23/revisions-update-jan-22nd/
The big rewrite ticket – http://core.trac.wordpress.org/ticket/23497
Create many revisions test script – https://gist.github.com/ocean90/5586293
Revisioning of Post Meta – http://core.trac.wordpress.org/ticket/24908
Revisions component in Trac – http://make.wordpress.org/core/components/posts/revisions/.