Dynamic Web Page

Sponsored Links:


A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing. dynamic Web page A Web page that is returned to the user with custom content based on the results of a search or some other request A web page or webpage is a document or resource of information that Main article: dynamic web page. Client-side computer code such as JavaScript or code
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 other 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.

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.

  1. The browser sends HTTP request.
  2. The server retrieves the requested script or program.
  3. 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.
  4. The server sends the HTML output to the client’s browser.

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.


Related posts:

  1. What’s Website A website (or web site, according to Associated Press guidelines) is a collection of web pages, typically common to a particular domain name or subdomain...
  2. A Little Bit About Web Design Many people love the idea of having a web site, but get scared when they hear the phrase "web design". After all, don't you need...
  3. Ideas On How To Obtain Web Visitors That Is Specific You finally have your space on the web and are trying to get visitors to it. You then realize that your missing out on some...
  4. Cheap Web Hosting Company For people who are planning to start their own websites, usually price is the only thing that is considered. But with so many cheap web...
  5. Web Hosting For Your Web Site Web Hosting is typically done one of two ways: hosting from a computer you own using web server software or paying a company for a...



Tagged as :

Incoming search engine terms:

Leave a Response