{"id":10922,"date":"2019-02-07T10:14:16","date_gmt":"2019-02-07T15:14:16","guid":{"rendered":"https:\/\/2019.raleigh.wordcamp.org\/?post_type=wcb_session&#038;p=10922"},"modified":"2019-03-05T14:51:18","modified_gmt":"2019-03-05T19:51:18","slug":"creating-better-apis-with-wpdb-and-api-middleware","status":"publish","type":"wcb_session","link":"https:\/\/raleigh.wordcamp.org\/2019\/session\/creating-better-apis-with-wpdb-and-api-middleware\/","title":{"rendered":"Creating better APIs with WPDB and API Middleware"},"content":{"rendered":"\n<p><strong>Intended Audience:<\/strong> <a href=\"https:\/\/2019.raleigh.wordcamp.org\/session-category\/developers\/\">Developers<\/a><\/p>\n\n\n\n<p class=\"optional\"><strong>Speaker:<\/strong> <a href=\"https:\/\/2019.raleigh.wordcamp.org\/speaker\/jordan-cauley\/\">Jordan Cauley<\/a><\/p>\n\n\n<p>At Mediavine we created a custom class to make interfacing with WPDB much simpler and easier to manage, paired with our middleware utilities our plugins behave more like an MVC than a traditional WordPress plugin. Add modern APIs and data storage to your next project<\/p>","protected":false},"excerpt":{"rendered":"<p>Intended Audience: Developers Speaker: Jordan Cauley At Mediavine we created a custom class to make interfacing with WPDB much simpler and easier to manage, paired with our middleware utilities our plugins behave more like an MVC than a traditional WordPress plugin. Add modern APIs and data storage to your next project<\/p>\n","protected":false},"author":13715386,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1554645600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[10915],"footnotes":""},"session_track":[1264726],"session_category":[8858],"class_list":["post-10922","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-lake-crabtree","wcb_session_category-developers"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pab3w9-2Qa","jetpack_likes_enabled":true,"session_date_time":{"date":"April 7, 2019","time":"10:00 am"},"session_speakers":[{"id":"10915","slug":"jordan-cauley","name":"Jordan Cauley","link":"https:\/\/raleigh.wordcamp.org\/2019\/speaker\/jordan-cauley\/"}],"session_cats_rendered":"Developers","_links":{"self":[{"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/10922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/10922\/revisions"}],"predecessor-version":[{"id":26446,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/10922\/revisions\/26446"}],"speakers":[{"embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/10915"}],"author":[{"embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wporg\/v1\/users\/jdcauley"}],"wp:attachment":[{"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=10922"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=10922"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/raleigh.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=10922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}