These pages are stored in their final form, just as they were created, and their content does not vary. Only a programmer can change his content.
Steps given by a static web:
1) Your computer asks a web server for a page with the extension .htm, .html or .xhtml.
2) The server searches for that page in a page store
3) If the server finds that page, it retrieves it
4) And finally it is sent to the browser so that it can display its content
1.1. Dinamic web pages:
Their content changes based on various variables, such as the browser you are using, the user with whom you have identified, or the actions that have performed previously.
There are two types in dinamic web pages:
A) Those that include code that runs the browser. This pages use Html and Javascript. This code can incorporate multiple functionalities that can range from showing animations to totally changing the appearance and content of the page.
B)The Html of these pages is formed as a result of the execution of a program, and that execution takes place on the web server (although not necessarily by that same server).
A lot of this pages has extensions as .php, .asp, .jsp, .cgi o .aspx.
Steps given by a dinamic web:
1) Your computer requests a web page from a web server.
2) The server searches for that page and retrieves it.
3) In the case of a dynamic web page, that is, that its content must be executed to obtain the HTML that will be returned, the web server contacts the module responsible for executing the code and sends it.
4) As part of the execution process, it may be necessary to obtain information from a repository, such as consulting records stored in a database.
5) The result of the execution will be a page in HTML format, similar to any other non-dynamic web page.
6) The web server sends the result obtained to the browser, which processes it and displays it on the screen.
Source:
DAW-Madrid
Comentarios
Publicar un comentario