C# Advanced Road - Architecture (Note 1)

interface:
As long as it is a class that inherits the interface, it contains the methods in the interface. An interface is a specification between a class and a class, a protocol!

Architecture: usually more focused on macro design;

1. Physical architecture: logical architecture, development architecture..; to be analyzed from different project areas
----------------------------- ------------------------------
Physical architecture: mainly to study the final deployment problem

Logical architecture: usually the composition of the major modules of the design project and the relationship between the modules;

Development architecture: select a specific development language and select the technical architecture of the appropriate project;

1. Two layers: UI + data layer

2. Three layers (the most core): UI + data layer (DAL) + business layer (BLL)
3. Three layers + interface layer; the appearance of the interface layer is to better achieve teamwork. and subsequent better maintenance projects

4. Layer 3 + interface layer + traffic layer

5. Three layers + interface layer + communication layer + service layer (API)

Three layers (UI+BLL+DAL+Models (model layer [may be called by any layer])) + interface layer + general layer + control library

2. Architecture steps:

1. Create a scheme, add UI, add business BLL, DAL (data layer DButility (encapsulating general data access class) + iDAL data interface) + ORM framework ()
4. Models (entity layer)
6. Common layer (Conmmon (mainly placed ) Development tools class))

3. Project assembly (that is, the reference relationship between project modules)

UI=>BLL=>IDAL+DAL=>DBUtilty
UI=>Models
BLL=>Models
IDAL、DAL=》Modesl
BLL=》Common?

UI="Control Library

4. Framework filling (that is, to formally enter the development and do related preparations later)
1. Entity classes (usually using code generators)
2. Interface classes
3. General data access classes

4. Tools






vs2015

Enterprise Edition HM6NR-QXX7C-DFW2Y-8B82K-WTYJV

Professional Edition HMGNV-WCYXV-X7G9W-YCX63-B98R2

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324782624&siteId=291194637