[squeak-dev] Re: [ANN] Filesystem 1.0

Gary Chambers gazzaguru2 at btinternet.com
Mon Nov 23 17:20:20 UTC 2009


+1 for URIs, portable access is good.

Regards, Gary

----- Original Message ----- 
From: "John M McIntosh" <johnmci at smalltalkconsulting.com>
To: "The general-purpose Squeak developers list" 
<squeak-dev at lists.squeakfoundation.org>
Sent: Monday, November 23, 2009 4:42 PM
Subject: Re: [squeak-dev] Re: [ANN] Filesystem 1.0



On 2009-11-23, at 7:26 AM, Colin Putney wrote:

> One thing that is interesting is that they use URIs, with made-up schema 
> that map to their filesystem providers. So a Reference to a file in a 
> MemoryFilesystem would have a url like
>
> ram:/path/to/my/file.
>
> And files inside zip archives look like:
>
> file:///path/to/archive.zip!/path/to/file
>
> Java folks expect to us URIs everywhere. I wonder how well that would work 
> in Smalltalk.

I'll play broken record, and say yes we did this in Sophie. All resource 
references to file like things was via URI.
We also did the "made-up schema" so that we could refer to cached memory 
files versus  http: or file:


--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================








More information about the Squeak-dev mailing list