new commits to exyus code tree

0 views
Skip to first unread message

mca

unread,
Mar 27, 2008, 3:14:55 AM3/27/08
to exyus
i committed a handful of changes to the http://exyus.googlecode.com
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 <code>protected Hashtable shared-args</
code> 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.
Reply all
Reply to author
Forward
0 new messages