Architecture python program

Architecture design program

1, the benefits of the program design

1 ) clear thinking
 2 ) will not write half overthrow rewrite the code
 3) or later to facilitate their colleagues better maintenance

2, the benefits of the three-tier design

1 ) The functions of each divided into three parts, and logically
 2 ) If the user replaces a different user interface or a different data storage mechanisms will not affect the core logic code interface level, scalability
 3) in the interface layer can be accurately the logging and water

3, three-tier architecture

 

 User View layer

  For interaction with a user, you may receive a user input interface to print data returned

Logical Interface Layer

  Parameter receiving layer to pass over the user view, it is determined according to the logic processing call data layer, and returns a result to the user view layer

The data processing layer

  Parameter receiving layer pass over a logical interface, so the data change search deletions.

Guess you like

Origin www.cnblogs.com/baicai37/p/12622317.html