Model, model technology architecture design
Foreword
The model is the theoretical basis for the entire architecture design, and the model is the methodology of the entire architecture. Based on the model, the mode is a method to construct a variable, reliable, reusable platform architecture. ▓ Model is abstracted on existing concepts or entities in a higher level, which is separated from the specific basic platform, in which our platform architecture will be independent of any foundation platform. ▓ The mode is a solution for a long-term test, feasible, reliable, reusable solution for a certain type of problem. A large number of related modes in architectural design are designed to make our design are testing, which has been proven to be feasible, reliable and reusable. ▓ In the entire architecture design, the model we must consider is as follows: • Data model? Business model? The establishment of these models of these models means that our architecture is multi-layer, distributed; our The entire architecture design is mainly designed for the intermediate layer. content
◆ In the entire architecture design, we cannot consider interaction between layers and intermediate layers. In the entire interaction design, we must use related modes. In existing modes, the MVC mode is the best solution for this problem domain. Through the MVC mode, we mainly reach the following objectives:? Reduce the pocket (indicating the layer and the intermediate layer)? Hide intermediate layer implementation details? Hide component type and location ◆ We must also provide access interface between the intermediate layer and the data layer. Above the existing data access interface, we can freely choose (decided on your choice of the basic platform), but we can define your own data access interface over the foundation platform for the entire design of the base platform. . In the design of the entire interface, we should do the following objectives: • Data source type, position independence? Interface robust, friendly ◆ The establishment of business models and the specific business is closely related, when we import the business model to the real world to the computer world During the process, we should use the related mode to make our hierarchical hierarchical, clear; interaction between components is more effective. The establishment of the business model must correspond to the computer model to make our import more smooth and seamless. The correspondence between business model and computer model is as follows: • Functional organizational map ---- Software structure? Business process ---- Business component logic process? Business data ---- System data? Business document ---- System interface In the process of establishing the business model, we use the related component model to achieve. The full understanding of each component model will allow us to fully utilize the advantages of this component model during design, thereby better serving our business model. The generic component model is as follows: • Component's registration mechanism? Component's discovery mechanism? Component's creation method of component? Component's transfer mechanism (protocol, encoding format)? Component call convention? Componentization period management? Component and container Interaction? Special specification for components ◆ Since it is a multi-layer, distributed architecture, we have to consider our data, the transmission mechanism between the layers. In order to make our system can be easily integrated by other subsequent systems, we have an XML encoding format during our entire data and information transmission. When processing data transmission, we can use value object mode to reduce performance sacrifices that have multiple remote calls in physical distribution. On the processing of remote call parameters, we have to take into account the characteristics of local calls, try to use the serialization functionality provided by the system, determine what circumstances are determined by the system, not our own, to do a fake sequence, such as Export objects as strings or the like). In the application of the value object mode, we mainly target data, extended to the value of the value object mode, the level of the data collection, and we divide the entire data processing process into two phases, and a phase is the RDBMS stage, a phase. Is a client phase. In the client phase we must be able to provide a class DBMS memory data management system model. Let the system extract the required data to the client one-time, then operate on the client instead of interacting with the frequent client, the server-side operation is completed, after the user completes the operation, submitted by the user The server side is processed for persistence. In order to meet this needs, we must establish a simple client database management system model.
The reference model is as follows: • Database structure, table structure, relational definition? Data save? Database common operation (new, delete, editing, query, calculation, sorting)? Data legitory protection? Data integrity protection? Transaction or pseudo-transaction support ◆ With the deepening of the information process, customers are increasingly urgent for security requirements for critical business data. Under this form, if a platform architecture lacks a safe solution, it will be fatal, regardless of whether the customer is still a whole platform. In the entire platform architecture, we can start from the security model to build their own security solutions. The entire security model is as follows, we can implement it based on the basic platform security framework. ? Authentication: Can you enter the system? Access control: Can you access the current resource? Log function: What did you do? Data legitimacy: Does the data meet the business rules? Data integrity: Do you have incomplete data? Key The confidentiality of the data: Can key data can be easily stolen [Design Platform architecture with abstract models and patterns, allowing our architecture to design independent of various basic platforms (J2EE, .NET, etc.) Make us only in the development language when switching the platform. 】