Explain dynamic website with diagram.
Answers
A website, or individual web page, can be static or dynamic. A static website contains information that does not change. It remains the same, or static, for every viewer of the site. A dynamic website contains information that changes, depending on the viewer, the time of the day, the time zone, the viewer's native language, and other factors. For example, the Computer Hope main page is a dynamic website that automatically changes daily.
A dynamic website can contain client-side scripting or server-side scripting to generate the changing content, or a combination of both scripting types. These sites also include HTML programming for the basic structure. The client-side or server-side scripting takes care of the guts of the site.
With client-side HTML scripting, the page can use JavaScript or another scripting language to change the data of page as it is dynamically built.
With server-side scripting, scripts are run on the server that hosts the page. The process for how the page is built is determined by parameters defined in the server-side scripting.