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, we must consider the models as follows: Ø Remote, distributed component model Ø Data model Ø Business model Ø Security model The establishment of these models also 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 coupling (indicating layer and intermediate layer) Ø Hide intermediate layer implementation details Ø Hide Components Type and position ◆ We must also provide access interface between intermediate layers and data layers. 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, location independence Ø Interface robust, friendly ◆ Business model establishment and specific business is closely related, when we introduce the business model of real world to 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: Ø Film structure map ---- Software Structure Ø Business Process ---- Business Components Logic Process Ø Business Data ---- System Data Ø Business Unit ---- 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 general components models are as follows: Ø Component's registration mechanism Ø Component's discovery mechanism Ø Component's creation method Ø Component's transfer mechanism (protocol, encoding format) Ø Component's call conventions Ø Component's generation 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 various 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: You can access the current resource Ø log function: What have you done Ø Data legitimacy: Data meets business rules Ø Data Integrity: Will it appear 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. 】