Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • WinFS was said to have SQL query capabilities and basically be a tagged filesystem. If you look at the WMI, you can still query the filesystem through an SQL-like language, but as the underlying system is not a database, querying is slow. Unfortunately, WinFS got cut from Windows, so we'll be stuck with a tree (plus symlinks).

    I wrote me a small tagged filesystem [corion.net] for my mediaserver and even tied it to Windows via WebDAV, but as this doesn't achieve full integration into the Windows explorer and writing userspace filesystems is surprisingly hard or underdocumented on Win32, I dropped the filesystem approach and went with the HTTP+browser approach.

    Querying your filesystem through SQL is massively cool - it made finding suitable images to display as a cover for an mp3 collection insanely easy for example. No need to walk up a directory tree or whatever - just a query for similarly named files with a mime_type like image/% and the "right" size.

    Of course, my approach suffers from its lack of filesystem integration - the database/filesystem has to be rescanned from time to time so they don't go out of sync.