110 likes | 129 Views
Learn about the history, overview, working mechanism, language features, and examples of Active Server Pages (ASP), a tool for creating dynamic web content used in e-commerce sites. Discover its benefits, limitations, and references.
E N D
Oral PresentationCSCE 330ASP Tamiko Simmons Sherita Gee Robert Rhoden
Active Server Pages (ASP)History • ASP was created in 1996 originally known as “Denali” • Based on Microsoft’s Visual Basic Script • It was an easier way to create dynamic content on web pages
ASP Overview • Commonly used on e-commerce websites • Files created with ASP have the extension .ASP • An ASP file can contain any combination of HTML ,scripting such as VBScript and JavaScript, and components written in any language • ASP code is mixed with HTML tags
How it works • When a file is requested, the server interprets ASP code • Server then sends HTML file back to browser that made the request • The browser never sees ASP code
Language Features • Built for server-side processing, not client-side processing • Easy to code • Does not require any special editor/compiler
ASP Example • <% str = “<br>The time is “ & Time() & “<br>” %> <HTML> <HEAD> <TITLE>Example</TITLE> </HEAD> <BODY> <% Response.Write str %> </BODY> </HTML>
ASP Example Output • <HTML> <HEAD> <TITLE>Example</TITLE> </HEAD> <BODY> <br>The time is 12:00<br> </BODY> </HTML>
Comparisons • ASP does not support Object-Oriented Programming • It is more specialized, compared to other languages • The larger a web application, the more it needs true application programming traits, which ASP doesn’t incorporate
References • http://jimparshall.net • E-Commerce and E-Business for Managers by:Deitel&Deitel