Basic design of existing frame design

basic design;
The framework is to solve a lot of redundancy in the code and improve the development efficiency of developers.
The basic design of these frameworks is to store the values ​​of some changed data in a file,
And this file must be a relationship mapping file, but it can conform to complex hard relationship and soft relationship mapping.
 
Because there may be a lot of problems in the project, and to deal with these problems, you need to provide corresponding paths to solve them.

And the best of this file is the *.xml file, because only the *.xml file that meets this requirement in ...
Because this file is originally a file of a multi-relational mapping.

And the attributes of this file can also be mapped as hard relationships [values ​​that must be set] and soft relationships [optional]
 
     ◆And in the current project development, the MVC+ three-tier architecture development model is basically used to develop the project.
So just need to design different *.xml files to correspond to different hierarchical structures, then design different frameworks.

Make the application of the framework more suitable for the use of that level function [project requirements],
The division of labor is more clear, and the direction of use of developers is more clear.

And the more redundancies of these codes are the problems of changes in the functions to be used and the problems of value changes.

To put it bluntly; basically only the way the data is manipulated is different, so only a small part of the code is different.

◆◆◆ These codes are basically only a small part of the changes,
    Then consider extracting this small part of the code,
      Make a general approach to one by one.

 The changed value is stored in the *.xml file


     

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326726810&siteId=291194637