The base path directory where the canonical definitions reside.
The singular, programmatic name of one of these canonical items.
Object mapping canonical names to loaded file references.
Object mapping canonical namespaces to resolver functions.
The current status of the unit.
The file suffix of files in the base path that should be loaded.
The global application instance.
Get the plural name of the canonical items provided by this unit.
Get a Universal path to the base directory where this unit loads its canonical files from.
Return an array of all loaded canonical names.
Get the global Application.
Given the path to a file in the canonical items directory, create a CanonicalDefinition record from that file.
Get the global Container.
This method is called to stop the unit when the application is shutting down. Here, you should do any teardown required to stop the package cleanly.
IN PARTICULAR take care to free blocking resources that could prevent the process from exiting without a kill.
Get the method with the given name from this class, bound to this class.
function
Called for each canonical item loaded from a file. This function should do any setup necessary and return the item that should be associated with the canonical name.
Call the make()
method on the global container.
Return an array of all loaded canonical namespaces.
Register a namespace resolver with the canonical unit.
Namespaces are canonical names that start with a particular key, beginning with the @
character,
which resolve their resources using a resolver function.
Resolve a canonical reference from its string form to a CanonicalReference.
CanonicalReference
extollo (v. latin) - to lift up, to elevate
Extollo is a free & libre application framework in TypeScript.
Variant of the Canonical unit whose accessor allows accessing nested properties on the resolved objects.
The Config unit is a CanonicalRecursive unit. So, once a config file is resolved, a particular value in the config file can be retrieved as well:
This can be accessed as: