Damn, but it’s been a long week. Granted, I’m 33 years old, but it’s Saturday night, 10:16 at the exact moment I started typing this, and I’m SO ready for bed. It’s possible that the Peppermint Patty I’m drinking has something to do with it, but who knows? By the way, for the uninitiated, a Peppermint Patty is an adult beverage, consisting of hot cocoa, peppermint schnapps, whipped cream, and Cream de Minthe. Very good!
I’ve been working my tail end off at work on an old ASP classic application, that shall remain nameless to protect the innocent (specifically, me), and am SO ready to have 5 minutes in a ring with their lead developer. I’ll even let the guy wear a Hogu (Taekwondo chest protector). Never would I have thought, except maybe when I was first beginning my journey as a developer, that it’d take 3 damn days to get a drop down working on a web page! No kidding! Not because I’m lacking in skills. As humbly as I can say it, I’m not lacking for knowledge when it comes to being a developer. No, it’s the fact that you have to sort through many layers of ASP, XML, VBI, and XSL files to find what you’re looking for. And when you DO find it, they’ve got so much custom junk in the way that’s it’s ridiculous.
Case and point. Part of the application is a form that has its controls generated dynamically based on settings in a database. The user can specify what data type the field should contain, whether it’s a dropdown, a text box, or whatever, and so forth. Now, they offer the developer very little in the way of customization on the screen, so if a custom need arises that the designer doesn’t support (more often than not, sadly), we have to resort to javascript. Not too big an issue, normally, except that it’s not as simple as it should be.
The form uses dropdowns, just like any other form might. So what happens when I try to use my friend jQuery to find the dropdown? I get back zilch! Nada. Nothing. I used the right ID, so why aren’t I getting anything. Oh, hey, I bet it’s because all I can see in the DOM at runtime for the dropdown is a DIV element with an IMG element in it. That’s it. No SELECT element to be found. Yet one is being drawn! AAAAAAAARGH!!! I’m still waiting for a decent response from the parent company about how to deal with it. So far, their response, literally, was “we don’t know how to do what you need”…
I say again. Please, just 5 minutes in a ring. That’s all I want…
I’ve also been busy hammering away at a jQuery Brownbag that I’m leading on Friday. Our company recently added it to the list of things they support, and as the company expert on it so far, the task has fallen on me to make sure everyone comes up to speed on it. I’m looking forward to doing this, as I love this library, and really wonder how I ever got on without it. Oh yeah, I remember. I wrote lot’s and lot’s of code that eventually found their way in to libraries.
So, as I said, I’m exhausted, and can’t wait for beautiful, beautiful sleep to take me… 