2. Modules and Architecture

[ Table of Contents ] Prev ] Next ] [ Glossary/Index ]


This chapter presents "the big picture" -- probably the most important chapter in this volume. An Ada program can be viewed as a set of modules, called program units, connected together to form an architectural whole.

Chapter Contents

We describe the different kinds of program units and the different ways of connecting them, and provide graphic symbols used to represent the modules and their connections. These symbols collectively comprise a language-specific "architecture description language" used throughout this volume. A series of example diagrams and programs are then presented, illustrating the use of the two most important kinds of program units: subprograms and packages.

[ Back to top of page ] [ continue ]