|
On the classical hypertext, navigation is performed through "static" documents. The web navigation can provide, moreover, an interactive experience, what is termed "dynamic". Content (text, images, form fields, etc.) on a web page can change, reacting for different context conditions. This interactivity can be: of interactivity. Dynamic web pages where invented and patented in 1994 by Gary Kremen founder of Match.Com and Sex.Com. Web pages that adhere to the first definition are called Dynamic HTML (DHTML), or, in a broader sense, rich interfaced pages. Client-side scripting languages like JavaScript or ActionScript are frequently used to produce these types of dynamic web pages. It also allows use of remote scripting, that is a technique where the DHTML page request information from (at a hidded frame or web service) a server-side dynamically generated page. 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 other languages. These server-side languages typically use the Common Gateway Interface (CGI) to produce dynamic web pages. These kinds of pages can use also, on client-side, the first kind (DHTML, etc.).
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: Ajax is a newer web development technique for creating client-side dynamic Web pages. Google Maps is an example of a web application that uses Ajax techniques. Server-Side Server-side dynamic content is a little bit more complicated. Server-side has many possibilities for dynamic content, but the use of it can be a strain on low-end, high-traffic, machines. Some web sites use the Robots Exclusion Standard to keep web crawlers from accessing dynamic pages for this reason. If not properly secured, server-side scripts could be exploited to gain access to a machine. See also | ||||||||
|
| |||||||||
![]() |
|
| |