Updates (Namespace, Cache, etc)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Updates (Namespace, Cache, etc)

Ken Treis-4
The code in the Cincom store has been namespaced.  It's simply been
moved into Swazoo with no further renames made.  I had to change a
couple Compiler>>#evaluate: sends in Site to evaluate in the new
namespace, so I extracted the compilation to a separate method.

There have been a lot of merges from Spray.  I don't know all of them
off of the top of my head, but here are the major ones:

Gone are all of the #stringUriPattern* messages.  Now that our URI
patterns are just strings, the stringUriPattern stuff was just
forwarding to #uriPattern anyhow.  You may have to update your sites.cnf
files.

All HTTPMessages now use the HeaderField objects.  Previous VW code only
used HeaderFields for HTTPRequest and simply used strings for Responses.
 But with some of the helper methods that Steve provided, we were able
to keep the interface simple while unifying the internal data
representation between Request and Response.  This might break some of
your custom Resources.

There are a few methods with #FIXME symbols in them.  It should be
apparent from the comments what needs fixing.  If you have a few spare
minutes and want to do something good for Swazoo, please pick one of
these and tackle it!

The SwazooCacheControl is also integrated.

SwazooCacheControl requires a couple of extra pieces of behavior from
Filenames.  These are highly dialect-specific.  I've put them into
Swazoo-VisualWorks for that reason.  Some of them also depend on an
extension to Timestamp (#rfc1123String).  Looks like Dolphin's Timestamp
is a TimeStamp.  Squeak doesn't seem to have something like this.  For
that reason, Timestamp>>#rfc1123String is also implemented in
Swazoo-VisualWorks.  And right now, it's somewhat broken: no matter what
time zone you're in, it'll call your local time "GMT".

I rolled the server version number to "0.50 alpha (Columbus)".  Figured
it was time to pick another version, because there's a lot of
integration work going on.  So why not pick another zoo?  :)



Ken