You are currently viewing What is the difference between static and dynamic website

What is the difference between static and dynamic website

What is website. ?

website is a collection of multiple web pages, including multimedia content, typically identified with a common domain name, and published on at least one web server. Websites can be created and maintained by an individual, group, business or organization to serve a variety of purposes. example website address URL (Uniform Resource Locator) is https://www.blog.weburl.co.in

Static Website

A static website is  usually written in plain HTML and what is in the code of the page is what is displayed to the user. User can only read the information but can’t do any modification or interact with the information. Static websites are created through only HTML and bootstrap.

Advantages

Quick and easy to develop
Easy to manage

Dynamic Websites

A dynamic website is one that is written using a server-side scripting language such as PHP, ASP or JSP. In such a site the content is called in by the scripting language from other files or from a database depending on actions taken by the user. 
Dynamic websites shows different information at different point of time. It is possible to change a portion of a web page without loading the entire web page. It has been made possible using Ajax technology. 

Advantages

More functionality
Depending on database

difference between static and dynamic website

Which Should You Choose?

Many people prefer dynamic websites because they have a lot of benefits. Dynamic Websites reduce maintenance costs, make data management very efficient, and add-ons some features such as data feeds or a comprehensive site search.

Difference between Static and Dynamic

Static Website

  • Static website contains the HTML code for developing a website.
  • Static website  pages will remain same until someone changes it manually.
  • Static website page takes less time for loading than dynamic web page.

Dynamic Website

  • Dynamic website contains the server side languages such as PHP, & SQL etc. for developing a website.
  • Dynamic website pages are different for different visitors.
  • Dynamic web page takes more time for loading.

Leave a Reply