It’s not so much the objectifying of it that impresses me, or the inheritance and sharing capabilities, but the fact that anything can be objectificated. In fact the only major brain problem I’ve come across is working out how to not go too far when creating classes and objects.
Let me explain. A very wise man once told me that when dealing with relational databases developers have a tendency to want to normalise everything to the nth degree. Normalisation is good, vital in fact. But when it leads to having 600 tables all with 2 fields in, you have to ask yourself &uot;have I gone too far?”.
It’s the same with this object lark. A data table = new object. A database connection = new object. A set of string manipulation methods = a new object. A repeated block of HTML = a new object. Before I knew it I was wearing out the ‘c’, ‘l’, ‘a’ and ‘s’ keys of my keyboard. So, I’m trying to learn where the balance is between my old-style procedural big-block-o-functions and the more separated and scalable class system. The balnce is ther somewhere, I just have to find it.
And yes, all those examples were from the new Wiblog system. My time is extremely limited at the moment, but I’m doing what I can. In fact I’m quite pleased because this week I’ve finalised how the admin area is going to work on paper (plenty-o-nifty features). I just need to find the time to actually write the code. But wife and children come first.
Oh, and if you were wondering what happened last month to the Wibsite, this image tells the story quite well:
(Yes, I know the dates don’t quite tally up with the downtime, which happened on the 18th-21st, but this is honestly straight from the stats program).