Static v/s Dynamic Website Design
Websites are the collection of web pages which can contain texts, images as well as audio and videos. The first page of websites is known as home page and each website has some specific internet address (URL) which we need to enter in our browser in order to access a website.
Website is hosted on one or more servers through which they can be accessed by visiting its homepages by using a computer network. Websites are managed by their owners which can be individual or any company or organization.
A website has two types:
• Static website
• Dynamic website
Static websites: They are the basic type of the websites which are easy to create and we do not need the knowledge of web programming as well as databases designs for the purpose of creating a static website. Their web pages are coded in HTML. These codes are fixed for each of the pages so that the information which contained in a page does not change as well as it looks like a printed page.
Dynamic websites: These kinds of websites are the collection of the dynamic web pages whose content can be changed dynamically. Content can be accessed from the databases or Content management system. That’s why the content of the website is also altered and updated when we alter or update the content of the database.
These websites use client side scripting or server side scripting or both in order to generate dynamic content. Clint side scripting is able to generate content at the client computer on the basis of the user input. The web browser downloads the web pages from the server and after that it processes the code within the page in order to render the information to the user.
We can understand the difference between the static website and dynamic website through these points:
• In Static website, prebuilt content is same every time when the page is loaded. But in Dynamic websites, content is generated immediately and changes regularly.
• Static website uses the HTML code for developing the website and Dynamic website uses the server side languages such as JSP, ASP and NET etc. for developing a website.
• Static websites can send exactly the same response for every request but Dynamic website can generate various HTML for each of the request.
• In static website, content is changed after publishing and updating the file but in Dynamic websites, the page contains server side code which allows the server for generating unique content.