ASP (Active Server Pages) by B - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

ASP (Active Server Pages) by B

Description:

(Active Server Pages) by. B lent & Resul. Presentation Outline ... ASP is short form of Active Server Pages. Before ASP the web pages were created with HTML. ... – PowerPoint PPT presentation

Number of Views:697
Avg rating:5.0/5.0
Slides: 20
Provided by: cmpeBo
Category:
Tags: asp | active | pages | server

less

Transcript and Presenter's Notes

Title: ASP (Active Server Pages) by B


1
ASP(Active Server Pages)byBülent Resul
2
Presentation Outline
  • Introduction
  • What is an ASP file?
  • How does ASP work?
  • What can ASP do?
  • Differences Between Similar Technologies
  • Advantages / Disadvantages
  • Future
  • Conclusion

3
Introduction
  • ASP is short form of Active Server Pages
  • Before ASP the web pages were created with HTML.
    (Static Content)
  • With CGI, we could have dynamic web applications.
  • To run an ASP file, we need a server which runs
    IIS

4
What is an ASP File?
  • An ASP file is an HTML file containing script
    commands and having an extension of .asp.
  • There are more than one scripting languages used
    such as VBScript, JavaScript, Jscript
  • The scripts are processed by the server.
  • No dependence of scripting language for web
    browsers

5
What is an ASP File?
  • lt gt tags are used to separate the HTML and
    script codes
  • Code blocks are processed in the server.

6
What is an ASP File?
  • lthtmlgt
  • ltbodygt
  • lt Response.Write (Test Text") gt
  • lt/bodygt
  • lt/htmlgt
  • The code above is an example code of an ASP file.

7
What is an ASP File?
  • lthtmlgt
  • ltbodygt
  • Test Text
  • lt/bodygt
  • lt/htmlgt
  • This is the output HTML codes after ASP file is
    processed.

8
What is an ASP File?
  • Test Text
  • This is seen from the browser.

9
How Does ASP Work?
  • ASP files are only processed when a client
    requests them from the server.
  • ISAPI
  • There are some .dll files such as ASP.dll which
    contains standard objects.
  • Functions are called from these dlls.
  • Since these functions are previously defined and
    known, things can be done with ASP are bounded.

10
How Does ASP Work?
  • ASP codes do not need to be compiled.
  • There exists a global.asa file which is used to
    specify events and global session variables which
    are used for all ASP files in the server.
  • Before any ASP file is processed, global.asa is
    processed and it defines global events.

11
How Does ASP Work?
  • The processing of an ASP file starts with the
    separation of ASP scripts and HTML codes in IIS.
  • Then each script code is processed.
  • The HTML corresponds of these scripts are
    created, and injected related places.
  • Final HTML codes are sent to the client and
    displayed by the web browser.

12
What can ASP do?
  • The most important feature of ASP is creating
    dynamic pages.
  • You can manage data with database operations such
    as getting and storing peoples info in the DB.
  • Interactive applications can be implemented, i.e.
    news type people like may be displayed.
  • Script codes are not sent to the client which
    brings security.

13
Differences Between Similar Technologies
  • Cost
  • Speed PHP files are faster, but JSP files are
    slower than ASP files
  • Portability ASP runs on Windows, PHP and JSP can
    run on other platforms
  • Language ASP uses VBScript, PHP uses C based
    language, JSP uses Java

14
Advantages / Disadvantages
  • It gives dynamism to the pages created.
  • Interactive pages reflecting the preferences of
    the user can be developed
  • One can do bounded things provided by ISAPI
    functions which brings security
  • It is slower than most of similar technologies
  • Not very much portable

15
Next Generation of ASP (ASP.NET)
  • It brought some improvements to ASP.
  • ASP.NET files have .aspx extension.
  • The code is compiled.
  • New languages such as C, J... can be used
  • New programmable controls
  • Configuration files are generally written in XML

16
Conclusion
  • ASP is a very good innovation to dynamic web
    programming.
  • Data obtaining and displaying became more easy
    and efficient.
  • It works on Windows based servers on IIS
  • When compared to similar technologies, it has
    advantages and disadvantages over them.
  • As the next generation, ASP.NET provides very
    many innovations to classical ASP

17
References
  • http//msdn.microsoft.com/library/default.asp?url
    /library/en-us/iissdk/html/526bf565-7f3e-4c60-a78b
    -bdac64ebb0e0.asp
  • http//msdn.microsoft.com/library/default.asp?url
    /library/en-us/iissdk/html/526bf565-7f3e-4c60-a78b
    -bdac64ebb0e0.asp
  • http//msdn.microsoft.com/library/default.asp?url
    /library/en-us/dnasp/html/aspover.asp
  • http//en.wikipedia.org/wiki/ISAPIframeroom.com/ht
    ml/glossary.html
  • http//www.w3schools.com/asp/
  • www.webpronews.com/expertarticles/expertarticles/w
    pn-62-20051222ASPvsPHP.html
  • http//www.w3schools.com/aspnet/aspnet_vsasp.asp
  • http//www.asp101.com/articles/chris/aspvsnet/defa
    ult.asp

18
QUESTIONS?
19
Thank You
Write a Comment
User Comments (0)
About PowerShow.com