You may know it but IRIS is a database with the ability to execute code.
The code execution part is called an Application Server.
Today IRIS supports natively two languages: ObjectScript and Python.
Executing code is good, knowing how to organize it is better.