ASP introduction
What is ASP?
- ASP is stands for "Active Server Pages"
- An Active Server Page (ASP) is an HTML page that includes one or more scripts (small embedded programs)
- Which are processed on a Microsoft Web server before the page is sent to the user.
- An ASP is somewhat similar to a server-side include or a common gateway interface (CGI) application in that all involve programs that run on the server
- usually tailoring a page for the user. Typically, the script in the Web page at the server uses input received as the result of the user's request for the page to access data from a database and then builds or customizes the page on the fly before sending it to the requester.
- Simply we can say it is the concept of web design which include HTML, JavaScript, CSS, J-query and ajax control.
How ASP Works on web?
- The best way to explain how ASP works is by comparing it with standard HTML. Imagine you type the address of an HTML document . This way you request an HTML page. It could be illustrated like this:
- As you can see, the server simply sends an HTML file to the client. But if you and thus request an ASP page - the server is put to work:
- The server first reads and compiles the ASP file carefully to see if there are any tasks that need to be executed. Only when the server has done what it is supposed to do, the result is then sent to the client. It is important to understand that the client only sees the result of the server's work - not the actual instructions.
- This means that if you click "view source" on an ASP page, you do not see the ASP codes - only basic HTML tags. Therefore, you can not see how an ASP page is made by using "view source". You have to learn ASP in other ways, for example, by reading this tutorial.
No comments:
Post a Comment