
Main -- Main Archive Page -- May 2003 -- The first casualty of work is free time | « P.S. I love you America - The back catalogue »
May 09, 2003
The first casualty of work is free time
Not too many entries lately, I've been bogged down with a project for my day job — a little PHP page that makes LDAP calls to a directory of Johnston County, NC phone numbers.
There is still some dicey CSS issues I have to deal with — the page is a wreck under Safari, for example — but I'm happy with the speed. The first prototype (done in Perl, instead of PHP) look nearly 30 seconds to complete a lookup, now the page load should be the bottleneck for most users.
It really shouldn't have taken me this long to finish this, but I was hung up with sorting multidimensional arrays. LDAP returns results in the form of a three-dimensional array, and I didn't have a clear idea of how I was going to sort something like that. I looked for example code (of course) but got sidetracked by a few examples that proved to be bad examples (at least for me, someone better at PHP or Perl would have probably been fine).
Anyway, I'd appreciate some feedback on the look of the page ... if anyone has some free time.