{"id":423,"date":"2012-12-16T15:44:24","date_gmt":"2012-12-16T20:44:24","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/acts\/?p=423"},"modified":"2012-12-16T21:50:10","modified_gmt":"2012-12-17T02:50:10","slug":"back-in-time-with-php","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/acts\/2012\/12\/16\/back-in-time-with-php\/","title":{"rendered":"Back in Time with PHP"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.law.harvard.edu\/acts\/files\/2012\/12\/back_in_time.jpeg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blogs.law.harvard.edu\/acts\/files\/2012\/12\/back_in_time.jpeg\" alt=\"\" title=\"back_in_time\" width=\"280\" height=\"280\" class=\"alignleft size-full wp-image-425\" srcset=\"https:\/\/archive.blogs.harvard.edu\/acts\/files\/2012\/12\/back_in_time.jpeg 280w, https:\/\/archive.blogs.harvard.edu\/acts\/files\/2012\/12\/back_in_time-150x150.jpeg 150w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/a>I recently had the opportunity to work on a PHP application that was written by a student in 2004. Before the time of PHP frameworks and separation of MVC, when applications had SQL and HTML in the same files. Each page was a form that submitted to itself. Everything contained in one file per page. Pretty crazy, right?<\/p>\n<p>Crazy like awesome. I had so much fun working on features for this old application. It wasn&#8217;t just nostalgic, it was like comfort food. Easy and delicious. I&#8217;m not really sure how comfort food is &#8220;easy&#8221;, but just go with it. I was practically begging to do more work on it.<\/p>\n<p>I can&#8217;t imagine myself creating a new application like this from scratch, but I&#8217;ve been thinking about the benefits. Anyone with just a tiny bit of PHP experience could pick it up and maintain it, there&#8217;s no technology ramp-up time. A project like this could be orphaned and passed around between anyone. It could be used to teach people basic PHP within the organization. Say, people who are so Java-centric they refuse to learn anything new or different. <\/p>\n<p>It was a good opportunity to take a look at the past and see what we&#8217;ve lost by going forward with technology. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently had the opportunity to work on a PHP application that was written by a student in 2004. Before the time of PHP frameworks and separation of MVC, when applications had SQL and HTML in the same files. Each page was a form that submitted to itself. Everything contained in one file per page. [&hellip;]<\/p>\n","protected":false},"author":4571,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64013,910,3163],"tags":[63965,63930],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-design-modeling","category-development","category-php","tag-abstraction","tag-php-2"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/users\/4571"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":3,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":426,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/posts\/423\/revisions\/426"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/acts\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}