Getting Oriented to Developing Applications
This page provides a high-level overview of developing applications with InterSystems IRIS® data platform in Python, SQL, or ObjectScript.
Understanding How Application Development Works across Languages
InterSystems IRIS provides support for building applications in Python, SQL, or ObjectScript. You can access the same stored data from all three languages. Whichever language you use, InterSystems IRIS stores your data in structures known as globals. A global is available to all processes that access the database. In other programming languages, global means available to all code in a module. For more information, see Introduction to Globals.
An application often has to keep a group of changes consistent, coordinate processes that use the same data at the same time, and respond when an operation fails. InterSystems IRIS provides a way to do each of these in all three languages. For example, to group changes into a transaction, you may start the transaction with one of the following:
-
In Python, iris.tstart()
-
In SQL, START TRANSACTION
-
In ObjectScript, tstart
The outcome is the same in each case, but the languages do not always offer the same capabilities. The documentation notes where the capabilities differ.
These topics do not teach the languages themselves. For more about using each language with InterSystems IRIS, see Welcome, Python Developers, Using InterSystems SQL, and Introduction to ObjectScript.
Understanding Python in InterSystems IRIS
Python is available with InterSystems IRIS in more than one form. With Embedded Python, Python runs in the same process as InterSystems IRIS. With the InterSystems IRIS Python SDK Kit, external Python applications connect to InterSystems IRIS, for example through the Native API or the DB-API driver. Both require you to import an iris module, but the two modules have separate APIs and are not interchangeable. Each Python example in these topics identifies which one it uses. To decide which form fits your application, see Deciding How to Use InterSystems IRIS with Python.
Where to Go Next
The following documentation continues from here, by language:
-
Python: Using Embedded Python, Using the Native SDK for Python, and Using Python DB-API.
-
SQL: SQL Performance Overview and InterSystems SQL Reference.
-
ObjectScript: Using ObjectScript, Defining and Using Classes, and ObjectScript Reference.