Core forms the basis for all classes and their member methods (PHP) or object functions (Javascript) and are only called by these methods or functions.
PHP
Core class methods are protected. All classes expcept \Vxsn\Extension extend \Vxsn\Core.
Javascript
Core functions are marked *.
Distribute allows the distribution of a node-branch or node-tree to a constellation of VXSN endpoints.
PHP
Distribute extends \Vxsn\Core.
Javascript
Distribute functions are marked *.
Document is one of three primary classes or objects. Document supports isolated CRUD functions, distributed CRUD functions when used with Distribute, and document versioning. Documents can be made immutable with \Vxsn\Record. Documents are application-defined primitives, arrays, or objects stored as JSON formatted plain text files.
PHP
Document extends \Vxsn\Core.
Javascript
Document functions are marked *.
Encryption provides asymmetric key encryption for primitive, array or object data stored in or read from documents. Public key indices (private keys are discarded after generation) or public-private keypairs can persist within a VXSN data store.
PHP
Encryption extends \Vxsn\Core. \Vxsn\Encryption::encrypt and \Vxsn\Encryption::decrypt are static methods and called before write or after read.
Javascript
Encryption functions are marked *.
Index is one of three primary classes or objects. Index supports isolated CRUD functions or distributed CRUD functions when used with Distribute. Indices should always be a sequence (indexed) of values or a collection of single dimension key->value pairs. *Indices may also be a collection of recursive key->object pairs but this will affect sharding.
PHP
Index extends \Vxsn\Core.
Javascript
Index functions are marked *.
Log provides a running a record of Class:method CRUD operations on all persistent Document, Index, Record and Warehouse objects.
PHP
Log extends \Vxsn\Core. \Vxsn\Log::core is a static method called by all classes and their member methods.
Javascript
Log functions are are not available.
Record is a document made immutable. Once a document becomes a record it will be read-only. C-UD and Version operations will be disallowed. Record is applied on the last node in an ID. Record cannot be undone. \Vxsn\Document\read will return record if !document.
PHP
Record extends \Vxsn\Core.
Javascript
Record functions are marked *.
Request composes or decomposes an ID string with inherent order and relation from a collection of IDs. Request also two-way ID string mask translation.
PHP
Request extends \Vxsn\Core.
Javascript
Request functions are marked *.
Transaction provides ordered or dependent operations that can be performed in-memory and committed upon success.
PHP
Transaction extends \Vxsn\Core.
Javascript
Transaction functions are marked *.
Warehouse creates a recursive mirror of stored nodes or imports a collection of CSVs for in-memory operations.
PHP
Warehouse extends \Vxsn\Core.
Javascript
Warehouse functions are marked *.
PHP
Version extends \Vxsn\Core.
Javascript
Version functions are marked *.