Persistent Storage

Contributor

Persistent storage is the idea of storage the keeps one's files safe. The user interface aspect of this must be done in a simple, and easy way so that the user can find their files. If one cannot find a file they need that could be predicament.

Typical Appearance

Persistent storage is just how it sounds, storage that persists. So when you turn off your computer the files don't just disappear, they reside in persistent storage and are accessible through various ways.

In Mac OS X the main form for user interface for persistent storage is finder. The finder helps keep your files and folders there while the computer is on or off.

Finder

picture of Finder

Another way to navigate through persistent storage is through the terminal.

Terminal

picture of Terminal

Another way is through the _removable_ like when you have a usb inserted

Terminal

removeable image

Typical Behavior

Persistent storage typical behavior is that it can be accessed through varies ways and exists throughout all platforms. When a person saves a file to store persistant storage is being used here. Another is when someone puts in a usb into the computer and either puts a file in the usb or takes a file out and wants to copy it to their desktop. The persistant storage is a place for files to exists and stay until accessed again.

Events

Events that can be done through persistant storage

A few basic events are finding a file, creating a file, deleting a file, copy and pasting a file, and drag and drop. Many of these events require an intermediary step that requires you to do something that technically isn't part of the persistent storage. An example is when you delete a file you have to right click the file first and then press the recycle button or something of the sort.

Finding a file is pretty basic you can usually use a search bar or you can go to the location. You can do this multiple ways such as just looking through finder, in Mac, till you find the the file or doing it through the terminal.

Creating a file is also pretty simple it usually just requires saving a file or downloading a file. Ex. Open a Microsoft file and write the words "Hello World" and then click Save As and save the file where you would like to save it.

Deleting a file is again another easy event where a person usually right clicks the file and then presses "move to trash" or "Delete File" or one can also drag and drop the file into the thrash and it usually is move there.

Copying and pasting a file is another way persistent storage works. One has to first copy the file then navigate through the persistent storage and then paste it where they want into the persistent storage.

State Diagram

A state diagram indicating the actions and states of a user interface component.

State Diagram

basic state Diagram

And also, a state diagram implies, well, states. So be sure to describe them. Note also that there will usually be overlap between a component’s events and its state diagram. A sufficiently detailed state diagram, however, may have more activities than the “public” events that can be reported by a component.

The state diagram is quite simple but can be changed so much. This is the most basic state diagram you can have for persistent storage. The first step is to having something one wants to keep in persistent storage. Then some intermediate steps take place such as copy and paste or something of that sort. The final step is actually keeping the file in persistent storage.

Component in Action

The component is very behind the scenes and require other aspects of user interface to work well and the component is shown in action below under the platform specific instance tab.

Variants

  • Databases are a type of persistent storage. One can navigate through a database through various ways an example of one would be Giphy and using the search bar to go through the information and find the information one was looking for
  • Another variant of persistent storage is iCloud and how it stores data on servers. If you own a iphone you most likely know what iCloud is, it backs up information on one's iphone. This is a type of persistent storage because it stores the data in a place where they can be accessed. The user interface aspect of this is just going to one's itune store and accessing their iCloud storage.

  • A usb is another source of persistent storage, but is unique in the sense that it's removable and you are able plug it in to get the information when necessary or get rid of information that one doesn't need or want by putting the files into the usb and then unplugging the usb.

Priority Metrics

Talk about the five usability metrics in relation to this component. Not all components will have the same metric priorities. For example:

Persistent storage does have a learnability curve. One must first learn where all the folder and files are located and when doing something such as saving or downloading where the file or folder is placed. Also if you were to do it through the terminal using the commands such as cd and ls to find and acquire the file wanted does requiring learning and memory to remember where everything is and where it can be accessed from. Which relates to the memorability metric because the more you are able to remember where the files are the easier it makes it to find and retrieve. Organization is key here in finding and accessing files quickly.

A big usability metric for persistent storage is error. One should be able to navigate through the persistent storage without getting lost and be able to find files easily and quickly. If someone clicks "Downloads" and it takes them to a page that doesn't have the files that were downloaded that would be problematic. A person shouldn't have trouble with errors of finding data in persistent storage if the user interface component is well thoughout and simple.

Satisfaction does not play a large part in persistent storage because persistent storage doesn't really bring satisfaction. It just helps one keep their data stored in a safe place and be able to access it when needed. I mean I guess without persistent storage it would be a pain so everyone is secretly satisfied by persistent storage without knowing it.

Key Characteristics

What makes persistant storage effective?

Organization and guidelines

For the finder make sure your app bundle has the correct filename extension. The Finder looks for the .app filename extension and treats your app appropriately when it finds it. The Finder also shows or hides the filename extension, depending on the state of the "Show all filename extensions" preference in the Advanced pane of Finder preferences.

Use an information property list to supply information to the Finder. The information property list (that is, an Info.plist file) is the standard place to store information about your app and document types. For information on what to put in this file, see Runtime Configuration Guidelines.

Add the appropriate filename extension to documents users can create in your app. Accurate filename extensions help ensure platform interoperability. You can also set a file type and optionally a creator type for a file, although this is not strictly necessary.

Avoid changing the creator type of existing documents. The creator type implies a distinct sense of ownership over a file. Your app can assign a creator type for files it creates, but it should not change creator types for documents that are created by other apps unless the user gives explicit consent. Note that the user can still associate files with a specific app by using the Info window.

Include a Quick Look generator if your app creates documents in an uncommon or custom format

Platform-Specific Instances

Mac OSX has many different ways to access the persistent storage. The most commonly used way is through the finder. The finder holds all the files and can be navigated through quite easily. Mac OS X has a friendly user interface because it has everything labeled. Also if you don't know where the file resides you can always go to "All My Files" and just search the file name. It also has a tag system to keep one's files organized as shown by the gif(middle). The gif below shows how the finder looks and a few aspects of the finder (left) and how you can open and delete files from persistent storage(right).

Finder

finder Gif

Tags

tag image

Open/Delete File

open and delete file

Another way is through the terminal which is just like the finder, but the finder is just a graphical representation. The terminal can be more efficient than finder because you can do so much more to a file with just the terminal. You can open the file, delete a file, add a file, and much more with certain commands. There are intermediary step for persistent storage. But it will keep your changes in the persistent storage. The terminal is quicker and more efficient than the finder once you have the memory and commands down. It can also be sometimes of a nuisance, but is more efficient in the end. The gif below shows a few things that can be done with the terminal and how it can be friendly in terms of user interface, but is plain and requires learning, while finder is much easier to learn, but slower. The terminal can be used to access persistent storage online too such as using Git.

Terminal Commands

terminal gif

Terminal Commands

using Git gif

Credits & References

Provide references or links to any information, image, or media sources used. Dondi https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/OSXHIGuidelines/Finder.html https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/OSXHIGuidelines/WindowDialogs.html#//apple_ref/doc/uid/20000957-CH43-SW7 https://giphy.com/create/gifmaker