Can’t stay away from OO
Wednesday, June 11th, 2008Since the beginning of this week, I’ve been altering my code base for the Kickstart BASH script a lot. After a while, I decided it looked horrible, lacked documentation and was unmaintainable (and certainly not expandable). I also have the bad habit of forgetting what a certain function does, so proper documentation is a must.
So I started with getting back too my good old classes and objects. Starting off with the Output to HTML / Text or a File, I’m converting everything to fit nicely in classes and mainly use objects. And started documenting them all. You never know my code might prove useful to somebody else. You can expect to have a link show up to the phpdocs pretty soon.
Next up is converting my kinda ugly template system to Classes. Probably Options will prove useful here too. And I’ll be able to re-use them from my Output.
