[Pharo-project] Fwd: [squeak-dev] [ANN] Filesystem 1.0
---------- Forwarded message ---------- From: Colin Putney <cputney@wiresong.ca> Date: 2009/11/21 Subject: [squeak-dev] [ANN] Filesystem 1.0 To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org> Hi folks, I've just made available for download a new project of mine. It's an alternative interface to the filesystem, which grew out of my frustration with trying to use FileDirectory for some particularly file-intensive code. It's built upon the FilePlugin primitives, but all the image-side code is written from scratch. The interface offers:     - Convenient path manipulation     - Transparent access to the contents of zip files     - Late-bound references to files and directories     - Support for working with entire directory trees A SAR file is available for download here:     http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar A short tutorial is available here:     http://www.wiresong.ca/filesystem/ Feedback appreciated! Colin -- Lukas Renggli http://www.lukas-renggli.ch
Hi colin good that you did that because I was starting to do the same. This file stuff was too frustrating. - I read the tutorial and I scanned the code (too early this morning) and I could not see how to rename a file. without copying it. - why having this in the tests and not in the classes? createDirectory: aString filesystem createDirectory: (filesystem stringToPath: aString) createFile: aString filesystem createFile: (filesystem stringToPath: aString) - It was not clear to me how we map the old interface readyOnlyFileNamed and friends - ref := FSWindowsFilesystem stringToReference: 'D:\Squeak\3.10'. I was wondering if reference should be part of the user domain because why not ref := FSWindowsFilesystem on: 'D:\Squeak\3.10'. or ref := FSWindowsFilesystem folder: 'D:\Squeak\3.10'. I was confused by FSReference vs. FSPath - I would really like to see how we can get rid of FileDirectory and use your lib and its improved version. On Nov 21, 2009, at 10:01 AM, Lukas Renggli wrote:
---------- Forwarded message ---------- From: Colin Putney <cputney@wiresong.ca> Date: 2009/11/21 Subject: [squeak-dev] [ANN] Filesystem 1.0 To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org>
Hi folks,
I've just made available for download a new project of mine. It's an alternative interface to the filesystem, which grew out of my frustration with trying to use FileDirectory for some particularly file-intensive code. It's built upon the FilePlugin primitives, but all the image-side code is written from scratch.
The interface offers: - Convenient path manipulation - Transparent access to the contents of zip files - Late-bound references to files and directories - Support for working with entire directory trees
A SAR file is available for download here:
http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar
A short tutorial is available here:
http://www.wiresong.ca/filesystem/
Feedback appreciated!
Colin
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse wrote:
- I would really like to see how we can get rid of FileDirectory and use your lib and its improved version.
<broken record> by adding a handful of convenience methods almost everything can be done with URIs already. </broken record> Having gotten that out of the way ;-) I think your library provides quite a bit of inspiration on how to use of URIs. And I totally agree that we need to rewrite/replace the current file/dictionary implementation. Michael
so mike we should have the code else it will never happen. Stef On Nov 21, 2009, at 1:08 PM, Michael Rueger wrote:
Michael Rueger wrote:
quite a bit of inspiration on how to use of URIs.
how to *improve* the use of URIs :-)
Michael
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I now use FileSystem for CAnalyzer (not committed yet). I will provide some comments soon. Cheers, Alexandre On 21 Nov 2009, at 06:01, Lukas Renggli wrote:
---------- Forwarded message ---------- From: Colin Putney <cputney@wiresong.ca> Date: 2009/11/21 Subject: [squeak-dev] [ANN] Filesystem 1.0 To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org>
Hi folks,
I've just made available for download a new project of mine. It's an alternative interface to the filesystem, which grew out of my frustration with trying to use FileDirectory for some particularly file-intensive code. It's built upon the FilePlugin primitives, but all the image-side code is written from scratch.
The interface offers: - Convenient path manipulation - Transparent access to the contents of zip files - Late-bound references to files and directories - Support for working with entire directory trees
A SAR file is available for download here:
http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar
A short tutorial is available here:
http://www.wiresong.ca/filesystem/
Feedback appreciated!
Colin
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (4)
-
Alexandre Bergel -
Lukas Renggli -
Michael Rueger -
Stéphane Ducasse