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 Node.js Native SDK Quick Reference 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 Node.js application as easily as you can call native Node.js methods.
-
Manipulate Databse Objects — use Node.js proxy objects to control embedded language class instances. Call instance methods and get or set property values as if the instances were native Node.js objects.
-
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.
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:
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.