[BUG] large files?

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Thu Nov 8 09:04:47 UTC 2001


On Wed, 7 Nov 2001, Eric Scharff wrote:

> On Wed, 7 Nov 2001, Tim Rowledge wrote:
> 
> > While we're worrying about filenames, how about adopting the technique
> > we settled upon at Interval; all filenames are URLs, and only the file
> > handling prim code ever sees anything else. People are getting used to
> > URLs, they have reasonably documented rules, they open the door to
> > a nice interace to networks, all sorts of advantages.

I second that :)

> How do file URLs handle relative file names?

Well, the problem with "Relative URLs" is that, actually, they are no
URLs.  They're not *Universal* Resource Locators, but depend on some other
URL, commonly called the "Base URL". So, "somedir/somefile.ext" is only
meaningful in some context. Usually, that context is provided by some kind
of "Document", it must at least support getting the base URL. As long as
you always provide reasonable defaults all should be fine.

-- Bert





More information about the Squeak-dev mailing list