What
is Website?
Website is the collection of web pages,
different multimedia content such as text, images, and videos which can be
accessed by the URL which you can see in the address bar of the browser. For
example: https://bcaschool.blogspot.com
How
to access Websites?
When we type a certain URL in a browser
search bar, the browser requests the page from the Web server and the Web
server returns the required web page and its content to the browser. Now, it
differs how the server returns the information required in the case of static
and dynamic websites.
·
Types of
Websites:
1. Static Website
2. Dynamic Website
Static Website: In Static Websites, Web pages are returned
by the server which are prebuilt source code files built using simple languages
such as HTML, CSS, or JavaScript. There is no processing of content on the
server (according to the user) in Static Websites. Web pages are returned by
the server with no change therefore, static Websites are fast. There is no
interaction with databases. Also, they are less costly as the host does not
need to support server-side processing with different languages.
Note: Static does not mean that it will not
respond to user actions, These Websites are called static because these cannot
be manipulated on the server or interact with databases.
Dynamic Website: In Dynamic Websites, Web pages are returned
by the server which are processed during runtime means they are not prebuilt
web pages but they are built during runtime according to the user’s demand with
the help of server-side scripting languages such as PHP, Node.js, ASP.NET and
many more supported by the server. So, they are slower than static websites but
updates and interaction with databases are possible.
Dynamic Websites are used over Static
Websites as updates can be done very easily as compared to static websites
(Where altering in every page is required) but in Dynamic Websites, it is
possible to do a common change once and it will reflect in all the web pages.
Difference Between Static and Dynamic Websites:
Static Website |
Dynamic Website |
Content of Web pages can not be change at runtime |
Content of web pages can be changed at rumtime. |
No interaction with databas possible |
Interaction with database is possible |
It is faster to load as compared to dynamic website. |
It is slower than static website. |
Cheaper development costs. |
More fevelopment cost. |
No feature of content management. |
Feature of content management system. |
HTML, CSS javascript is used for developing website. |
Server side lanauges such as PHP, Node.js are used. |
Same content is delivered everytime the page is loaded |
Content may change everytime the page is loaded. |
php full form
The Full form of PHP is Hypertext
Preprocessor and earlier it was abbreviated as Personal Home Page. It is a
general-purpose programming language used to design a website or web
application. It is the server-side scripting language embedded with HTML to develop
Static website, Dynamic website, or Web applications. It was created by
Rasmus Lerdorf in 1994. The syntax of PHP is similar to C, C++, and Java.
The name PHP is actually a recursive acronym,
which means the first letter of the acronym refers to the acronym itself.
Here's how it works for PHP:
P: Stands for PHP (the acronym itself: PHP:
Hypertext Preprocessor)
H: Stands for Hypertext
P: Stands for Preprocessor
what is data, information, databse?
Data
is information that is collected, observed, or measured, often in raw form, to
represent facts, figures, or concepts. It serves as the foundation for
analysis, decision-making, and knowledge generation. Data can take various
forms, such as numbers, text, images, or signals, and it is typically organized
to provide meaning, enabling insights and actions when processed or
interpreted.
Information is processed, organized, or structured data that has been given
context and meaning, making it useful for understanding, decision-making, and
problem-solving. Unlike raw data, information provides clarity and relevance by
answering questions such as "who," "what,"
"where," and "when." For example, while data could be a
list of numbers like 90, 85, and 78, information might reveal that these
numbers are students' test scores, which helps interpret their academic
performance.
A database is an organized collection
of data that is stored electronically and managed systematically to allow easy
access, retrieval, updating, and manipulation. It provides a structured way to
store information, making it accessible and usable for various applications.
Databases are often managed by software called a Database Management System
(DBMS), which ensures data integrity, security, and efficient querying.
Examples of databases include customer records in a business, a library's
catalog, or an online platform's user information.