ASP For Beginners
What is ASP? ASP stands for Active Server Pages. Actually, ASP in itself is not a language, instead it is more of a technology used by VBScript on the server side to display dynamic content on the web pages.
Essentially ASP pages are just normal HTML with scripts embedded in them. So a general understanding of HTML is required for learnning ASP. If you do not have even basic knowledge about HTML, please consider taking the course HTML.
How ASP works? In this course, you will learn how to:
Write an ASP page; generate and retrieve a query string; Use forms to collect information from clients; Redirect a page; Show Serve Variables; Set a session to Identify a user; Create cookies; Handle files and folders with FileSystemObject; Connect to a database with ODBC; Display data in your web pages.
ASP Introduction
ASP stands for Active Server Pages. Actually, ASP in itself is not a language, instead it is more of a technology used by VBScript on the server side to display dynamic content on the web pages.
Essentially ASP pages are just normal HTML with scripts embedded in them. So a general understanding of HTML is required for learnning ASP. If you do not have even basic knowledge about HTML, please consider taking the course HTML.
How ASP works? The below is the process:
1. The Web browser sends a request to your web server asking for a page.
2. The Web server loads the page and looks for ASP code to run.
3. If ASP code is found, the web server runs the code and sends the results to the Web browser. So the result page on the client side looks like a pure HTML page.
You may wonder why we need an ASP web page to display contents while we have HTML. Well, HTML can be used to display web contents, but the page is static, not dynamic. Image you have a website that sells products, and you want to display the name, price, category and description of each product on a page. Normally in HTML you would have to write this page out by hand, and everytime you change products or prices you would have to go back and re-write the page. But if you use ASP, you can select records from a database and generate the HTML page when a user requests it. When you get a new product or change the prices you will only have to change the information in the database and the page will automatically be updated to reflect those changes without writing a single line of code.
Sabtu, 16 Mei 2009
Langganan:
Komentar (Atom)
