CSC/ECE 517 Fall 2010/ch6 6h mf: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
The domain model is an [http://en.wikipedia.org/wiki/Object_model object model] that encapsulates the rules, logic, and data associated with the [http://en.wikipedia.org/wiki/Problem_domain problem domain.]  The purpose of domain modeling is to [http://en.wikipedia.org/wiki/Separation_of_concerns separate the concern] of problem solving from other concerns like the user interface and persistent storage.
The domain model is an [http://en.wikipedia.org/wiki/Object_model object model] that encapsulates the rules, logic, and data associated with the [http://en.wikipedia.org/wiki/Problem_domain problem domain.]  The purpose of domain modeling is to [http://en.wikipedia.org/wiki/Separation_of_concerns separate the concern] of problem solving from other concerns like the user interface and persistent storage.


Domain objects represent real world entities, both tangible and intangible, encountered in the problem domain.  For example, consider the Spring framework [http://static.springsource.org/docs/petclinic.html PetClinic] sample application.  In this application, the domain objects include Person, Vet, Owner, Pet, and Visit.  Visit is an example of an intangible entity, in other words an abstract concept, that is part of the problem domain.  Contrast these domain objects with graphical user interface (GUI) objects like buttons and text fields which are not relevant to the problem domain.
Domain objects represent real world entities, both tangible and intangible, encountered in the problem domain.  For example, consider the Spring framework [http://static.springsource.org/docs/petclinic.html PetClinic] sample application.  In this application, the domain objects include Person, Vet, Owner, Pet, and Visit.  Visit is an example of an intangible entity, in other words an abstract concept, that is part of the problem domain.  Contrast these domain objects with graphical user interface (GUI) objects like buttons and text fields which are not relevant to the problem domain (in this case, operating a veterinary clinic).
 
A number of different terms are used to refer to the domain model and related concepts.  These include Domain Object Model (DOM), domain layer, business layer, business logic, business logic layer (BLL), and business tier.

Revision as of 17:55, 17 November 2010

Domain Model

The domain model is an object model that encapsulates the rules, logic, and data associated with the problem domain. The purpose of domain modeling is to separate the concern of problem solving from other concerns like the user interface and persistent storage.

Domain objects represent real world entities, both tangible and intangible, encountered in the problem domain. For example, consider the Spring framework PetClinic sample application. In this application, the domain objects include Person, Vet, Owner, Pet, and Visit. Visit is an example of an intangible entity, in other words an abstract concept, that is part of the problem domain. Contrast these domain objects with graphical user interface (GUI) objects like buttons and text fields which are not relevant to the problem domain (in this case, operating a veterinary clinic).

A number of different terms are used to refer to the domain model and related concepts. These include Domain Object Model (DOM), domain layer, business layer, business logic, business logic layer (BLL), and business tier.