More updates coming in the Parent-Child Sorting series

So … the mainframe upgrade we had at work didn’t go as wonderfully as planned. It never does, does it? Long story short, my days are slowly winding down to the sub-16-hour level and I finally have a chance to get back on my email and updating this blog.

In that time, several people have come up with some very good feedback about my Parent-Child Sorting series, and I’ll be bolting on a few more useful features over the next few entries. As a teaser, I’ll tell you that we’ll be covering how to add in the capability to quickly find an item’s lineage (parent, grandparent, etc, which are great for bread crumb navigation), as well as a way to quickly find an item’s children (for things like directory-style drilldowns).

Oh, and for the record, no there isn’t a downloadable file or a copy-n-pasteable version of the finished sorting function. I don’t anticipate there will be any time soon. Yes, I know it’s annoying and yes I know it takes some time to piece together all of the snippets into one function.

*** HOWEVER ***

I’ve written a ton of Open Source code, much of it in ColdFusion. I’ve found that when I provide a quick-and-easy download or a copy-n-pasteable version, a large number of people won’t even look at the code before they try to use it. In fact, many people won’t even bother to read the instructions. This has led to many emails that could have been avoided if the person had just noticed the fact that the first line of code was something like:

<!--- CHANGE THE FOLLOWING 5 LINES TO SUIT YOUR ENVIRONMENT --->

Yeah, I know, it’s rough having to actually open a file and look at the first two lines. My heart goes out. Really, it does.

I took the time to leisurely re-read the PDF version of the series so far and reassemble the functions by copy-and-paste. It took a grand total of under 10 minutes. I got an email from someone saying that my entries were useless because there wasn’t a downloadable finished product. I can’t be bothered with someone who won’t take the 10 minutes to save themselves hours of coding and maybe learn something in the process. Yes, I know, I am a jerk. Anyway.

Next up: more parents and children!

Published by

Rick Osborne

I am a web geek who has been doing this sort of thing entirely too long. I rant, I muse, I whine. That is, I am not at all atypical for my breed.