What is static and dynamic websites?
A static website is one with stable content,
where every user sees the exact same thing on each individual page.
On the other hand, a dynamic website is one where content is pulled
on-the-fly, allowing its content to change with the user.
STATIC SITE :
A static website is made up of webpages created using HTML,
CSS and Javascript (all examples of web development languages).
Each page on a static website is stored as a single HTML file ,
which is delivered directly from the server to the webpage exactly as is.
This content essentially becomes a part of the design on your page,
and won’t change unless the original HTML file is edited at a code level.
Changes to a static website can be done manually,
and will only be made page by page, HTML file by HTML file.
DYNAMIC SITE :
Built using server side language and technology,
dynamic websites allow for the content of each page
to be delivered and displayed dynamically, or on-the-fly,
according to user behavior or from user-generated content.
With a dynamic website all of your data and content are organized
in a database or backend Content Management System (CMS),
which connects to your website pages.
The way this information is arranged and connected to your
site’s design controls how and when its content is revealed on a page.
What does all of this mean? Well, dynamic websites give you the ability
to customize and personalize website content for a specific user.
It also allows you to make changes to many pages at the same time,
since modifications made to one dynamic page can be automatically made
across thousands.
For example, dynamic websites enable you to choose which information
is displayed to a user based on their location.
You can also deliver content to users based on their current or
past actions on your site (thanks Cookies),
which essentially means each visitor sees a different view of the
content on a page.