Difference between revisions of "Web sites: static versus dynamic"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(First)
 
(b)
Line 1: Line 1:
 
Websites typically have one of two structures:
 
Websites typically have one of two structures:
  
* Static web pages
+
* '''Static''' web pages
* Dynamic web pages
+
* '''Dynamic''' web pages
  
 
A website is typically made up of all static pages, or all dynamic pages.
 
A website is typically made up of all static pages, or all dynamic pages.

Revision as of 10:20, 11 June 2015

Websites typically have one of two structures:

  • Static web pages
  • Dynamic web pages

A website is typically made up of all static pages, or all dynamic pages.

It is possible for a website to combine static pages with dynamic pages, but this would be an exception requiring an exceptional reason.

Static web pages

  • Each web page represented by a single text file
  • File has extension .htm or .html
  • File contains HTML (often CSS and JavaScript as well)
  • File can be edited in text editor
  • Manage files using File Transfer Protocol (FTP)

Dynamic web pages

  • Dynamic in either or both of two ways:

Dynamic web sites can be either or both.

Client-side dynamic

Server-side

  • Content is generated by a server-side program
    • Web pages are generated by the program -- in effect, the program is a "URL engine"
    • There are no individual files for individual web pages
  • Typically a content management system, using database such as MySQL

See also