Table of contents
What is a website?
A website is a collection of single or multiple pages, different things we can access by URL ( Uniform Resource Locator) For example The History of Google and How It Was Invented (thoughtco.com)
Types of websites:
Static sites
Dynamic sites
Statics sites
"Content of static website will change when we change in code" when we do not do any type of changes in the program/ code nothing will change in the whole website. those types of websites are known as static sites.
Languages that are used to make static websites are HTML and CSS.
The uses of static sites are:
Online Resume
Online Portfolio
Gym websites
Blogs
Advantages-
Simplicity- It is very easy to create a static website.
Cost-effective- as we know static websites are not connected to a database and are not backed was connect to it that's why only creation change was included not backed and database maintenance and cost are included
3)Faster web page loading speed- the website was having fixed content and doesn’t have to contact the back-end systems every time the page loads.
Disadvantages-
Limited functionality- as we know static websites were having limited content, and features and are not connected to the back end that's why it can't able to provide user interaction and have limited functionality.
No user interaction - Static websites are not connected to the database and not having any back-end that's why it was not able to get requests and give any response.
Dynamic Sites-
Dynamic sites are used in server-side programming and database to generate their content. dynamic sites provide dynamic and interactive functionality to users. it can link searching data in the database, submit from, data, display custom content etc.
Examples of dynamic sites are-
Youtube
Facebook
Instagram
Advantages-
User interaction- Dynamic sites are connected to the back end that's why we can send requests to users and get responses from the user
Advanced functionality- Dynamic sites provides additional or advanced functionality like booking websites where user can go and book their required things
Disadvantages-
A lot of overhead for simple applications- programmers have to write a lot of code and connect their project backend and create a database and also maintain it from time to time so we can say that there a lot of overhead is there to create a simple website.
Complex to implement- it is very complex to implement dynamic websites because we have to set up a server, complex code to write, and do a lot of effort into dynamic sites