new commits to exyus tree

2008-03-27 @ 03:04#

i committed a handful of changes to the exyus @ googlecode project this evening. updated the error-rendering for all the Resource classes. they now all honor the media-types requested by the client.

i also broke down and added a protected Hashtable shared-args to the base class (HTTPResource). this allows child classes to collect custom name/value pairs and pass that down to parent classes. needed this to handle generated ids for the codebreaker game and i can see it for other cases. i want to stay clear of too much 'property-bag' stuff, but since this is within the same class instance, i think this is ok.

i also did more work on the codebreaker game project. the code checked in is still rough, but it's starting to come together (and i'm having fun playing it!). i suspect it will be posted as a live demo this weekend.

finally, i suspect another round of refactoring is in the near future. i can see several places where the code looks the same and could be moved to a shared routine. doing a good job of refactoring will make creating custom classes off the base much easier, too.

code