- #Static website vs dynamic website examples code#
- #Static website vs dynamic website examples windows#
Examples of the dynamic web pages are Amazon, Yahoo, Gmail, CNN and iTunes websites.Īgain, the structure of the web server is different from that hosting static pages to dynamic pages.
That is the content displayed on the website may change from user to user and/or from time to time. In contrast to static web pages, the dynamic web pages obtain their names due to the dynamic content available.
#Static website vs dynamic website examples windows#
The most common HTTP or web servers used for this purpose are IIS from Microsoft for the windows platform and Apache by the Apace foundation. When a web client makes a request for a static web page to the web server, the web server (aka HTTP server) interprets and locates the required page using the URL in the request and sends the page to the web browser through HTTP. htm are static web pages where the pages are saved in HTML format. The web page inside the server is an individual HTML file that can be recognized by the last of the URL of the file.
#Static website vs dynamic website examples code#
If a change has to be made to the website it has to be done manually by changing the code of each web page. However, these pages are independent of each other, and the code and other featured content are written and saved as individual files on the fixed memory of the server. Technically a static website consists of a collection of HTML documents hosted on a server, which are interconnected through hyperlinks. The reason behind this is the way the static web sites are built. Simply a static website is a fixed website, and the content does not change from user to user. Uniform Resource Locator uniquely identifies the resources on the server and the server that receives the requests and responds is known as an HTTP server.ĭifferences of the static and dynamic website arise from the change operations behind the HTTP server.Ī static website is a website that displays the same content for all the users viewing the website at the same time. If the content requested by the client computer is available, components of the website are sent to the client web browser in HTML format through the HTTP, and then the web browser recreates the website on the client computer and displays it. When a client computer such as the one used by you attempts to view a specific web page through the web browser, it sends a request to the computer hosting the website (the server) to send back the details of the website. The Hypertext Transfer Protocol (HTTP) facilitates the communication and data transfer amongst these two levels of tiers, which is a standard code.
The internet is a large collection of interconnected client computers and servers.