[linux] Folders en Libraries. [Was: weigerende opstart/setup van virtualbox]

Daniel von Asmuth asmuth op bakunin.xs4all.nl
Ma Jan 20 21:39:30 CET 2014


Aldus schreef Johan Wevers op Mon, Jan 20, 2014 at 07:28:24PM +0100:
> On 20-01-2014 18:43, Daniel von Asmuth wrote:
> 
> > Nu kent Windows 2008 ook 'libraries' die kennelijk een ander concept aanduiden. 
> > Iemand enig idee wat dat kan zijn?
> 
> .NET library soms? Dat is een soort geregistreerde DLL (zeg maar een die
> in een windows versie van ld.so.conf vermeldt staat) in plaats van dat
> hij gevonden moet worden via het pad of via een registry registratie.

Een .Net library mag dan 'managed code' zijn en 'een Active X control
registreren' is verschillend van een bestand in ld.so.conf opnemen (dat
zorgt er alleen maar voor dat de juiste file gevonden kan worden), 
maar Libraries onder Windows zijn directories, zoals 'My Documents' in
vorige versies van Windows (NT). De MSDN Library is weer iets anders:
een verzameling van elektronische documentatie. 

Microsoft zelf zegt hierover:
Windows 7 introduces the concept of Libraries as destinations where
developers and end-users can find and organize their data as collections
of items that can span multiple locations on the local computer as well
as on remote computers. The LibraryAPIs provide a straightforware way
for developers to create, interact with, and support Libraries as
first-class items within applications. Libraries can also be selected
by using the folder packer dialog box. Applications can enumerate
relevant library scopoes, or the ycan use the library directly as a
folder. In Windows 7, Windows Explorer makes file management easier for
the user in several ways:
- the preview for your applications's file type is more accessible with
  a new button that lets users show and hide the preview pane. 
- Immersive visual stacks aggregate thumbnail images for files types in
  a view.
- Windows Explorer views show useful information based on properties
  written with your property handler. 
- Document snippets and hit highlighting use your IFilter interface
  implementations t omake searing and finding files easier. 
- Context-menu verbs and commands are easier than ever to implement.
By implementing all of the appropriate format handlers for the items
returned from your protocol handler, search results fromm your custom
data store can be as rich as search results from files. Libraries are 
automatically created for your protocol handleer so users can scope
their searches easily. And he logic for creating Libraries can be
easily customized through the registry.

Je moet aardig wat studeren om de titel van Dummie te verdienen, maar
het lijkt iets met folders te maken te hebben. 

O ja, en dan kent Windows ook nog *libraries*
"Removable Storage Manager manages two classes of physical locations:
libraries and the offline library. Libraries include both data storage
media and the means to read and write the media. The set of all physical
locations includes the libraries and the offline library. Libraries are
composed of the following: slots, drives, transports, bar-code readers,
doors, and insert-eject ports. A CD-ROM drive with a disc inserted is a
simple library with one drive, no slots, and no transport."

(locations zijn niet noodzakelijkerwijs hetzelfde als de eerder genoemde 
locations, maar worden niet nader gedefinieerd).

MSDN maakt onderscheid tuseen de gewone directories en Active Directory, 
wat zoiets als LDAP is. 

MSDN kent trouwens ook folders, en zegt erover

Folder object

Represents a Shell folder [raad eens wat een shell is in Redmond] This
object contains properties and methods that allow you to retrieve
information about he folder.

The Folder object has these types of members:
- Methods
- Properties

The Folder object has these methods:
- CopyHere	Copies an item or items to a folder.
- GetDetailsOf	Retrieves details about an item in a folder. For example, 
		its size, type, or the time of its last modification.
- Items		Retrieves a FolderItems object htat represents the
		collection of items in the folder. 
- MoveHere	Moves an item or items to this folder. 
- MewFolder	Creates a new folder.
- ParseName	Creates and returns a FolderItem object that represents
  		a specified item.

The Folder object has these properties:
- Application	Contains the folder's Application object.
- Parent	(Not implemented)
- ParentFolder	Contains the parent Folder object.
- Title		Contains the title of the folder.

Bovenstaand komt uit 'Shell Objects for Scripting and Microsoft
Visual Basic'. Verder wordt verteld dat WebFolders iets met Folders te 
maken hebben. 


Mooi genoeg voor vanavond,



Daniel  



More information about the Linux mailing list