About This Book
InterSystems IRIS® provides a lightweight Native API for Node.js for direct access to the native data structure of InterSystems databases. Globals are the tree-based sparse arrays used to implement the InterSystems multidimensional storage model. These native data structures provide very fast, flexible storage and retrieval. InterSystems IRIS uses globals to make data available as objects or relational tables, but you can use the Native API to implement your own data structures.
The following chapters discuss the main features of the Native API:
Introduction to the Native API — demonstrates how to create an instance of the main Native API class, open a connection, and perform some simple database operations.
Working with Global Arrays — describes how to create, change, or delete nodes in a multidimensional global array, and demonstrates methods for iteration and data manipulation.
Calling ObjectScript Methods and Functions — describes a set of methods that allow an application to call user defined ObjectScript class methods and functions on the server.
Native API Quick Reference — provides a brief description of each method in the Native API.
There is also a detailed Table of Contents.
InterSystems also supports Node.js relational access. The node-odbc open source Node.js module is supported on both Windows and UNIX® based systems. See “Support for Node.js Relational Access” in Using the InterSystems ODBC Driver for details.
Versions of the Native API are also available for Java, .NET, and Python:
The following book is highly recommended for developers who want to master the full power of globals:
Using Globals — describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.