{"id":1815,"date":"2017-07-03T10:44:42","date_gmt":"2017-07-03T14:44:42","guid":{"rendered":"https:\/\/2017.ottawa.wordcamp.org\/?post_type=wcb_session&#038;p=1815"},"modified":"2017-07-03T10:44:42","modified_gmt":"2017-07-03T14:44:42","slug":"template-code-in-functions-kill-kittens-mvc-within-wordpress-themes-and-plugins","status":"publish","type":"wcb_session","link":"https:\/\/ottawa.wordcamp.org\/2017\/session\/template-code-in-functions-kill-kittens-mvc-within-wordpress-themes-and-plugins\/","title":{"rendered":"Template code in functions kill kittens: MVC within WordPress Themes and Plugins"},"content":{"rendered":"<p>You&#8217;ve seen it before, one big file of PHP code and HTML all mangled together like a coughed up furball. There&#8217;s another, dare I say, a better way of structuring your code so that not only you as the developer can go back and make updates with ease, but others can as well. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;ve seen it before, one big file of PHP code and HTML all mangled together like a coughed up furball. There&#8217;s another, dare I say, a better way of structuring your code so that not only you as the developer &hellip; <a href=\"https:\/\/ottawa.wordcamp.org\/2017\/session\/template-code-in-functions-kill-kittens-mvc-within-wordpress-themes-and-plugins\/\">Continue reading <span class=\"screen-reader-text\">Template code in functions kill kittens: MVC within WordPress Themes and Plugins<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7650547,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1500744600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1752],"footnotes":""},"session_track":[1147127],"session_category":[],"class_list":["post-1815","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-bytowne-room"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8sFoH-th","session_date_time":{"date":"July 22, 2017","time":"1:30 pm"},"session_speakers":[{"id":"1752","slug":"matt-graham","name":"Matt Graham","link":"https:\/\/ottawa.wordcamp.org\/2017\/speaker\/matt-graham\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1815\/revisions"}],"predecessor-version":[{"id":1816,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1815\/revisions\/1816"}],"speakers":[{"embeddable":true,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/1752"}],"author":[{"embeddable":true,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/themattyg"}],"wp:attachment":[{"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=1815"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=1815"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/ottawa.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=1815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}