{"id":3589,"date":"2018-02-28T13:28:41","date_gmt":"2018-02-28T13:28:41","guid":{"rendered":"https:\/\/2018.london.wordcamp.org\/?post_type=wcb_session&#038;p=3589"},"modified":"2018-02-28T13:28:42","modified_gmt":"2018-02-28T13:28:42","slug":"when-to-use-the-api","status":"publish","type":"wcb_session","link":"https:\/\/london.wordcamp.org\/2018\/session\/when-to-use-the-api\/","title":{"rendered":"When to Use the API"},"content":{"rendered":"<p>As the WordPress API matures, this is an important moment to take stock and consider the best use-cases. We&#8217;ll briefly take a bird-eye view of the API, before deep-diving into different ways the API has been deployed.<\/p>\n<p>We&#8217;ll see examples of the API as an integration tool for running dual CMSs, as a public-facing queryable dataset, as a big data visualisation tool and as a way to share large sets of data.<\/p>\n<p>Along the way, I&#8217;ll share ways to make your API implementation more efficient, and share some of the pitfalls and mistakes we&#8217;ve made.<\/p>\n<p>We&#8217;ll take a look at decoupling both the front end and back end of WordPress, and answer the obvious question: why continuing using WordPress?<\/p>\n<p>Key takeaways:<\/p>\n<ol>\n<li>The API liberates data outside of WordPress and projects like Gutenberg &#8211; breaking content into modular content blocks &#8211; will change the way WordPress considers data relationships.<\/li>\n<li>The API is driving a new Enterprise Stack &#8211; with each element the industry leader in its field &#8211; including WordPress as the fast moving publishing solution.<\/li>\n<li>Decoupling the front &#8211; using technologies like React &#8211; &amp; decoupling the back &#8211; using technologies like Elasticsearch &#8211; begs the question: Why continue using WordPress? The answer is that clients, content teams, editors &amp; authors all over the world have built a passion for WordPress for its ease of use and friendly interface. This strength should never be underestimated.<\/li>\n<\/ol>\n<p>A couple of years ago Joe Hoyle introduced us all to the API &#8211; then last year we had a lot of HowTo talks across different WordCamps. Now is the perfect time to look at when to use the API &amp; looking at some real-world examples.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the WordPress API matures, this is an important moment to take stock and consider the best use-cases. We&#8217;ll briefly take a bird-eye view of the API, before deep-diving into different ways the API has been deployed. We&#8217;ll see examples of the API as an integration tool for running dual CMSs, as a public-facing queryable [&hellip;]<\/p>\n","protected":false},"author":12483079,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1523787600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[3587],"footnotes":""},"session_track":[446812],"session_category":[144],"class_list":["post-3589","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-b","wcb_session_category-development"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9b3zx-VT","session_date_time":{"date":"15th April 2018","time":"11:20 am"},"session_speakers":[{"id":"3587","slug":"sean-blakeley","name":"Sean Blakeley","link":"https:\/\/london.wordcamp.org\/2018\/speaker\/sean-blakeley\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/3589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/3589\/revisions"}],"predecessor-version":[{"id":3590,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/3589\/revisions\/3590"}],"speakers":[{"embeddable":true,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/3587"}],"author":[{"embeddable":true,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/sean-blakeley"}],"wp:attachment":[{"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=3589"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=3589"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/london.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=3589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}