Zhongcheng online-reconstruction-Excellent programmer cultivation path (note 2 reconstruction and design and architecture)

Source: Internet
Author: User

I have a lot of feelings. First write down

 

1.There are two types of Design Software

 

One is to make the design as simple as possible without obvious defects.

The other is to make the design as complex as possible without obvious defects.

---- C. a.r. Hoare

 

2.Neither design nor too many designs are good, so what is proper design?

 

Without refactoring, you must ensure that the pre-made design is correct. This is too much pressure.

Due to stress"Excessive Design",However, if refactoring removes this pressure"Excessive Design"? 1. But no, it is an appropriate design.

 

3.Architecture

 

Transaction script Model

Domain Model

Table Model

---- Enterprise application architecture model

 

4.When will the database be created?

 

The transformation of thinking: the traditional development process, Dev prefers to design dB first and design the business layer.

The database is the implementation details and should be considered as soon as possible.

 

5.Business Layer, UI Layer, Dao Layer

 

The business layer is object-oriented, so what if the UI Layer and Dao layer adapt to this change?

Introduce viewmodel to the UI Layer

Dao layer introduced O-R mapping (because the object database is not mature, so currently can only use this technology)

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.