ServerFile example...

lex at cc.gatech.edu lex at cc.gatech.edu
Tue Jul 13 15:56:27 UTC 2004


"Russell Penney" <russell.penney at tincanct.com> wrote:
> ServerDirectory and ServerFile each know how a URL is constructed and they
> both make changes to the internals of a URL object! A URL should know how to
> change the file name not these objects. The code could be simplified a lot
> by refactoring.
> 

Note that URL's do know how to make these modifications, even though
ServerDirectory and ServerFile do not always take advantage of that.

Oh, and also, this sub-discussion has nothing to do with Stephane's
question.  If #file is the only sensible value then surely it should be
set automatically.


-Lex



More information about the Squeak-dev mailing list