2. Creating a Domain Model

PROBLEM

An application typically consists of a distinct set of inter-related application objects (domain objects) that embody the functionality and characteristics of the system being built. All of the application objects are cumulatively referred to as the domain model.

A development effort usually begins with analysis of the problem domain, and domain modeling is frequently the first step in designing an application. Domain modeling is the analysis of data objects that are used in a business, analysis of the attributes of those objects, and the identification of the relationships between these data objects.

SOLUTION

In a Skyway Project the domain model is defined by creating custom domain objects that encompass the attributes of the domain objects and relating the domain objects to each other. The domain objects become Domain Objects, and the object attributes become fields in the respective Domain Object.

HOW IT WORKS

Steps for Implementing a Domain Model

  1. Create a Domain Object for each domain object

  2. Add a field to the domain object for each attribute of the domain object

  3. Define relationships between domain objects