Understanding Static Web Sites
- A static website is stored on a server using HTTP server software
- Client sends HTTP Request with a URL(Uniform Resource Locator)
- Server locates and sends requested file as an HTTP Response
 |
| Static Websites Request-Response |
- The code & text for each Page is written out separately
- Each Page is saved on the server, just like it is displayed
- Changes must be made by hand in each Page's code
Understanding Dynamic Web Sites
 |
| Dynamic Websites Request-Response |
- Application server is installed on the same server as HTTP server software
- Client sends HTTP Request with a URL(Uniform Resource Locator)
- HTTP Server dispatches request to application server
- Application server dynamically constructs HTTP response
- Each websites Page does not actually exist anywhere
- In one place is the look-and-feel/ layout of the website
- In another place is the content of the website(text,photos)
- When a user wants to see a Page, the server creates it on the fly
As Dynamic Websites have more advantages than static one so most of the websites you are looking is a dynamic one.
To build a Dynamic Web Application the top three server scripting languages are:
- ASP.NET : ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic websites, web applications, and web services.
- PHP : PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
- JSP : JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases.