N-tiers Design Series (1): traditional ASP operations

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.