Thread overview
Tango VFS
Jun 26, 2007
Lars Ivar Igesund
Jun 27, 2007
Clay Smith
June 26, 2007
Dear D community

The Tango team is readying a virtual-file-system for Tango. A VFS lets you mount 'folders' from arbitrary sources (local files, zips, ftp, http, etc) and exposes the content in a simple and consistent manner independent of the underlying repository mechanisms.

A primary component of this system is a Folder abstraction, exposing typical file system operations. The Folder interface can be implemented by most hierarchical data providers, whether these are local folders, compressed archives, webdav resources, or even XML files. In addition the VFS itself is a folder which may be mounted into other VFS instances.

The initial implementation has progressed rapidly with both local folders
and Zip-based folders operating at this time, and adapters for
other 'protocols' under way. The various folder implementations are able to
operate independently from the VFS such that, for example, LocalFolder can
be used as an alternative interface for operating on local files.
All 'protocols' are pluggable, such that linking a VFS adapter will expose
that protocol for use.

The first revision will provide synchronous access to resources, whereas asynchronous access will be implemented using existing and coming non-blocking features of Tango.

Contact:
http://www.dsource.org/projects/tango/wiki/Contact

Signed,

The Tango Team

http://www.dsource.org/projects/tango/wiki/Contributors

----

Tango is a D library providing a cohesive runtime and library for the D programming language. A feature list can be found on http://www.dsource.org/projects/tango/wiki/Features
June 27, 2007
Lars Ivar Igesund wrote:
> Dear D community
> 
> The Tango team is readying a virtual-file-system for Tango. A VFS lets you
> mount 'folders' from arbitrary sources (local files, zips, ftp, http, etc)
> and exposes the content in a simple and consistent manner independent of
> the underlying repository mechanisms.

Wow!! I was thinking on writing something like this for a project. You've saved me a lot of work. Thanks


> ...
> The initial implementation has progressed rapidly with both local folders
> and Zip-based folders operating at this time, and adapters for
> other 'protocols' under way. The various folder implementations are able to
> operate independently from the VFS such that, for example, LocalFolder can
> be used as an alternative interface for operating on local files.
> All 'protocols' are pluggable, such that linking a VFS adapter will expose
> that protocol for use.

I suppose the rest of tango IO-related modules can use this VFS as if it  where the real FS?
June 27, 2007
Lars Ivar Igesund wrote:
> Dear D community
> 
> The Tango team is readying a virtual-file-system for Tango. A VFS lets you
> mount 'folders' from arbitrary sources (local files, zips, ftp, http, etc)
> and exposes the content in a simple and consistent manner independent of
> the underlying repository mechanisms.
> 
> A primary component of this system is a Folder abstraction, exposing typical
> file system operations. The Folder interface can be implemented by most
> hierarchical data providers, whether these are local folders, compressed
> archives, webdav resources, or even XML files. In addition the VFS itself
> is a folder which may be mounted into other VFS instances.
> 
> The initial implementation has progressed rapidly with both local folders
> and Zip-based folders operating at this time, and adapters for
> other 'protocols' under way. The various folder implementations are able to
> operate independently from the VFS such that, for example, LocalFolder can
> be used as an alternative interface for operating on local files.
> All 'protocols' are pluggable, such that linking a VFS adapter will expose
> that protocol for use.
> 
> The first revision will provide synchronous access to resources, whereas
> asynchronous access will be implemented using existing and coming
> non-blocking features of Tango.
> 
> Contact:
> http://www.dsource.org/projects/tango/wiki/Contact 
> 
> Signed, 
> 
> The Tango Team 
> 
> http://www.dsource.org/projects/tango/wiki/Contributors 
> 
> ----
> 
> Tango is a D library providing a cohesive runtime and library for the D
> programming language. A feature list can be found on
> http://www.dsource.org/projects/tango/wiki/Features

Nice! Such a feature as this makes me more apt to go 100% tango.