- Written by Web Design Uganda
Properties associated with dynamic web pages
Classical hypertext navigation occurs among "static" documents, and, for web users, this experience is reproduced using static web pages, meaning that a page retrieved by different users at different times is always the same, in the same form.
However, a web page can also provide a live user experience. Content (text, images, form fields, etc.) on a web page can change in response to different contexts or conditions. In dynamic sites, page content and page layout are created separately. The content is retrieved from a database and is placed on a web page only when needed or asked. This allows for quicker page loading, and it allows just about anyone with limited web design experience to update their own website via an administrative tool. This set-up is ideal for those who wish to make frequent changes to their websites including text and image updates, e.g. e-commerce.
Two types of Dynamic Websites
Client-side scripting and content creation
Using client-side scripting to change interface behaviors within a specific web page, in response to mouse or keyboard actions or at specified timing events. In this case the dynamic behavior occurs within the presentation.
The innerHTML property (or write command) can illustrate the client-side dynamic page generation: two distinct pages, A and B, can be regenerated as document.innerHTML = A and document.innerHTML = B; or "on load dynamic" by document.write(A) and document.write(B).