Понимая Windows 7 архивов
Это будет второй столб в a серия столбов о Windows 7 архивов. Этот столб описывает некоторое из рассуждения управляло функциональностью архивов Windows 7, и исследует новые характеристики и возможности мы, как проявители, имеет с Windows 7 архивов.
Что архивы намереваются для потребителей в Windows 7?
Более лучше поняли принципиальную схему архивов в Windows 7, нам нужно посмотреть, что back to время перед Windows 7. Более предыдущий вариант Windows любит Windows Vista и XP, включенные комплекты специальных скоросшивателей для хранить содержание потребителя such as «мои документы» и «мои изображения.» В Windows Vista, эти специальные скоросшиватели где автоматически индексировано для того чтобы позволить потребителям выполнить более быстро более эффективные поиски на их содержании. Even so, много потребителей, я включили, хранят их архивы, нот, и изображения повсюду пикокулон в различных скоросшивателях как c:\temp, d:\Birthday2008\pictures, or even в дистанционном хранении. Мы refer to это по мере того как данные вне складского помещения профиля потребителя. Это влияет на индицирование и поэтому весь опыт поиска, и часто посылает потребителю на малом quest для того чтобы попытаться найти их содержание.
Так, в Windows 7, архивы пытаются адресовать проблему содержания потребителей, котор хранит повсюду пикокулон путем позволять потребителям иметь полное управление над их «структурой скоросшивателя архива документов». Намеревающся что в Windows 7, потребители могут определить которые скоросшиватели, котор нужно включить в архив документов. Это поистине для любого архива. Поэтому, мы можем сказать что архивы будут user-defined собраниями содержания. Путем вклюать скоросшиватели в архивы, потребитель будет говорящ Windows где его важные данные обнаружены местонахождение. Система индексирует скоросшиватели, для того чтобы включить быстро искать и штабелировать основанный на свойствах архива.
В Windows 7, потребители пойдут к архивам управлять их документами, нот, изображениями, и другими архивами. По мере того как вы можете увидеть в исследователе Windows и диалоге общего архива, архивы будут неотъемлемой частью раковины Windows. Это внедрение очень важно потому что оно позволяет потребители browse их архивы такая же дорога, котор они и в скоросшивателе, который намеревается не будет нового поведения, котор нужно выучить. Щелкать на архиве документов показывает вам ваши документы. Сверх того, из-за факта что архивы интегрированы в раковину Windows, потребители могут выполнить поиски и результаты фильтра свойствами как дата, тип, и автор как в исследователе Windows, так и в диалоге общего архива. In other words, путем использование архивов, получают, что наслаждают потребители хранением которое и гибко и индексировано. The following image displays the integration of several folders into a single library view and the rich search and pivots of Windows Explorer in Windows 7.
So what is a library?
In many ways, a Library is similar to a folder. As we mentioned before, when users open a Library, they can see one or more files or folders. However, unlike a folder, a Library can display files that are stored in several folders at the same time. This is a subtle, but important, difference. Libraries don't actually store items. They monitor folders that contain a user’s items, and provide a single access point and rich view pivots (by file Type, date or author) of this aggregated content. Libraries promote a user’s data and let the file system fade into the background.
The Windows 7 default Libraries setting has one main Library called “Libraries” that contains four predefined default Libraries: Documents, Music, Pictures, and Videos. Users can save and copy files directly to a library, even if we said that libraries are not file system folders, since every library has a default save location to send these files to. Each library contains two physical file locations, the user's personal folder (this is the default Known Folder that is included in a library, for example, My Documents in the Documents Library), and the public folder For custom categories, the default save location is the first folder added. Users may change the default save location of a library at any point, but if they remove the default save location, the system selects the next folder in the library as the new save location. In addition, users can save to any folder they have permissions to that are included in a library.
For folders to be successfully added to a library, they must be capable of being indexed on the local machine, indexed on a remote Windows machine, or on a server with files indexed by Windows Search. In order to maintain the high standards for the Windows Shell search experience, users can’t add folders that are not indexed into a folder.
What more do developers need to know about Libraries?
After understanding what Libraries are, developers need to understand how they can support and use Libraries in their applications. This is important because by using Libraries, users inform Windows where their important data is. This allows you, as developer, to access a user's Library and consume its contents, removing the need maintain your own set of data storage for your application.
You can also use the new IShellLibrary API to empower your applications to manipulate libraries. This can help ensure that applications remain in sync with user files and Windows since any change made to a library structure will be reflected in the application that is monitoring that library – giving us developers great power and great responsibility.
In the next post, we will cover the underlying architecture of libraries and dive deeper into the API.
Written by Yochay Kiriaty. Read more great feeds at is source WEBSITE
no comments.
Read more articles on Libraries and Windows 7 for Developers Blog and otherSoftware and windows 7 and Developers and Microsoft.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article















