Dynamic v/s Static Website

What business should opt which hosting

What is a website?

A website is a collection of related network web resources, such as web pages, multimedia content, which are typically identified with a common domain name, and published on at least one web server. Notable examples are wikipedia.org, google.com, and amazon.com.

Websites can be accessed via a public Internet Protocol (IP) network, such as the Internet, or a private local area network (LAN), by a uniform resource locator (URL) that identifies the site.

What is dynamic?

A dynamic website is one that changes or customizes itself frequently and automatically. Server-side dynamic pages are generated "on the fly" by computer code that produces the HTML (CSS) are responsible for appearance and thus, are static files). There are a wide range of software systems, such as CGI, Java Servers and Java Server Pages (JSP), Active Server Pages and Cold Fusion (CFML) that are available to generate dynamic web systems and dynamic sites. Various web application frameworks and web template systems are available for general-use Programming languages like Perl, PHP, Python and Ruby to make it faster and easier to create complex dynamic websites.

A site can display the current state of a dialogue between users, monitor a changing situation, or provide information in some way personalized to the requirements of the individual user. For example, when the front page of a news site is requested, the code running on the web server might combine stored HTML fragments with news stories retrieved from a database or another website via RSS to produce a page that includes the latest information.

Dynamic sites can be interactive by using HTML forms, storing and reading back browser cookies, or by creating a series of pages that reflect the previous history of clicks.

Another example of dynamic content is when a retail website with a database of media products allows a user to input a search request, e.g. for the keyword Beatles. In response, the content of the web page will spontaneously change the way it looked before, and will then display a list of Beatles products like CDs, DVDs and books.

Dynamic HTML uses JavaScript code to instruct the web browser how to interactively modify the page contents. One way to simulate a certain type of dynamic website while avoiding the performance loss of initiating the dynamic engine on a per-user or per-connection basis, is to periodically automatically regenerate a large series of static pages

What is static?

A static website is one that has web pages stored on the server in the format that is sent to a client web browser. It is primarily coded Hyper Text Markup Language (HTML); (CSS) Cascading Style Sheets are used to control appearance beyond basic HTML. Images are commonly used to effect the desired appearance and as part of the main content.

Audio or video might also be considered "static" content if it plays automatically or is generally non-interactive. This type of website usually displays the same information to all visitors. Similar to handing out a printed brochure to customers or clients, a static website will generally provide consistent, standard information for an extended period of time. Although the website owner may make updates periodically, it is a manual process to edit the text, photos and other content and may require basic website design skills and software. Simple forms or marketing examples of websites, such as classic website, a five-page website or a brochure website are often static websites, because they present pre-defined, static information to the user. This may include information about a company and its products and services through text, photos, animations, audio/video, and navigation menus.

Benefits of dynamic

On a dynamic website, the content and information present on the page changes according to the user commands. Advantages : Easy To Update: The biggest advantage of a dynamic website is that it can be easily updated as per the needs of the business owner

Dynamic Website design manages many different modules that can be designed once and can be clubbed up with many different pages. This helps us to reuse the same functionality without writing the code again.

Easier to update content - Using a CMS web interface for managing content will allow you to make changes easily. ...

More flexible - When creating your own dynamic website, you have full control of the wheel to create whatever interactive feature you like.

Benefits of static

Faster speed - Since you are just hosting and serving static files, when a user visits your page, all the web server has to do is return a file. No server-side code is executed. With dynamic websites there is extra processing time required to deliver HTML pages

Advantages : Time-Saving: The biggest advantage of a static website is that it is quick to develop. A professional web developer can develop a static website much faster than a dynamic one.