1 3 2 What is An Active Repository

Visual LANSA

1.3.2 What is An Active Repository?

Many development tools have some form of a repository. This repository may simply be a central place to store application source code and information which is used ONLY to compile application programs. This type of repository is designed to simply allow information to be reused when recompiling the application. It is a passive repository and has limited benefits to the application developer.

However, an ACTIVE repository is used in both the building and execution of the applications. It is dynamic and it is used when the application executes.  Being dynamic also means that changes made to the repository can be immediately reflected in the application without having to rebuild coded application programs.

For example, in a passive repository, the field that stores a person's age may have a text description of "Employee Age" which is stored in the repository. This description is used on a screen created for hiring a new employee or adding a new employee to the database.

However, in an active repository, the employee age field can have a validation rule added which says an employee must be at least 16 years old. This rule could be added to the repository instead of having to change validation rules in the hire an employee program. When the program executes, the new rule would be enforced by the active repository. With an active repository, help text can be added just once in a central location. This text is immediately available on all screens which have the employee age field.

An active repository technology provides real benefits to the developer because of its architecture. Active repositories introduce an execution component into the overall application program architecture.  Also, a greater amount of information can be stored in the repository and  this information can be shared by other applications. Application maintenance is reduced and developer's productivity is increased.

LANSA is one of the few application development tools which provides an Active Repository!

Also See

1.3.1 What is a Repository?

1.3.3 What Goes in LANSA Repository?

Ý 1.3 LANSA Repository