Content Type
Exercise
Duration
1h
Level
Introductory
Learn how to modularize and distribute your InterSystems ObjectScript code. InterSystems Package Manager allows you to store and retrieve your modules in a public or private repository, then automatically install them in your InterSystems IRIS® data platform deployments. It also enables you to create new packages and regularly publish updates to existing packages. Using InterSystems Package Manager, you can increase the efficiency of your development and more easily distribute up-to-date modules among your teams.
In this exercise, explore the value of using a package manager utility in your software development by taking on the role of a developer building an ObjectScript package called pkg.yourcompany.math, which contains a set of useful mathematical functions—such as LeastCommonMultiple(X,Y) or GreatestCommonDivisor(X,Y).
Learning Objectives
- Retrieve a package from the InterSystems Open Exchange.
- Identify and fix issues in an ObjectScript package using a test coverage utility.
- Publish your modified package to a private repository.
- Deploy your published package to a new environment.
Prerequisites
- A basic understanding of InterSystems ObjectScript (online course, 1h 30m)
Watch the video and try the exercise below!