{"id":216,"date":"2017-10-07T22:32:45","date_gmt":"2017-10-07T22:32:45","guid":{"rendered":"https:\/\/2017.rochester.wordcamp.org\/?post_type=wcb_session&#038;p=216"},"modified":"2017-11-18T01:15:33","modified_gmt":"2017-11-18T01:15:33","slug":"html-in-functions-kills-kittens-mvc-in-wordpress-plugins-and-themes","status":"publish","type":"wcb_session","link":"https:\/\/rochester.wordcamp.org\/2017\/session\/html-in-functions-kills-kittens-mvc-in-wordpress-plugins-and-themes\/","title":{"rendered":"HTML in Functions Kills Kittens: MVC in WordPress Plugins and Themes"},"content":{"rendered":"<p>You\u2019ve seen it before, one big file of PHP code and HTML all mangled together like a coughed up furball. There\u2019s 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.<br \/>\n<a class=\"survey-link\" href=\"https:\/\/wcrochester.com\/session-survey\/?s_id=R3200\">Feedback<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You\u2019ve seen it before, one big file of PHP code and HTML all mangled together like a coughed up furball. There\u2019s 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. Feedback<\/p>\n","protected":false},"author":7650547,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1511001000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[215],"footnotes":""},"session_track":[174416],"session_category":[],"class_list":["post-216","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-room-3"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8nE6M-3u","session_date_time":{"date":"November 18, 2017","time":"10:30 am"},"session_speakers":[{"id":"215","slug":"themattyg","name":"Matt Graham","link":"https:\/\/rochester.wordcamp.org\/2017\/speaker\/themattyg\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/216\/revisions"}],"predecessor-version":[{"id":735,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/216\/revisions\/735"}],"speakers":[{"embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/215"}],"author":[{"embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/themattyg"}],"wp:attachment":[{"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=216"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=216"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}