When it conies to the traditional client/cerver application program, in order to meet various demand of companies or organizations, Client program need to provide UI, transfer data and execute logic. If some rule or formula has some changes , the client program must be rewritten ,debugged, compiled and linked again, so the efficiency is very low.In order to complement each other, to build three or muti-tier structure and properly allocate the work load to Server and Client has become the common goal of most system developers and Web developers.This article has carried on research to a staff data management system under Web environment, and using three-tier structure to put up this system. In the system UI is responsible for the input of staff information and interface design of inquiry form; business logic is packaged to BLL components, which include adding , inquiring , deleting , revising etc. The operation to get and retrieval data from DB is devised in the DAL. This system is divided into layers to deal with logic tier and web pages, the changes of business rules will not influence the content of the front web pages, so it is easily maintained. At the same time, the DAL component could be easily used by other systematic components, so the aim of reusing components could be attained.
|