Skip to content

rmwdeveloper/experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows XP in HTML, Javascript, and CSS

Desktop Spec

  • The desktop will be a grid of possible drag and drop targets where icons can be dropped. Grid will be a 2d array of cells.
  • Multiple objects can be selected, dragged, and dropped at a time. Items repositioned in this manner will fall into the closest available cells.
  • Icons will not move until they are dropped. A partially transparent icon will appear next to the mouse when the drag is in progress.

##File Spec

  • Every "File" or "Folder" object will be wrapped in a Base File Taskbar HOC that handles minimizing the file to the start taskbar, maximizing it to fill available screen space, or closing the file.
  • Individuial file and folder types will provide their own secondary taskbar that will be placed directly below the base file taskbar.

##Filesystem Spec

  • For now, simple tree data structure. Nodes with children are directories, and endpoints are files. Metadata is stored flatly in the tree (Permissions, filenames, etc). A node can have an arbitrary number of children.

    • Permission setting: 4 letter string, e.g. 'rwx-' would allow user to read write execute on the file directory in question. r (read): view contents. w (write) create or remove files from directory. x (execute) CD into directory / access directory. p (protect) prevent user from deleting the directory itself. - (unset / disabled) user doesnt have particular permission.
  • Intended supported file extension supports ( bolded are currently supported )

    • Executables: .exe . Executables are files that will open up a new window with some unique functionality.
    • Images: .png .jpg .jpeg .gif . "Executing" an image will open it in an image viewer.
    • Videos: .mov .mpeg4 .mp4 .avi .wmv .flv .webm .ogg . Executing will open up a video player.
    • Documents: .txt .sheet .pdf . Word Processor and spreadsheet file respectively.
    • Shortcuts: .shct

About

Personal site that I can experiment on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published