Introduction to ASP
ASP files can contain text, HTML tags, and scripts. Scripts in ASP files can be executed on the server.
Basic knowledge you should have
Before continuing, you need to have a basic understanding of the following knowledge:
HTML / XHTML
Scripting languages such as JavaScript or VBScript
If you wish to learn these projects first, please visit these tutorials on our homepage.
What is ASP?
ASP stands for Active Server Pages (Dynamic Server Pages)
ASP is a Microsoft technology
ASP is a program that runs in IIS
IIS stands for Internet Information Services (Internet Information Services)
IIS is Windows 2000 's free component
IIS is also a component of Windows NT 4.0 Option Pack
This is optional The package can be downloaded from the Microsoft site
PWS is smaller in size - but has the full functionality of IIS
PWS can be found on your Windows 95/98 CD
ASP Compatibility
Run IIS, requires Windows NT 4.0 or higher
Running PWS, requires Windows 95 or higher
ChiliASP is a Technology for running ASP on non-Windows operating systems
InstantASP is another technology for running ASP on non-Windows operating systems
ASP What is the file?
ASP files are similar to HTML files
ASP files can contain text, HTML, XML, and scripts
-
Scripts in ASP files can be executed on the server
The file extension of ASP files is ".asp"
ASP and How is HTML different?
When the browser requests an HTML file, the server will return this file
When the browser requests an ASP file, IIS Pass this request to the ASP engine. The ASP engine reads the ASP file line by line and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML.
What can ASP do for you?
Dynamicly edit, change, or add any content to a web page
Respond to queries or data submitted by users from HTML forms
Access data or database and return results to the browser
Customize web pages for different users and improve the usability of these pages
The advantage of using ASP instead of CGI and Perl is its simplicity and speed
Provides security - •Since ASP code cannot be viewed from the browser
Good ASP programming can minimize network traffic
Note: Since the ASP script runs on the server, browsing The browser can display ASP files without supporting scripts!