Before deep into the Pinterest static or dynamic website, let's first talk about static and dynamic sites.

What are static Websites?

A static website is that type of website where content is not continuously changing. Whenever user upload their content that it changes, it is also called a flat page or a stationary page. The most important thing is that all users will find the same information in a static website simultaneously.

In the old days, static sites are just HTML documents stored on a database, but now in the modern world, the static pages are also changed with modern web templates and tools to make an attractive site. On these types of sites, content is not changing frequently, like social media sites.

A static website is delivered to a user the same content the way it's stored. That means that nothing on the page will change by the user or even the site administrator.

There is no user interaction allowed on that type of site. Some websites just allowed user comments only but not other interactions like updating their name and posting their content.

Also, static websites contain fix the code must update by the developer or by owner. These types of sites work for small business or a person who want to start blogging. 

So now, let's talk about the Technical background of these sites. These sites are just saved in the form of HTML, CSS and JavaScript file.The extension will be .html,.css and .js. It same as storing the file on your pc, but these files are stored over the internet (on Hosting).

Now when the browser makes an HTTP call to the server, these files are returned to the server. It is like picking up a file from your file system but over the internet and via the browser.Here is an Image example of how static sites load and retrieve data from the server.



A Request Gernated for data and data retrive from server


What are Dynamic Websites?

Opposite to static website sites that show different data to a different user or according to their needs.


In Dynamic Websites, the data update continually and also save in the server.


A site where you or other users can interact with these sites are called dynamic sites. Here is also a thing that some dynamic apps give services now a day. There are different types of interaction that can occur on dynamic sites like.


  • Post (image, comment, or in social media like status)
  • update their content or image
  • Can delete their data from a site
  • Any site with information that must be updated regularly


Dynamic site uses Three Scripting. 


Client-Side Scripting


A script runs on the user end so the browser can read and display content with the proper layout so users can easily interact with the site. These scripting use HMTL, Javascript, and CSS for design.HTML is a language which browser read and display day and it is also an essential language for SEO points of view.


Server-Side Scripting


A script that runs on the back end when the user interacts with our side this script performs actions against query so that what kind of data should display to the user.

Combination Scripting

The script contains both server-side and client-side code because of decreasing server load speed. Also, some side use real-time data steps scripts like Facebook when you scroll down so it will show more data by using an asynchronous script like ajax, react or ect.