Home >Common Problem >What is bs architecture
BS ((Brouser/Server)) architecture is a browser and server architecture model. With the rise of Internet technology, it is a change or improved architecture of the two-layer C/S architecture. It separates the transaction processing logic module of the two-layer C/S structure from the client's tasks, and forms a separate layer of Web servers to shoulder its tasks, thereby reducing the pressure on the client.
BS
The architecture is a three-layer framework that divides the entire business application into: presentation layer (UI), business logic layer (BLL), data Access Layer (DAL). The purpose of distinguishing levels is the idea of "high cohesion, low coupling".
1. Presentation layer (UI): In layman's terms, it is the interface displayed to the user, that is, what the user sees and gains when using a system; a browser is generally used as the client.
2. Business Logic Layer (BLL): Operations for specific problems can also be said to be operations on the data layer and data business logic processing; generally, a Web server (or application server) is used as the business processing end
3. Data Access Layer (DAL): The transactions done by this layer directly operate the database, for adding, deleting, modifying, updating, searching, etc. of data; generally the database server is used as the data storage end
BS
Structure is a method (or software construction technology) for organizing and distributing the components of software. Software components include: programs, data, documents, etc. The B/S structure is a method of allocating these three parts of the software. Data is distributed to a data server; programs are distributed to application (program) servers or WEB servers; and the client (browser) only needs Load some programs of the application server for data display and command input (such as web game screen display and player command input).
The BS architecture model unifies the client and concentrates the core parts of system function implementation on the server, simplifying the development, maintenance and use of the system. Only a browser (Browser), such as Internet Explorer, is installed on the client computer, and a database such as Oracle, Sybase, Informix or SQL Server is installed on the server. The browser interacts with the database through the Web Server. This greatly simplifies the client computer load, reduces the cost and workload of system maintenance and upgrades, and reduces the user's total cost of ownership (TCO).
The above is the detailed content of What is bs architecture. For more information, please follow other related articles on the PHP Chinese website!