Static Website Vs Dynamic Website
While creating a website there are mainly two approaches used-static and dynamic. Static means that the information which is used for making website does not changes, depending on input being entered by the user. Static web page works like a printed document that is to be referred on the internet. Static pages send exactly the same response to every request. A static website is written in mark up language only and there is no database that it draws on. The only means to edit the site is to go into each page and edit the HTML.
Dynamic means that data or content can change ‘dynamically’. This content usually comes from a database or Content Management System (CMS). In dynamic websites when the data is changed, text and images on the website are also updated. This way there are lots of options for the business applications of your website. Shopping carts and information sites are also dynamic websites as their content changes frequently and needs to be up to date. Dynamic pages can customize the response on the server to offer personalization based on cookies and information it can get from the visitor.
Advantages Of Dynamic Websites Are
» Offers highly personalized and customized visitor options.
» Database access improves the personalized experience (as opposed to using just client side cookies).
» Can create the illusion of being updated regularly using time and date sensitive routines to show pre-written text.
» Scripts can read in data sources and display it differently based on how it is run.
» Dynamic websites can reduce ongoing maintenance costs if you don’t want to update things yourself with a web page editor or with the HTML.
In dynamic websites an area can be made where you can log in and change various parts of the website as adding information or products or changing existing products. eCommerce websites, news websites are some examples of dynamic websites. In these websites content of each page is based on the information in a database, and the information in that database can be changed via another interface. A dynamic web page has content which is changed by a program or script at the time the page is requested. In a typical dynamic website, all web contents are stored in a database and assembled into a web page when the page is requested. The dynamic site is important when regular change in website content is essential and also to reduce maintenance of the site for the users who do not know HTML.