Difference between revisions of "Web page"

From Internet User Guide
Jump to: navigation, search
Line 7: Line 7:
  
 
==Static webpages and dynamic webpages==
 
==Static webpages and dynamic webpages==
A [[static webpage]] is a file of static text stored within the [[web server]]'s file system.
+
A [[static webpage]] is a file of static [[HTML]]text stored within the [[web server]]'s file system.
  
A [[dynamic webpage]] is constructed by the [[web server]] each time the page is requested by a [[web browser]]. (In practice, however, frequently-requested pages are stored in the server's [[cache]] rather than being reconstructed at each request.) The web server constructs the HTML for each webpage by using a standard format and layout of selected elements, and then fetching the appropriate contect for each element from the website's [[data base]].
+
A [[dynamic webpage]] is one that changes or is customized automatically, through the action of a [[scripting language]]. The script may act either client-side or server-side:
 +
*Client-side scripting is embedded within the web page, and acts on the user's [[User Interface|computer interface]] when the webpage is read by the [[web browser]]
 +
*Server-side scripting acts on the [[web server]] to modify or reconstruct the [[webpage]] automatically each time the page is requested by a [[web browser]]
 +
 
 +
 
 +
to change the supplied page source between pages, adjusting the sequence or reload of the web pages or web content supplied to the browser.
 +
 
 +
Server-side script
 +
(In practice, however, frequently-requested pages are stored in the server's [[cache]] rather than being reconstructed at each request.) The web server constructs the HTML for each webpage by using a standard format and layout of selected elements, and then fetching the appropriate contect for each element from the website's [[data base]].
  
Client-side scripting can make webpages more responsive to user input once in the client browser.
 
  
 
==External links==
 
==External links==

Revision as of 20:51, 19 May 2010