{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Advanced Internet Technologies

Advanced Internet Technologies - StaticWebPage...

Info icon This preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon
    Static Web Page A static web document resides in a  file within a web server. The author determines the contents  at the time the document is written. Each request results in exactly the  same response, because the  contents do not change.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    Static Pages Retrieve file Send file Request file
Image of page 2
    Advantages of Static Web  Document Simplicity, reliability and performance. Contains straightforward formatting  specifications, no need to write a  computer program. After created and tested thoroughly, the  page can remain valid indefinitely. A browser can display rapidly and place  a copy in a cache on a local disk.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    Disadvantages of Static Web  Document Inflexibility – revised whenever  information changes. Changes are time-consuming  because they require a human to  edit a file. Not useful for reporting information  that changes frequently.
Image of page 4
    Dynamic Web Page It does not exist in a predefined form. It is created by running an  application program in a web server  whenever a browser requests the  document. The contents can vary from one  request to another.
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    Dynamic Pages Do Computation Generate HTML page with results of computation Return dynamically generated HTML file Request service
Image of page 6
    Advantages of Dynamic Web  Document   Its ability to report current information  such as  stock prices, weather  conditions, availability of tickets for a  concert. A browser cannot distinguish dynamic  form static pages. It places the responsibility on the server  by running an application that accesses  the needed information and creates a  document.
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    Disadvantages of Dynamic Web  Document It is more expensive to create and  hardware costs increase because a more  powerful server is needed. The program must be designed carefully  and tested extensively for valid outputs. Longer retrieval time because the server  requires longer running time.
Image of page 8
    The CGI Standard - Common Gate A widely used technology for  building dynamic web documents. Originally developed by the  National center for supercomputer  Applications (NCSA). It specifies how a server interacts  with an application program that  implements a dynamic document.
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    CGI Requirements It provides general guidelines and  allows a programmer to choose most  details. CGI does not specify a particular  programming language. A programmer can choose an  appropriate language for each  document.
Image of page 10
    Competing Technologies CGI & Perl  PHP - PHP Hypertext Preprocessor LAMP Architecture (Linux, Apache,  MySQL, PHP/Perl/Python)  a web  server infrastructure  JSP - JavaServer Pages  ASP - Active Server Pages
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
    CGI Web Application Run CGI program print $result Request service HEADERS BODY
Image of page 12
Image of page 13

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 14
Image of page 15

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 16
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}