Globals & constants
Global constants
These values are globally available:
Paths
- PATH_ROOT: Path to the directory of the server.js file
- PATH_APP: Path to the directory of the base app folder ({PATH_ROOT}/app)
- PATH_TEMP: Path to the temporary directory ({PATH_ROOT}/temp)
- PATH_CORE: Path to the core lib directory ({PATH_ROOT}/node_modules/alchemymvc/lib)
Functions
DEFINE(name, value)
: Function used to create a new global propertydie(...args)
: Function used to terminate the current process
Classes
- Classes: All classes (even the non-global ones) and namespaces are stored here
- Alchemy: The Alchemy class
- Behaviour: Base model Behaviour class
- Conduit: The request conduit
- Datasource: The base Datasource class
- Deck: A map-like object
- Informer: An event-emitter class, inherited by almost every Alchemy class (through Alchemy.Base)
- Model: The base Model class
- Pledge: A promise-like class
Class instances
- alchemy: Instance of the (also globally available) Alchemy class
- Blast: Protoblast instance
- janeway: Instance of the Janeway terminal interface