Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Configuration > namespace

namespace

Namespace is scope containing values bound to name.

Attributes
name default description
name N/A

Name of namespace. This name should be a valid identifier, as it is used to refer to the namespace from a script.

provider this

Classname of namespace provider, implementing interface anvil.server.PersistentNamespace. See Providers


Example:
  namespace:
    name     = application 
    provider = anvil.server.file.PersistentFileNamespace
    file     = /tmp/app.ns
    copyonget = false
    copyonset = false
    maxmodifications = 1
  end
See also  | Configuration  | Scopes and entities  | Providers
Contributes notes:
Add a note
What's new | Anvil