Creating an ASP document is easy. To begin coding ASP you need only two things: a simple-text editor like notepad or Textpad or Editplus and the dedication to follow our tutorial!
Notepad is the most basic of simple-text editors and you will probably code a fair amount of HTML with it.
When a browser requests an ASP file, IIS passes the request file to the ASP engine.
The ASP engine reads the corresponding ASP file, line by line, and executes the scripts in the file.
Finally, the ASP file is returned to the browser as plain HTML format.
ASP can connect to databases, dynamically format the page, execute statements,
and much more. You may use VBScript, JavaScript, PerlScript, and PythonScript within Active
Server Pages, with VBScript set as the default scripting language. We recommend that you use
VBScript as this should do everything you need and is the most commonly used.
The appearance of an Active Server Page depends on what is viewing it. An Active Server
Page looks just like a normal HTML page to the Web browser that receives it. If a visitor
to your Web site views the source code of an Active Server Page, that's what they see: a
normal HTML page. However, the file located in the server looks very different. You also
see server-side scripts. This is what the Active Server Page looks like to the Web server
before it is processed and sent in response to a request.
|