{"id":1177,"date":"2006-07-30T17:19:09","date_gmt":"2006-07-30T20:19:09","guid":{"rendered":"http:\/\/www.hoogervorst.ca\/arthur\/?p=1177"},"modified":"2007-10-02T20:56:04","modified_gmt":"2007-10-02T23:56:04","slug":"w10x","status":"publish","type":"post","link":"http:\/\/www.hoogervorst.ca\/arthur\/?p=1177","title":{"rendered":"W10x!"},"content":{"rendered":"<p><span class=\"dropcap\">E<\/span>arlier, <a id=\"p1176\" rel=\"attachment\" class=\"imagelink\" href=\"http:\/\/www.hoogervorst.ca\/arthur\/?attachment_id=1176\" title=\"It's an active one!\"><img decoding=\"async\" class=\"alignright\" src=\"http:\/\/www.hoogervorst.ca\/arthur\/wp-content\/uploads\/2006\/07\/comment_ecntral.thumbnail.jpg\" alt=\"It's an active one!\" \/><\/a>I uploaded &#8216;AHCommentCentral&#8217;, which is a plug-in that is supposed to help closing\/opening comments and ping\/trackbacks in your post sections. For now, you&#8217;ll find the initial release right <a href=\"http:\/\/www.hoogervorst.ca\/arthur\/?page_id=1175\">over here<\/a>. That is, for the daring people who experiment. It&#8217;s GPL-ed too, which is (only) natural for &#8216;non-compilable&#8217; sources<sup>1<\/sup>.\n<\/p>\n<p>I left out certain options (you&#8217;ll find references to them in the sources): the &#8216;auto close feature&#8217; (see PrintAutoForm) and the Post Exceptions list (see call to get_options to retrieve data from the &#8216;ahi_cc_excluded_posts&#8217; options field). In earlier versions, I actually had that &#8216;auto-close feature&#8217; working, but I decided against adding it to the initial code.\n<\/p>\n<p>There are couple of things I don&#8217;t like about creating WordPress plugins: Designing screens is obnoxious. Here&#8217;s a tip for you lazy programmers: grab the &#8216;wp-admin.css&#8217; file dump it in a directory and then <a href=\"http:\/\/www.nvu.com\/\">install NVU<\/a>. Yes, NVU is buggy like crazy, but proofed to be quite the help while racing through all these HTML form elements (A couple of years I was thinking about creating a form-designer). We need <a href=\"http:\/\/www.w3.org\/MarkUp\/Forms\/\">XFORMS<\/a>. Direly.\n<\/p>\n<p>Another thing that is annoying (when creating these plug-ins) is that the current plug-in structure forces you to start globalizing&#8217; certain variables. I won&#8217;t do a rant about globals. <a href=\"http:\/\/blog.case.edu\/gps10\/2006\/07\/22\/why_global_variables_in_php_is_bad_programming_practice\">There are plenty of them<\/a>. Global variables kill cats. Somehow, PHP forces programmers to write bad code. You know, poetry is one thing, but comparing PHP code with written literature is a joke. It&#8217;s like giving a kid 2 notes (A and B minor)  and tell him or her to write <em>80<\/em> melody lines out of those notes. The problem is not in creating 80 of &#8217;em. The problem is that the eighty tunes will always <em>sound alike<\/em>. But OK, I admit: PHP is not as bad as ASP (which is just a fancy name for Visual Basic for Applications <sup>[cough] and servers<\/sup>!).\n<\/p>\n<p>As for the name: I think I was watching Comedy Central the other day and the name got stuck somehow in the nether regions of my brain. I considered renaming it to something absurd like, &#8216;W10x&#8217; (which you pronounce as &#8216;What The Funk&#8217;) or better yet, &#8216;W09y&#8217; (you pronounce that as that typical Eigthties greeting &#8216;See You Later, Aligator&#8217;). I&#8217;m actually dreaming of an &#8216;EP01BF&#8217;, which is the abbreviation for  Peanut Buster Parfait. OK. Comment Central.\n<\/p>\n<p><small><sup>1<\/sup> What&#8217;s the point of releasing &#8216;closed sourced&#8217; PHP applications? [that&#8217;s a joke]<br \/>\n<\/small><\/p>\n<p><small><strong>UPDATE:<\/strong> I just updated the plug-in.<br \/>\n<strong>UPDATE#2: <\/strong> <a href=\"http:\/\/static.wordpress.org\/archive\/\">Older versions of WordPress<\/a><br \/>\n<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier, I uploaded &#8216;AHCommentCentral&#8217;, which is a plug-in that is supposed to help closing\/opening comments and ping\/trackbacks in your post sections. For now, you&#8217;ll find the initial release right over here. That is, for the daring people who experiment. It&#8217;s &hellip; <a href=\"http:\/\/www.hoogervorst.ca\/arthur\/?p=1177\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[52],"_links":{"self":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/1177"}],"collection":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1177"}],"version-history":[{"count":0,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=\/wp\/v2\/posts\/1177\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1177"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hoogervorst.ca\/arthur\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}