Hi guys. I'm going to try to semi-regularly post the source code of Greeble as I finish it, up until the alpha release of Greeble when the timer at http://greeble.net expires.
This code is open-source, and is meant to be self-documenting, meaning you can just grab any old source code file out of Greeble and look at it by itself and figure out mostly how it works, no searching around for external documentation or guessing at what an included file or referenced function does.
The comments at first glance appear extremely verbose, to the point of cluttering the code-- it's meant to be viewed in a modern editor, and most modern editors will automatically collapse large comment blocks like that into one line, making the code much more readable.
The @ prefixes on certain lines in the comments indicate the comment line's special meaning to an editor, usually to give it information on a class method to help the programmer when calling said method.
The @access annotations are redundant and I really ought to go ahead and remove those, but they're friggin everywhere. Lol.
First off, the second most useful class I have ever written:
MySQLRow.
Next week: the most useful class I have ever written, MySQLTreeRow!
Bookmarks