February 21, 2006

Mad coding ….

I’ve been working on Blog every spare moment I’ve got :p Most of the coding yesterday was on fixing the categories. The category display in Blog is based on a new Delphi component that I created – it’s a (sort of) data aware check list component which displays values from a database table as choices for you to select. Most data aware components are basically tied to a specific field in a data table. This one is only sort of data aware since it retrieves the information for the list from a table but doesn’t actually store the results in a data column :p Instead, you have to both supply it with the initially checked values and then later retrieve the final check list and store it manually yourself. I don’t know if anybody else has ever needed a component like this but I’ve come across this specific need several times so far. Hence, the creation of the component.

However, since it’s my own component, it had a few bugs left. Plus, I’d done it as a quick-and-dirty component a long time ago and had not gone back to it. So, I spent yesterday tightening up the data-aware-ness of the component a bit more. The category list was supposed to be editable in-place (kind of like WordPress’ Ajax aware categories but I had this in place a long time before that :p). But the editing in-place wasn’t working properly because the component itself wasn’t totally data-aware. So after much searching, debugging and fixing, I was able to get that all working. In the process, I also managed to stumble upon a few optimizations which seems to have made Blog itself load much faster :p All in all, it was good day of coding work though the result was that I went to bed much later than usual and boy am I tired today 🙂 I have to still do all the work related to handling remote categories and posting category selection via XMLRPC to a remote blog but I’m getting there and the goal is ever closer …

Tags: ,
Posted by Fahim at 8:22 am  |  1 Comment