Content Type
Exercise
Duration
20m
Level
Introductory
Get an introduction to the InterSystems ObjectScript programming language, and practice using it to store and retrieve data from InterSystems IRIS® data platform.
ObjectScript is a programming language designed for rapidly developing complex business applications on InterSystems IRIS. ObjectScript source code is compiled into object code that is highly optimized for operations typically found within business applications, including string manipulations and database access.
ObjectScript is unique in its underlying storage structure, which consists of persistent multidimensional sparse arrays called globals. It allows you to access your data directly from globals, and to access that data through its native object and SQL support.
While you can write an application on InterSystems IRIS using Java, .NET, Node.js, Python, or other languages using the platform’s many APIs, using ObjectScript allows you to write efficient, server-based code that gives you finer control over your data. ObjectScript gives you the ability to store and access your data in multiple ways, for both power and flexibility.
Learning Objectives
- Store and retrieve data in globals.
- Define a class and instantiate, use, and store objects of that class.
- Access the data stored for that class using an SQL query and work with the result set.
Prerequisites
- None