{"id":25,"date":"2007-07-03T23:07:35","date_gmt":"2007-07-04T07:07:35","guid":{"rendered":"http:\/\/thomashahn.is-a-geek.com\/~ted\/wordpress\/?p=25"},"modified":"2007-09-29T10:21:15","modified_gmt":"2007-09-29T18:21:15","slug":"on-php-design","status":"publish","type":"post","link":"https:\/\/www.gauntletwizard.net\/wordpress\/?p=25","title":{"rendered":"On PHP design"},"content":{"rendered":"<p>I&#8217;m many things, but the part I want to talk about tonight is my coder. I&#8217;ve been coding for more than half my life: When I was 8, I started writing some basic LOGO programs in an extracurricular activity called Wiz Kids. (One of my best friends to this day, Donkey Kong, I met through the program, though we weren&#8217;t in the same session). My dad showed me some Perl back before web 1.0. I have a degree and a half in Computer Science, though I&#8217;m not certain what good either of those do me.<\/p>\n<p>But I can code, and I do enjoy it. I just suck at it. Case in point: I just dug out a set of PHP scripts I wrote for a friend who has a webcomic. They&#8217;re not <span style=\"font-style: italic\">horrible<\/span>, but I see so many things I could have done better. I&#8217;m fairly certain it&#8217;s actually secure code (which means something, in php), but the design is all wrong: It&#8217;s written as an application that you drop a layout into, rather than as a set of scripts you drop into a layout.<\/p>\n<p>I&#8217;m gonna fix that, eventually. But, for the moment, <a href=\"http:\/\/thomashahn.is-a-geek.net\/code\/webcomic_V0.2.zip\">here<\/a>&#8216;s  the code. It&#8217;s used in only two sites, one of which is Brian Carroll&#8217;s Instant Classic <a href=\"http:\/\/www.instantclassic.net\/genrezvous\/index.php\" target=\"_blank\">Genrezvous Point<\/a>. It&#8217;s an interesting exercise, but needs to be reworked. Still, not bad for a couple days of PHP coding without any real direction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m many things, but the part I want to talk about tonight is my coder. I&#8217;ve been coding for more than half my life: When I was 8, I started writing some basic LOGO programs in an extracurricular activity called Wiz Kids. (One of my best friends to this day, Donkey Kong, I met through &hellip; <a href=\"https:\/\/www.gauntletwizard.net\/wordpress\/?p=25\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">On PHP design<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/25"}],"collection":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}