Introduction to the Native SDK for Node.js
See the Table of Contents for a detailed listing of the subjects covered in this document. See the Native SDK Quick Reference for Node.js for a brief description of Native SDK classes and methods.
The InterSystems Native SDK for Node.js is a lightweight interface to powerful InterSystems IRIS® resources that were once available only through ObjectScript:
-
Call ObjectScript Methods and Functions — call any embedded language classmethod from your JavaScript application as easily as you can call native JavaScript methods.
-
Work with Global Arrays — directly access globals, the tree-based sparse arrays used to implement the InterSystems multidimensional storage model.
-
Use InterSystems Transactions and Locking — use Native SDK implementations of embedded language transactions and locking methods to work with InterSystems databases.
To use the Native SDK for Node.js, you must download the Node.js connection package as described in Connection ToolsOpens in a new tab.
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 SDK are also available for Java, .NET, and Python:
To learn more about globals, see the following:
-
InterSystems IRIS Basics: Globals and Multi-Model Data Access — Explains what globals are and how they can be accessed using a relational model, using an object model, or directly.
-
Exploring Multiple Data Models with Globals Opens in a new tab — Provides an online hands-on exercise that lets you try accessing globals in all three ways.
-
Using Globals — Describes how to use globals in ObjectScript, and provides more information about how multidimensional storage is implemented on the server.