Overall Design:
Presentation Layer
- UI (User Interface)
The UI is the user interface of the client. It receives commands, requests, and data from the user, passes them to the business layer for processing, and then presents the results.Based on different clients, we generally applyProgramDivided into BS (browser-server) browser structure, CS (client-server) Desktop client structure. The advantage of BS is that you do not have to worry about the client. You only need to deploy and maintain the server. The advantage of CS is its powerful interface interaction and expression capabilities. Rich Internet application (RIA) is a technology that integrates the advantages of these two structures, it relies on the one-time installation of a universal interpreter on the client to obtain powerful interface interaction and convenience without the need to deploy a specific client. There are many specific implementation technologies, such as Microsoft's smartclient, avron; Macromedia's flex; js-based bindows; Ajax and so on.
Business Layer
The business layer encapsulates the actual business logic, including data verification, transaction processing, permission processing, and other business-related operations. It is the core of the entire application system.