Continue Back to editing Downloads 20
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
What's new in this version
This is the README file for SAMPLES-ObjectScript. The end of the file has setup instructions.
Use or operation of this code is subject to acceptance of the license available in the code repository for this code.
SAMPLES-ObjectScript is meant for use with the InterSystems IRIS Data Platform. This code sample is intended to be used with the
ObjectScript folder contains 10 files:
RightTriangle.cls is a simple example of a class definition with a few methods.
Examples.cls contains all the examples of methods shown throughout the tutorial.
DataEntry#.cls files (1-4) contain the solutions to exercises 1-4.
Lookup#.cls files (5-7) contain the completed solutions to exercises 5-7.
Person.cls a simple example of a persistent class.
To set up the sample:
download the repository. If you have not yet created a namespace in InterSystems IRIS, follow the
detailed instructions to do so. Using Atelier, create a project that's connected to InterSystems IRIS.
Right-click your project icon, and click Import. Then select General > File System.
Click the Browse button, and browse to the folder for the ObjectScript folder within the repository you downloaded.
Select all 10 cls files, and click the checkbox for the Create top-level folder option.
Setup instructions for IRIS in Docker container
Make sure you have docker and git installed.
Clone the repository.
Run in a repository folder:
# docker-compose build
# docker-compose up -d
This will run IRIS in docker container with port for Control Panel on 52791
and will import all the code into SAMPLES namespace.
3. Open the terminal to IRIS with:
# docker-compose exec iris iris session iris
Work with tutorial
Integration with VSCode-ObjectScript
Open the folder of the project in VSCode with installed ObjectScript plugin.
VSCode will compile ObjectScript classes in IRIS container because of prepared .vscode/settings.json
Tag version: 1.0.0 Released: 2019-08-16 21:55:35 Download Discuss
Caché InterSystems IRIS
Back to editing Application Editor Call to Action button text * Download (Link to the page where a user can download an app)
InterSystems Technology *
Use GitHub README as long description Tags *
Tag1, Tag2, Tag3
Please note, that in long description you should mention:
• App's goals and functions
• How to use the app
• If it is open source app - please, provide the installation instructions
Previous value: `https://github.com/intersystems/Samples-ObjectScript`
Previous value: `Samples-ObjectScript`
Previous value: `Download`
Previous value: `Technology Example`
Previous value: `Caché, InterSystems IRIS`
Previous value: ``
Previous value: `Not checked`
Previous value: `ObjectScript samples for use with the ObjectScript tutorial. Meant for use with InterSystems IRIS Data Platform.`
Previous value: `https://github.com/intersystems/Samples-ObjectScript/blob/master/LICENSE`
Previous value: `https://github.com/intersystems/Samples-ObjectScript/blob/master/README.md`
Previous image: Not set