Dynamic Web page
Encyclopedia : D : DY : DYN : Dynamic Web page
Dynamic Web pages can be defined as: (1) Web pages containing dynamic content (e.g., images, text, form fields, etc.) that can change/move without the Web page being reloaded or (2) Web pages that are produced on-the-fly by server-side programs, frequently based on parameters in the URL or from an HTML form.
Web pages that adhere to the first definition are often called Dynamic HTML or DHTML pages. Client-side languages like JavaScript are frequently used to produce these types of dynamic web pages.
Web pages that adhere to the second definition are often created with the help of server-side languages such as PHP, Perl, ASP/.NET, JSP, and languages. These server-side languages typically use the Common Gateway Interface (CGI) to produce dynamic web pages.
The word dynamic is used in opposite to static; see Static Web page.
Client-Side
Client-side dynamic content is generated on the client's computer. The web server retrieves the page and sends it as is. The web browser then processes the code embedded in the page (normally JavaScript) and displays the page to the user.
The innerHTML property (or write command) can illustrate the "Client-side dynamic page" generation: 2 distinct pages, A and B, can be regenerated (by an "event response dynamic") as document.innerHTML = A and document.innerHTML = B; or "on load dynamic" by document.write(A) and document.write(B).
The problems with client-side dynamic pages are:
- Some browsers do not support the language or they do not support all aspects (like write command and innerHTML property) and of the language.
- The information cannot be stored anywhere but the user's computer, so it cannot really be used for statistics gathering.
- Search engines are not able to run client-side languages and cannot crawl links generated by them.
- Some users have scripting languages disabled in their browsers due to possible security threats.
Server-Side
-->Server-side dynamic content is a little bit more complicated.
- The browser sends an HTTP request.
- The server retrieves the requested script or program.
- The server executes the script or program which typically outputs an HTML web page. The program usually obtains input from the query string or standard input which may have been obtained from a submitted web form.
- The server sends the HTML output to the client's browser.
Virtual Documents
"Virtual documents" are web documents for which the content, nodes or links, or all three, are created as needed.[link]It would appear that Wikipedia may have addressed some of the [research issues] raised by virtual documents (in the contexts of digital libraries / information retrieval (?) ).
See also
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
