What's New

Ramblings on technology, design and every so often something random

Alphabetical sorting with PHP in a multidimensional array

A multidimensional sorting experiment was foisted upon me by having to sort a giant array of LDAP results coming from Active Directory. Here is the weirdness in its rawest form. Consider this array. Seriously, consider this sucker! Do it! $arr = array( array( 35, "name" => "Fred" ), array( 22... > > read more

jQuery browser detection - oh yeah!

So, if you're not able to use the fantastic tags, such as these: <!--[if lt IE 9]> do stuff <![endif]--> Then, we're stuck digging through the DOM and Googling for a while to remember all the conditional statements from hell that we used to be stuck with. But, like a heartburn pill at a chili-cook-off, JQUERY TO THE R... > > read more


Installed the relatively new MVC 4 ASP.NET Framework today to try and mess around a bit and see what I could learn. Lots of nice new tools/toys in the new framework, including asyncronous controller calls! I first had to upate my client to Service Pack 1...yeah, I know, woefully out of date. Meh'. I installed MVC 4 view the web platform ... > > read more

JSON and CFQuery: Seriously guys!?!

Super handy tool Coldfusion has called SerializeJSON() should make talking with frameworks/toolsets like MooTools and JQuery easier. Passing data with just saying, 'here's my query and magically make it readable/parseable in the JS world'. Great idea, but wtf on the execution. Here is what a JS recordset should look like, imho:... > > read more

Timberline and Pervasive

So, this one isn't really even related to coding, but was a brain stumper that had me and another db nerd facepalming for hours. We had a client that had data stored in Timberline, which is an abstraction layer (accounting views, reports, blah) of Pervasive SQL. All the data was in Pervasive, but we couldn't the stored proc sp_linkedse... > > read more

JQuery - To be or not to be

Are you getting a JQuery error, that is something like: TypeError: $(".selector").myfunction is not a function I was. And, it was because I hadn't used the magic of .length. I know, I know, it's not all about length, but in this case, it is. I had a custom function attached to a selector, that was being called, but I wa... > > read more

Where in the seven levels of Microsoft is that bloody column!?

Today is the day when I had to, yet again, Google something that I'm sure I've Googled a dozen times. I was trying to find a column with the name 'email' somewhere in the great labyrinth that is our CRM/ERP/OMG system. For some reason, the creators of this much beloved beast of a database, didn't put an email field in their... > > read more

When not to use URL Rewrite in IIS

Most development shops focus on a specific language. We happen to focus on Coldfusion (though we also do PHP and ASP.NET C#), and one of the issues with CF's built in onMissingTemplate() function (in application.cfc) is that it doesn't handle requests to missing files, just missing coldfusion file requests. Example: /somefolde... > > read more

Why your site needs a favicon

What's that you say? A favicon! A small detail, yes, but one to not overlook for it is an extension of your website and your brand. Favicons are visible in all the major browsers, displayed in the tabs or in the location bar (and sometimes both.) They also show up in your list of bookmarks/favorites (hence the name). Favicons are tr... > > read more

See all Blog items