CS100 Lecture Notes - Lecture 9: Web Server, Hypertext Transfer Protocol, Query String
Document Summary
Clients: typically a web browser running on a different computer than the web server, web server provides the client with the html, client interprets and displays the html. If the html contains references to more pages, the client will have to make additional requests: e. g. images, client waits for the new request to be fulfilled and then displays the image. Static: does not change: static web pages are not dynamic, dynamic: changes over time, dynamic webpages automatically changes its content due to its environment. Client-side dynamic web pages: a web page can contain code written in a programming language, e. g. javascript, the client interprets and then executes the code. Identify who you are and allow you to do something you are allowed to do: auth=332jkh234h, username=abc123&password=password. Asynchronous communication: xml is very similar to html, more flexible and useful for representing data, not just document, client periodically makes a request, request is made by a javascript code.