Skip to content

the database

reno- edited this page Jul 4, 2012 · 11 revisions

Span database concept

span.requests abstraction

The span-requests is your interlocutor when working with a span database. This object allows you to speak with span. You can do get or set all the values inside.

project file

When span loads a project, it adds all the keys found in the file to the root of span database, and add a copy of all its file structure with keys and sub-keys but without values. It will be used to know what to save in each project.

default-keys

  1. system
    It is only used by the system. No human intervention is wished here.
  2. preferences
    This is where your computer-preferences are stored. ###verbose
    0/1 : Do you want that span comment each step of its life? ###autoload
    0/1 : Do you want that span load the last project after loading? ###project::path
    the path of the last projet
  3. projectinfo
    That tells you information : when the project has been created, which app did it, which version etc…
  4. paths
    It contains all file or folder paths. You can know their type, and some tags associeted.
  5. namespace
    This is the whole namespace of the project
Clone this wiki locally