Archive for the Category ◊ Programming ◊

13 Nov 2008 How to be (mostly) free of innerHTML forever
 |  Category: Programming  | 2 Comments

Current Mood:
Billy Badd emoticon
Billy Badd

Note: This post was originally titled, “How Web2.0 is preventing the abolishment of innerHTML” back when I thought I was giving up on ever finding a solution.  I ended up doing it, and can’t find any existing references that succeed like I did so I’m BLOGGING IT.

Are you familiar with the innerHTML property? If not then consider yourself lucky. What some would describe as, “the most useful thing that’s ever come out of Microsoft’s ‘extending’,” is still at its heart the absolute ‘wrong’ way to do things.  I won’t go into why that is in this post, just Google around for two seconds; millions of words have already been typed on that subject alone.

If you DO know what innerHTML is, and have a desire to stop using it, keep reading.

more…

10 Nov 2008 Remembering my hate for PHP
 |  Category: Programming  | 10 Comments

Current Mood:
Sedimentary emoticon
Sedimentary

I spent the weekend coding in PHP, mostly because it had been a little while since I used it.  It was kind of an attempt to shake of the little bit of rust that had developed while I was sitting happily in Python world.  It didn’t take long for me to remember why I kind of actually hate PHP.  It has replaced Perl in my brain as the “goofy” language.  PHP had a good start, it was a simple HTTP Pre-processor.  Unfortunately it grew up into quite the ugly beast.

more…