The Pros and Cons of Static and Dynamic Websites
Table of Contents Website Web Hosting Static Website Dynamic Website Need for a Static Site Need for a Dynamic Site
Static Website’s Advantages Dynamic Websites’ Advantages Static Websites’ Disadvantages Dynamic Websites’ Disadvantages Conclusion
2
Website ďƒ‰ It is a collection of related web pages and content that is located under a single domain name, identified by a common domain name and hosted on a web server. Its content is usually focused on a particular topic or purpose. ďƒ‰ All those websites that are accessible publicly, form the World Wide Web (www).
3
Web Hosting YELLOW Every website is hosted on the leased server of a web hosting company that provides the technology and services needed to make a website accessible to everyone over the Internet. These web hosts have various packages for various types of sharing. The main types of web hosting are shared, dedicated, VPS, Reseller, WordPress and Cloud Hosting. The plan names often indicate the type of operating system it is meant for. For example, “ Linux Reseller Hosting in India” will refer to a reseller hosting package meant for Linux users in India. Some web hosts have been offering outstanding service consistently and have earned the reputation of being the best hosting company. If one searches for the "best Windows hosting services 2020”,one will come across many web hosts who are renowned for their quality of service. 4
Static Website ďƒ‰ In a static website the web pages are stored on the server in the format that is sent to a client web browser. Such websites are pre-rendered and are typically cached and delivered to the user. These are served by a Content Delivery Network(CDN). The site is pre-generated by individual files that are delivered to all users in the same manner. In this type of website the same information is usually displayed to all visitors. It is primarily coded in Hypertext Markup Language (HTML). Cascading Style Sheets (CSS) are used to control appearance beyond the basic HTML. 5
Dynamic Website 6
This type of website changes or customizes itself automatically and frequently. Such sites use server side languages to process requests at the time when it is made. These sites generate a page and its contents in real-time. Dynamic websites interact with the user accessing the site and render content depending on the user’s actions or settings. Such a site can display the current state of dialogues between users, monitor a changing situation as well as provide information in some way personalized to the requirements of the individual user. Dynamic sites can be interactive through the use of HTML forms, storing and reading back browser cookies or by creating a series of pages that reflect the previous history of clicks.
Need for a Static Site 7
When building a site that won’t change a lot Creating a simple blog Building a landing page with information and an opt-in Need to have multiple languages on the site
Need for a Dynamic Site 8
When aiming for personalization in order to provide content to a specific target viewership When expecting the site to grow to multiple pages and page types When users will log in to the website to access gated content When multiple people should be able to manipulate content without touching the code of a site When there is a need to build an application When you need to have multiple languages on the site
Static Website’s Advantages 9
Easy to build- For any developer, static websites are way simpler to setup in comparison to a dynamic website Speedy- Static websites load very fast. This happens because a static site is not generating content in real time from a database Inexpensive- It is usually cheaper to host a static website than a dynamic one Scalability- Traffic surges on a dynamic site can crash it
Static Website’s Advantages 10
Fast recovery- If there is a crash or break, all you have to do is redeploy in order to restore the website Availability- Since static websites are comparatively less complex than dynamic websites, there are fewer things that can break Security-Static websites are more secure than dynamic websites. Dynamic websites are often at a greater risk of malicious attacks due to the fact that these interact with the users SEO- The ranking of static websites can be usually higher than that of dynamic websites on search engines. This happens as static websites are typically faster and the content is easily crawlable
1-800-123 -8156 Whoa! That’s a big number, aren’t you proud?
11
Dynamic Websites’ Advantages More powerful- Dynamic websites offer endless possibilities when it comes to features, such as, the ability to have users login, accept payments for commerce, to name a few Personalized content-In Dynamic websites users can interact with the website to generate content that is applicable to them CMS functionality-Dynamic sites can be handled easily by technical as well as non-technical users when there is a need to update the content or the design of a site with a Content Management System (CMS)
Static Websites’ Disadvantages Unavailability of CMS- Updates to a static site typically require a developer to make the changes. However, the emergence of headless CMS that are being used along with static site generators, is changing the scenario Unavailability of real time Content- Static websites are not connected to a database. Hence, these cannot display notifications, recommendations or any other updates to the users Unavailability of user interactivity- A static site cannot interact with its users. It can collect information from a user and send it to a database. However, it cannot allow a user to login as it doesn’t request user information from a database
Dynamic Websites’ Disadvantages Complex- Dynamic websites are inherently more complex than a static one that is pre-rendered and statically delivered. Hence, enhanced developer skills are required to create a dynamic website which connects and generates web pages from content stored in a database. Security- Since dynamic websites interact with users, these are more vulnerable to malicious attacks than static websites. Speed- Dynamic sites that are not optimized can be sluggish or slow to load because in this case the content is being called from a database.
Conclusion “An investment in knowledge pays the best interest”. The aim of this PPT has been to emanate information in order to increase awareness and knowledge regarding dynamic and static websites and the pros and cons of each, with reference to how a web page has been delivered to the user.
Thanks!
ANY QUESTIONS? You can find me at: www.htshosting.org www.htshosting.org/best-web-hosting-company-India www.htshosting.org/best-windows-hosting www.htshosting.org/best-cloud-hosting-company support@htshosting.org 16