Answer to Question 1A static page is an unchanging page retrieved from a file or set of files stored on a Web server. Following are some disadvantages:
- The content gets stagnant.
- The site requires expertise to update content.
- The site is not as interesting to the user.
- There are higher maintenance costs if content needs to be changed frequently.
They are difficult to maintain when the site gets large.
Answer to Question 2Technologies used to create dynamic Web pages include Microsofts Active Server Pages (ASP), Java Server Pages (JSP) in the form of programs called Java servlets, Apache Software Foundations Hypertext Preprocessor (PHP), and Adobes ColdFusion. These server-side languages generally use the Common Gateway Interface (CGI), which is a standard way of interfacing external applications with Web servers. CGI has been used for many years to connect databases to Web servers, which allowed remote access to those databases through Web browsers.
AJAX (asynchronous JavaScript and XML) is a development framework used to create interactive Web sites that look like applications running in a Web browser. Most dynamic Web pages must reload in their entirety if any page content changes. AJAX lets programmers create Web pages that will update asynchronously by exchanging small amounts of data with the server while the rest of the Web page continues to be displayed in the browser. Because the entire Web page does not reload with every change, the user experiences faster responses. Google Maps uses AJAX. Ruby on Rails and Scala are Web development frameworks that can be used to accomplish the same objectives as AJAX. Python is a scripting language that can also be used in dynamic Web page generation.