Object Model-Policy, mode, and application note 2-select an object

Source: Internet
Author: User

Select object

Model components:

1) problem domain ( PD that is, problem domain ) component. Classes related to the business at hand

2) interaction with people ( Hi that is, Human Interface ) component. Windows and reports

3) Data Management ( dm that is, data management ) component. Databases or files, such as XML

4) interaction with the system ( Si that is, system interface ) component. Other systems

5)Do not consider (NT. Outside the scope of the system

 

# 25 " Object - model component-guided" Policy Selection object (model component)

Object-The model component is a guide to organize the work of searching objects.

PD: Problem domainHi: Interaction with people

DM: Data Management Si: Interacts with the system (NT: Not considered for the moment)

Why do we need to use model components?Components are used to divide classes into meaningful, loosely coupled subsets..

 

Problem domain componentIt is composed of objects that directly correspond to modeling problems. Objects in this component have nothing to do with technology. They know little or no idea about objects in other components.

 

Human interaction componentIt consists of objects that provide question domains and persons. In the object model, most of these objects correspond to specific windows and reports.

 

Data management componentIt consists of interface objects that provide problem domains and databases or file management systems. In the object model, most of these objects correspond to specific problem domain objects that need to provide permanent storage technology and search support.

 

System interaction ComponentsAn object that provides an interface between a problem domain object and other systems or devices. The system interaction object encapsulates the communication protocol so that the problematic domain object with it can be removed from the lower-layer and specific implementation.

Model components should be used, and model components should be used as a general outline and a guide for selecting objects. They should be used to maintain a good organizational structure of classes for easy understanding and reuse.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.