This is the general process of ASP operations after the viewer inputs the asp url.
1. When the user enters the URL
2. After IIS receives the URL entered by the user, it submits the file
3. Compile the file and request data from the database through ADO.
4. After processing the data, translate the HTML syntax and send it to the user's browser.
5. the browser receives the HTML from IIS and translates the HTML into a screen, which is displayed in the user's screen.
There are several common problems in this process.
1. Complicated ASP content: If complicated data processing is required, ASP will become much more complicated.
2. Security: Writing Data Reading and maintenance in ASP is not safe because hackers may find your aspProgramTo know your database, data table, fields, and even your business logic.
3. transaction processing is not easy: If you need to maintain multiple data tables or even multiple databases, so we need to maintain the integrity of the data changes (all data tables are successfully maintained. As long as one of the links fails, the data to be maintained must be restored)
We can use the n-tiers Method to Solve several problems, including [complex business logic], [database maintenance], and [transactions (Database changes) integrity] is all handled by COM +, that is, the so-called n-tiers web application system design method.