Difference between revisions of "Dynamic web page"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Ajax)
Line 25: Line 25:
  
 
Ajax is commonly used with [[single-page applications]].
 
Ajax is commonly used with [[single-page applications]].
 
TO DO: more detail.
 
 
TO DO: clarify paragraphs below:
 
  
 
A dynamic web page is then reloaded by the user or by a computer program to change some variable content. The updating information could come from the server, or from changes made to that page's DOM.
 
A dynamic web page is then reloaded by the user or by a computer program to change some variable content. The updating information could come from the server, or from changes made to that page's DOM.

Revision as of 10:59, 4 February 2016

A web page is dynamic if it changes

A web page can be dynamic -- that is, changing -- in one of two ways:

  • Server-side
  • Client-side

Server-side

A server-side dynamic web page is a web page whose construction is controlled by an application server processing server-side scripts. In server-side scripting, parameters determine how the assembly of every new web page proceeds, including the setting up of more client-side processing.

Client-side

A client-side dynamic web page processes the web page using HTML scripting running in the browser as it loads.

JavaScript and other scripting languages determine the way the HTML in the received page is parsed into the Document Object Model, or DOM, that represents the loaded web page.

The same client-side techniques can then dynamically update or change the DOM in the same way.

Ajax

Ajax is a group of interrelated web development techniques used on the client-side to create asynchronous web applications.

Using Ajax, the user gets one dynamic page.

Ajax is commonly used with single-page applications.

A dynamic web page is then reloaded by the user or by a computer program to change some variable content. The updating information could come from the server, or from changes made to that page's DOM.

This may or may not truncate the browsing history or create a saved version to go back to, but a dynamic web page update using Ajax technologies will neither create a page to go back to, nor truncate the web browsing history forward of the displayed page.

The Ajax engine sits only on the browser requesting parts of its DOM, the DOM, for its client, from an application server.

DHTML

DHTML is the umbrella term for technologies and methods used to create web pages that are not static web pages. Client-side-scripting, server-side scripting, or a combination these make for the dynamic web experience in a browse.

Static web pages

A static web page is a non-dynamic web page, which is not changed in any way.

See also

External links