Model-engineering implementation and expansion Bridge Model Bridge-"self-testing reference answer

Source: Internet
Author: User

1. For the relationship between the main line and the sub-branch of the dependency in the project, design a configuration file structure suitable for the dependency according to the introduction in this chapter.

 


 


Hypothesis:

1) to implement the flexibility of the framework, it is assumed that all abstract types must be defined in the configuration file.

2) assume that all dependencies are abstract orthogonal dependencies.

 

2. An online B2B + B2C project is divided into three layers: UI Layer, service layer, and resource layer. The functions and influencing factors of each layer are as follows:

A. UI Layer: Information Result Presentation and user interaction. The influencing factors include front-end processing logic and interface artist

B. service layer: Process business logic. Influencing factors include business control logic, constraints and rules of business entities and entities, and B2B integrated interfaces.

C. Resource layer: including third-party middleware Products Used for database and B2B Integration

 

Assume that the dependency between the above layers of development content is orthogonal (for example, there is no service layer processing interface element, html content, or the UI Layer directly calls the resource layer to obtain data and packets ), use Case to design the relevant job division based on the description, and draw the dependencies between different positions based on the bridge model.

1. Key Points of dependency analysis:

1) IA, IB, IC, ID level orthogonal relationship


2) IE is the subordinate abstract relationship of IA.

3) IF and IG are sub-Abstract relations of IC, and the relationship between IC and IG is 1: N, and II and IH are sub-Abstract relations of IG.


 

Therefore, the structure of the configuration file is roughly as follows:

<? Xml version = "1.0" encoding = "UTF-8"?>
<Configuration>
<ConfigSections>
<SectionGroup name = "exercise" type = "">
<Section name = "a" type = ""/>
<Section name = "B" type = ""/>
<Section name = "c" type = ""/>
<Section name = "d" type = ""/>
</SectionGroup>
</ConfigSections>

<Exercise>
<A>
<E/>
</A>
<B/>
<C>
<D>
<Add name = "d1" type = "">
<I/>
<H/>
</Add>
<Add name = "d2" type = "">
<I/>
<H/>
</Add>
</D>
</C>
<D/>
</Exercise>

</Configuration>
 

 

2,

The case relationships of team responsibilities are roughly as follows:


 

The dependency relationship after the division of responsibilities of each position is roughly as follows:

 

Related Article

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.