The Timing of Time
ducasse at iam.unibe.ch
Mon Apr 17 06:48:03 UTC 2006
this sounds really interesting.
Does it mean that you have an abstraction over the ugly FileDirectory
> Passport provides the class ResourcePath, which is conceptually a
> union of a
> VisualWorks Filename with a URL object. ResourcePaths support HTTP
> File URLs and native filenames (in the latter case, using native
> syntax--Windows, Unix or Classic MacOS.) In VisualWorks, they also
> FtpURLs and HttpsURLs (and it wouldn't be all that hard to do the
> same in
> Squeak.) Note that ResourcePaths can do all that without any
> subclasses--they use the Strategy pattern instead.
So we could have this kind of behavior
File default recursivelyDo: [:each | where each would be a
> The Squeak implementation of Passport includes the classes
> HttpRequest and
> HttpResponse, which implement HTTP 1.1 with both client-side and
> server side
> functionality. You might find that to be of some interest, in view
> of the
> mess that is HTTPSocket.
More information about the Squeak-dev