New Immissions/Updates:
boundless - educate - edutalab - empatico - es-ebooks - es16 - fr16 - fsfiles - hesperian - solidaria - wikipediaforschools
- wikipediaforschoolses - wikipediaforschoolsfr - wikipediaforschoolspt - worldmap -

See also: Liber Liber - Libro Parlato - Liber Musica  - Manuzio -  Liber Liber ISO Files - Alphabetical Order - Multivolume ZIP Complete Archive - PDF Files - OGG Music Files -

PROJECT GUTENBERG HTML: Volume I - Volume II - Volume III - Volume IV - Volume V - Volume VI - Volume VII - Volume VIII - Volume IX

Ascolta ""Volevo solo fare un audiolibro"" su Spreaker.
CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Virtual folder - Wikipedia, the free encyclopedia

Virtual folder

From Wikipedia, the free encyclopedia

In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on their physical location in a folder. Instead, they are some scripts which coalesce results from some datastore, which may be a database or a custom index, and presents them visually in the format in which folder views are presented.

Contents

[edit] Technology

Virtual folders provide a means for making it easier for users to find files that are content-related, such as by project. The user needs to specify a criteria and all files matching the criteria are dynamically aggregated into the virtual folder. Files in a virtual folder are not limited to any single physical location on the hard-drive, as is the case with traditional folders, but can be in any location. In fact, files in a virtual folder do not even need to be stored as files on the hard drive. They may be on a network share or in a custom application datastore such as e-mail inbox or even a database.

Documents cannot be "stored" in a virtual folder, since physically a virtual folder is just a file storing a search query. If any file is attempted to be stored in a virtual folder, depending on the implementation, is redirected to some physical store.

Most implementations speed up searching by pre-indexing the hard drive, or the locations where the search has to be performed. So when searching is to be done, the index, which is a representation of the entire data suitable for fast searching, is used. Since the entire folder hierarchy is not accessed, the search is completed much faster.

[edit] Implementations

Virtual folders are a well-established construct in operating systems. BeOS included a version of virtual folders referred to as "saved queries", that has since influenced the development of virtual folder features in operating systems like Mac OS X, Windows and Linux. These virtual folders are populated dynamically by executing a search on the entire file system, or a subset of it, or by using the cached version of the search.

[edit] BeOS

The initial developer preview of the operating system, released in October 1995, included database-like functionality to make it easier for users to manage their files. To do this the filesystem indexes certain file attributes to allow for fast searching. By default the filesystem indexes the filename, size and last modified timestamp automatically, but could also create indexes for other attributes when told to by either an application or by the user.[1]

When a user performs a file search, a file is created in the folder "/boot/home/queries" with a name derived from the content of the query and the date and time of the search, such as "Name = Western Infirmary - Mar 21, 11:59:40 PM". The query criteria of the search is stored in an attribute of the file called "qrystr".[2] When the file is opened, the filesystem indexes were queried and a Tracker window is opened with an up-to-date list of files that match the criteria.

Additional features were added to search with subsequent releases. Release 2 introduced the ability to edit saved queries,[3] and Release 3 gave the users the chance to define their own names for saved queries.[4] Before Release 4 in 1998, all queries were stored indefinitely. However with R4, the BeOS developers introduced a seven day limit on all queries. If a user wanted a query to stay around longer, they could uncheck a "Temporary" flag in the Find dialog.[5]

[edit] Mac OS X

The Smart Folder icon in Mac OS X
The Smart Folder icon in Mac OS X
A Spotlight search for the words "Western Infirmary" saved as a Smart Folder in Mac OS X.
A Spotlight search for the words "Western Infirmary" saved as a Smart Folder in Mac OS X.

One of the lead developers of the BeOS filesystem, Dominic Giampaolo, was also involved in adding a virtual folder system in Apple Inc.'s Mac OS X operating system.[6]

In April 2005, Apple released Mac OS X v10.4, with their implementation of virtual folders called Smart Folders. These folders are actually dynamically updated by the Spotlight engine to contain content that match certain criteria. For example, this could be used to give you a folder containing all the Word documents containing the word "smith" that have been edited within the last 7 days. Smart Folders are created by saving a Spotlight search, which records the search criteria in a Property list file with a .savedSearch extension and, by default, saves them in the "/Users/username/Library/Saved Searches" folder.

There are many variants of the Smart Folder concept that can be seen in applications that use the Spotlight engine, usually identified by a gear symbol on its purple-hued icon. For example: Smart Mailboxes in Mail and Smart Groups in Address Book.

Before Spotlight earlier versions of Mac OS X had a similar concept in the iApps (iTunes and iPhoto), but these did not use the system-wide Spotlight engine.

[edit] Windows Vista

Saved Search, which is  Windows Vista's implementation of virtual folder, is physically just an XML file.
Saved Search, which is Windows Vista's implementation of virtual folder, is physically just an XML file.

In November 2006, Microsoft released Windows Vista which allows saving any search query as a Search Folder, which is a type of virtual folder. Whenever it is accessed the search is run and the results are presented as if a folder is being shown, with its contents being aliases to the actual files. The exception is that, in certain scenarios, the search is not run and a cached version of the folder is shown.

A Search Folder is just an XML file, which stores the query in a form that can be used by the Windows search subsystem. As such, it can be created anywhere in the filesystem wherever a normal file can be created, by saving a search from the Windows Search system. Whenever such files are accessed, the search is executed on the entire hard drive and the matches are aggregated and presented as a virtual folder.

In the early development builds of Windows Vista, there were some pre-configured Virtual Folders, for Music, Pictures, Documents and the like, which were used as replacement of their special folder counterpart. Windows Vista also supported manual creation of custom virtual folders. However, Microsoft felt that Virtual Folders will be too confusing to the general public and hence they are not being used as the replacement of physical folders, as was the original goal. Unlike in previous versions, where Start Menu icons led to Virtual Folders for Music, Pictures and Documents, build 5308 onwards lead to physical folders of same name, which are exactly like My Documents and other similar folders in Windows XP.

[edit] GNOME

A saved search in GNOME 2.14
A saved search in GNOME 2.14

In GNOME 2.14, a saved search is a virtual folder whose contents are the result of a Nautilus search, which has multiple backends. The contents of these folders are determined dynamically when the folder is opened, and updated automatically when files are created or modified.

[edit] Other implementations

Virtual folders are also a well-established construct in email clients. In 2000, Helix Code (which became Ximian before being bought by Novell) released a preview version of their Evolution email client which included a virtual folder concept that allowed users to organize e-mail. Folders can be created that automatically list e-mails matching user-defined rules, for example all e-mail from a particular address or all e-mail that includes a specific keyword.[7][8] Microsoft Outlook 2003 added a similar feature called Search Folders. In July 2002, Apple announced version 3 of iTunes which includes Smart Playlists which can be considered a variant of a virtual folder in the sense that the dynamically aggregate items from the media library, based on the specified criteria. The only difference is that the search executed on accessing them is not on the file system's folder hierarchy, but on their internal datastore.[9] Microsoft added a similar feature to version 9 of Windows Media Player called Auto Playlists however that feature was only available on Windows XP.[10]

[edit] References

  1. ^ Scot Hacker (1999). The BeOS Bible. Peachpit Press. ISBN 0-201-35377-6. 
  2. ^ Chris Herborth. Show formula query strings in Tracker. The BeOS Tip Server. Retrieved on March 22, 2007.
  3. ^ Be Inc. (October 7, 1997). Be Ships BeOS Preview Release 2. Be Inc.. Retrieved on December 24, 2006.
  4. ^ Be Inc.. Searching on the BeOS. The BeOS Tip of the Week. Be Inc.. Retrieved on December 24, 2006.
  5. ^ Scot Hacker. Self-destructing queries. The BeOS Tip Server. Retrieved on March 22, 2007.
  6. ^ Dominic Giampaolo. Personal homepage. Retrieved on September 10, 2006.
  7. ^ Michael Hall (June 30, 2000). You Say You Want an Evolution. Linux Planet. Retrieved on December 24, 2006.
  8. ^ Dave Whitinger (July 8, 1999). Dave Whitinger and Miguel de Icaza at the ZD Open Source Forum. Linux Today. Retrieved on December 24, 2006.
  9. ^ Apple (July 17, 2002). Apple Announces iTunes 3. Apple. Retrieved on December 25, 2006.
  10. ^ Microsoft (January 3, 2003). Microsoft Announces Digital Media Upgrade for Windows XP With Final Release of Windows Media Player 9 Series and Windows Movie Maker 2. Microsoft. Retrieved on December 25, 2006.

[edit] See also

In other languages

Static Wikipedia (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2006 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia February 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu