||[Jun. 29th, 2006|11:27 am]
Love Your Code
I'll kick this off with my latest accomplishment - an epic challenge spanning no less than three hours, and resulting in a masterpiece (in my opinion anyway :p)
I'm working on a moderately small project, but quite fiddly in parts. The contents of one particular drop down menu is populated using a complex two-table SQL query (how I managed that is another post, I think). Anyway, I was having the daily talk and update with my boss yesterday, and he decides that if a user knows the id number of an entry in this dropdown menu, they should be able to input it and have the menu skip to it.
I built this thing very slowly from the ground up, getting very basic functionality first, then making it a little more complex, then adding in real values, building some more etc. Took time, considering I had to learn the whole thing first.
Probably doesn't make much sense, but made me chuffed when I got it working :D
What's really geeky is that I really wanted to be able to use predicate logic (a la Prolog) to do it - it would have been so much quicker :)