Client-side

Client-side

The 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 (typically written in 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) 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.

Comments

Popular Posts