Fundamentals of Internet
Fundamentals of Internet
WWW can be defined as the collection of different websites around the world, containing different
information shared via local servers (or computers).
A broader definition comes from the organization that Web inventor Tim Berners-Lee helped found,
the World Wide Web Consortium (W3C).
The World Wide Web is the universe of network-accessible information, an embodiment of human
knowledge.
In simple terms, The World Wide Web is a way of exchanging information between computers on
the Internet, tying them together into a vast collection of interactive multimedia resources.
Internet and Web is not the same thing: Web uses internet to pass over the information.
History:
It is a project created, by Timothy Berner Lee in 1989, for researchers to work together effectively at
CERN. is an organization, named the World Wide Web Consortium (W3C), which was developed for
further development of the web. This organization is directed by Tim Berner’s Lee, aka the father of
the web.
System Architecture:
From the user’s point of view, the web consists of a vast, worldwide connection of documents or
web pages. Each page may contain links to other pages anywhere in the world. The pages can be
retrieved and viewed by using browsers of which internet explorer, Netscape Navigator, Google
Chrome, etc are the popular ones. The browser fetches the page requested interprets the text and
formatting commands on it, and displays the page, properly formatted, on the screen.
The basic model of how the web works are shown in the figure below. Here the browser is displaying
a web page on the client machine. When the user clicks on a line of text that is linked to a page on
the abd.com server, the browser follows the hyperlink by sending a message to the abd.com server
asking it for the page.
Here the browser displays a web page on the client machine when the user clicks on a line of text
that is linked to a page on abd.com, the browser follows the hyperlink by sending a message to the
abd.com server asking for the page.
Features of WWW:
• HyperText Information System
• Cross-Platform
• Distributed
• Open Standards and Open Source
• Uses Web Browsers to provide a single interface for many services
• Dynamic, Interactive and Evolving.
BCA 107 Web Technogies
• “Web 2.0”
Uniform Resource Locator (URL): serves as a system for resources on the web.
Hyper Text Markup Language (HTML): defines the structure, organisation and content of a
webpage.
Evolution
World Wide Web was created by Timothy Berners Lee in 1989 at CERN in Geneva. World Wide Web
came into existence as a proposal by him, to allow researchers to work together effectively and
efficiently at CERN. Eventually it became World Wide Web.
WWW Operation
WWW works on client- server approach. Following steps explains how the web works:
BCA 107 Web Technogies
User enters the URL (say, http://www.tutorialspoint.com) of the web page in the address bar of web
browser.
Then browser requests the Domain Name Server for the IP address corresponding to
www.tutorialspoint.com.
After receiving IP address, browser sends the request for web page to the web server using HTTP
protocol which specifies the way the browser and web server communicates.
Then web server receives request using HTTP protocol and checks its search for the requested web
page. If found it returns it back to the web browser and close the HTTP connection.
Now the web browser receives the web page, It interprets it and display the contents of web page in
web browser’s window.
Webpage
A webpage is a document written in HTML and can be viewed on any web browser. It is contained
within the web server, which can be accessed by entering the URL for that web page, and once it is
loaded, it appears on the user's web browser. Each webpage is linked with a unique URL; hence two
pages cannot have the same URL.
A webpage may contain text, links for other pages, graphics, videos, etc. Moreover, it is mainly used
to provide information to the user in text, images, etc.
A webpage is a part of a website; it means a website contains different web pages. Such
as javaTpoint.com is a website, and the page currently you are accessing is the webpage. It can be
understood as an example of a book. So, a Website is like a complete book, and a webpage is like a
page of that book.
The WWW or Internet contains millions of web pages, and daily, a lot is being added. Tim Berners-
Lee developed the first webpage.
A web page and a website should be compatible with any device, such as Mobile, Desktop, Laptop,
etc.
BCA 107 Web Technogies
The search engine provides a web page through a link, and when a user clicks on that link, it is
redirected to the webpage of a website.
A webpage can have any type of information including videos, and audios.
It can be made up of only HTML (Hypertext Markup Language), or CSS, or JavaScript for dynamic and
attractive behavior.
Components of a Webpage :
• Components of a webpage, Content wise
• Components of a webpage, Structure Wise
Content Wise :
Content wise the components of a webpage are : Hypertext and Hyperlinks
Hypertext :
It refers to a digital text, which is more than just text as it can include information in various media
formats such as :
• text
• color
• graphic
• animation
• video
• sound
• hyperlinks
Hyperlinks :
It refers to a link from a hypertext file to another such file. A hyperlink can be in the form of a
graphic or text, upon clicking where the linked document opens up.
Structure Wise :
Structure wise the components of a web page are :
Page Title –
This is a single line text which is displayed on the title bar of the browser displaying web page.
Header –
This is generally a one or two line text (sometimes a graphics/image) defining the purpose of the
web page. It is displayed at the top of the web page, below the address bar of the browser.
Navigational Links –
These are the hyperlinks placed on the web page using which you can move the linked web
pages/documents.
Footer –
This is the bottom section of the web page. This is the section where usually the copyright notice,
website contact information etc. is put.
BCA 107 Web Technogies
1. Static Webpage
2. Dynamic Webpage
Static Webpage
Static webpages are those webpages that cannot be modified or altered by the client. These are also
known as stationary or flat web pages. They are displayed on the client's browser in the same format
and manner as they are saved in the webserver. Users can only load the page and read the
information but cannot perform any change on the page.
Dynamic Webpage
As the name suggests, Dynamic webpages are dynamic, which means it shows different information
at different point of time.
The dynamic webpage shows different content each time it is viewed. There are two types of
Dynamic web pages, which are:
Server-Side Dynamic Webpage: These web pages are created using Server-side scripting. These
pages are changed when they are visited or viewed. Some examples of server-side pages are login
pages, submission forms, shopping carts, etc. Various scripting languages such as PHP, ASP.Net, JSP,
etc., can be used for server-side scripting.
Client-side Dynamic Webpage: These web pages are created using Client-side scripting. These pages
get changed in response to actions that occur within that page, such as mouse or keyboard action.
Scripting languages such as JavaScript, Dart, etc., can be used for client-Side scripting.
Website
A website is a collection of many web pages, and web pages are digital files that are written using
HTML (HyperText Markup Language). To make your website available to every person in the world, it
must be stored or hosted on a computer connected to the Internet. Such computers are known as
a Web Server.
The website can be published on at least one web server and can be identified by a common domain
name, for example - javatpoint.com, google.com, youtube.com.
BCA 107 Web Technogies
Domain name: A domain name is a string of text that maps to an alphanumeric IP address, used to
access a website from client software. In plain English, a domain name is the text that a user types
into a browser window to reach a particular website. For instance, the domain name for Google is
‘google.com’.
The website’s web pages are linked with hyperlinks and hypertext and share a common interface
and design. The website might also contain some additional documents and files such as images,
videos, or other digital assets.
Components of a Website:
We know that a website is a collection of a webpages hosted on a web-server. These are the
components for making a website.
• Webhost:
Hosting is the location where the website is physically located. Group of webpages (linked
webpages) licensed to be called a website only when the webpage is hosted on the
webserver. The webserver is a set of files transmitted to user computers when they specify
the website’s address..
• Address:
Address of a website also knows as the URL of a website. When a user wants to open a
website then they need to put the address or URL of the website into the web browser, and
the asked website is delivered by the webserver.
• Homepage :
Home page is a very common and important part of a webpage. It is the first webpage that
appears when a visitor visits the website. The home page of a website is very important as it
sets the look and feel of the website and directs viewers to the rest of the pages on the
website.
• Design :
It is the final and overall look and feel of the website that has a result of proper use and
integration elements like navigation menus, graphics, layout, navigation menus etc.
• Content :
Every web pages contained on the website together make up the content of the website.
Good content on the webpages makes the website more effective and attractive.
Types of Website:
1. Static Website
2. Dynamic Website
BCA 107 Web Technogies
Static Websites
Static websites contain fixed number of pages and format of web page is fixed which delivers
information to the client. There are 110 changes in contents of web page while page is running on
client's browser. This kind of web sites created from HTML and CSS coding on simple text editor like
notepad. Example an organization site, institute site etc.
Static Website pages display the exact same information whenever anyone visits it. Static Website
pages do not have to be simple plain text. They can feature detailed multimedia design and even
videos. However, every visitor to that page will be greeted by the exact same text, multimedia
design or video every time he visits the page until you alter that page's source code.
Dynamic Website pages are capable of producing different content for different visitors from the
same source code file. The website can display different content based on what operating system or
browser the visitor is using, whether she is using a PC or a mobile device, or even the source that
referred the visitor. A dynamic Website page is not necessarily better than a static Website page.
The two simply serve different purposes.
Content of Web pages can not be change at Content of Web pages can be changed.
runtime.
HTML, CSS, Javascript is used for developing the Server side languages such as PHP, Node.js
website. are used.
Same content is delivered everytime the page is Content may change everytime the page is
loaded. loaded.
There are different types of websites on the whole internet, we had chosen some most common
categories to give you a brief idea –
BCA 107 Web Technogies
• Blogs: These types of websites are managed by an individual or a small group of persons,
they can cover any topics — they can give you fashion tips, music tips, travel tips, fitness
tips. Nowadays professional blogging has become an external popular way of earning money
online.
• E-commerce: These websites are well known as online shops. These websites allow us to
make purchasing products and online payments for products and services. Stores can be
handled as standalone websites.
• Portfolio: These types of websites acts as an extension of a freelancer resume. It provides a
convenient way for potential clients to view your work while also allowing you to expand on
your skills or services.
• Brochure: These types of websites are mainly used by small businesses, these types of
websites act as a digital business card, and used to display contact information, and to
advertise services, with just a few pages.
• News and Magazines: These websites needs less explanation, the main purpose of these
types of websites is to keep their readers up-to-date from current affairs whereas magazines
focus on the entertainment.
• Social Media: We all know about some famous social media websites like Facebook, Twitter,
Reddit, and many more. These websites are usually created to let people share their
thoughts, images, videos, and other useful components.
• Educational: Educational websites are quite simple to understand as their name itself
explains it. These websites are designed to display information via audio or videos or images.
• Portal: These types of websites are used for internal purposes within the school, institute, or
any business, These websites often contain a login process allowing students to access their
credential information or allows employees to access their emails and alerts.
• The client server computing works with a system of request and response. The client sends a
request to the server and the server responds with the desired information.
• The client and server should follow a common communication protocol so they can easily
interact with each other. All the communication protocols are available at the application
layer.
• A server can only accommodate a limited number of client requests at a time. So it uses a
system based to priority to respond to the requests.
• Denial of Service attacks hindera servers ability to respond to authentic client requests by
inundating it with false requests.
• An example of a client server computing system is a web server. It returns the web pages to
the clients that requested them.
• In client server computing, a server is a central node that services many client nodes. On the
other hand, in a peer to peer system, the nodes collectively use their resources and
communicate with each other.
• In client server computing the server is the one that communicates with the other nodes. In
peer to peer to computing, all the nodes are equal and share data with each other directly.
• All the required data is concentrated in a single place i.e. the server. So it is easy to protect
the data and provide authorisation and authentication.
• The server need not be located physically close to the clients. Yet the data can be accessed
efficiently.
• It is easy to replace, upgrade or relocate the nodes in the client server model because all the
nodes are independent and request data only from the server.
• All the nodes i.e clients and server may not be build on similar platforms yet they can easily
facilitate the transfer of data.
• If all the clients simultaneously request data from the server, it may get overloaded. This
may lead to congestion in the network.
BCA 107 Web Technogies
• If the server fails for any reason, then none of the requests of the clients can be fulfilled. This
leads of failure of the client server network.
• The cost of setting and maintaining a client server model are quite high.
Advantages Disadvantages
The centralized network has complete If the primary server goes down, the
leverage to control the processes and entire architecture is disrupted.
activities.
All devices in the network can be controlled It is expensive to operate because of the
centrally. cost of heavy hardware and software
tools.
Users have the authority to access any file, This architecture requires particular OSs
residing in the central storage, at any time. related to networking.
It provides a good user interface, easy file Too many users at once can cause the
finding procedure, and management system problem of traffic congestion.
for organizing files.
Easy sharing of resources across various It requires highly technical stuff, such as
platforms is possible. server machines, for maintenance of the
network.
Microsoft MySQL Server is a popular example of a three-tier architecture, consisting of three major
components: a protocol layer, a relational engine, and a storage engine. Any client machines that
connect directly to SQL Server must have a SQL Server client installed. Microsoft’s Client-Server
Runtime Process helps manage the majority of the graphical instruction sets on Windows operating
system.
It has specific clients and servers. There is no differentiation between clients and servers.
It has centralized data management. It has its own data and applications.
The purpose is to share information. Its main goal is to maintain connection among peers.
Data is provided only in response to In this network, peers have the authority to request as well
a request. as provide a service.
It is suitable for small as well as It is suitable for less users, less than 10 devices.
large networks.
Web Client:
A Web client is an application installed on the user’s device that they can use to surf the internet.
Web clients request computer servers for a webpage but don’t store them.
Without these clients, an ordinary user can’t use the internet. When you search for a particular
webpage through your browser, it retrieves the page from the appropriate server and displays the
result. The client and server communicate via HTTP (Hypertext Transfer Protocol).
Some popular examples of web clients include Google Chrome, Microsoft Edge, Safari, Tor, etc. So all
types of internet browsers are client software. However, there’re other types of clients that many
people use for everyday tasks. Video calling solutions like Zoom or Jitsi are one example of such
clients. And so are SSH clients such as PuTTY or WinSCP. They allow users to connect to a different
machine over the web.
Web Server:
A Web Servers are systems that are connected to the internet and store web pages. In addition it
sends out requested data over the web using HTTP. In nutshell, like Apache– the Web Servers are
just like libraries for web pages. They store, process and deliver the web resources to the client
software.
Servers can also use other data transfer protocols such as SMTP and FTP. Mail servers use SMTP for
transferring emails from one user to another. Additionally FTP server is used for high speed file
transfer operations.
There are different types of server software for delivering web content to end users. Some popular
web servers include Apache, Microsoft IIS(Internet Information Services), lighttpd, and Nginx.
Client-side development (front end) of programs run on the client’s or user’s device. Client-side
developers work on the parts of a website with which the user can interact. Front-end development
aims to produce visually appealing websites that are visually appealing and catch the interest of
consumers.
Web designers, UI/UX designers, and full-stack developers are typically in charge of creating
interactive and user-friendly client-side designs.
Developers on the client-side are often fluent in the following programming languages.
BCA 107 Web Technogies
• HTML – Hypertext Markup Language, or HTML, is a markup language that is the de facto
standard for creating websites. HTML creates the framework of a website and renders it in a
browser.
• CSS – Developers can add visual design components to an HTML-coded website using CSS,
often called Cascading Style Sheets. To make their websites appear visually appealing on
customers’ devices, developers can employ CSS.
• JavaScript – JavaScript is a scripting language that programmers can use for various tasks,
including creating websites and web apps. Developers can use JavaScript to create dynamic,
interactive web pages.
There are various features of client-side scripting. Some main features of the client-side scripting are
as follows:
• It is intended to execute code on which a web browser runs, and the results of the inputs are
delivered to an accessible user.
• Client-side scripting enables greater involvement with clients via the browser and is used to
validate programs and functionality based on the request.
• The client does not include any contact with the server in client-side scripting; the only
interaction is receiving the requested data.
• It is built to perform code on which a web browser runs and accessible user gets the result of
the inputs.
• Client In client-side scripting, it does not include any interaction with the server, the ony
interaction done is receiving the data which was requested.
• Allows more interactivity with the clients using the browser and used to validate program
and functionality according to the request.
Server-side development refers to the programming that takes place on a server. This refers to
databases and other programs that impact the performance and speed of websites. Because web
browsers, or clients, communicate with web servers to retrieve information, server-side
programming is critical.
Server-side developers are responsible for a range of duties, including the following:
Normally, server-side developers must be skilled in several languages. Server-side developers are
often proficient in the following languages.
• Java – Java is an object-oriented programming language that programmers can use for
several tasks, such as creating software and applications. One of the most widely used
server-side programming languages is Java.
• SQL – SQL (Structured Query Language) is the industry-standard language for interfacing
with databases. Developers can use SQL to manipulate data in databases, such as changing,
retrieving, and removing data.
There are various features of server-side scripting. Some main features of the server-side scripting
are as follows:
• It is connected with data access, error handling, and data processing speed.
• It is processed and interacts with the server.
• Using a highly integrated programming language makes it more secure than client-side
scripting.
• Provides every request which is being asked by the client and responds accordingly.
• Secure than the client-side scripting by using a highly integrated programming language
• Server-side scripting is associated with accessing data, error handling, and the fastest
processing of the data.
• It is processed and communicates with the server.
Uses The client-side is used as the front The server-side is used as a back-end
end, where the user gets to see what where data is processed and is not
we have browsed. visible to the client user.
Code On the client side, the user is allowed Server-side scripting allows the back-
allowance to access the code written after end developer to hide the source code
verifying the user’s need. from the user.
BCA 107 Web Technogies
Processing The client-side does not need any Server-side scripting on the other hand
interaction with the server. is all about communicating with the
servers.
Function Used for the visibility and getting out Used for the customization or
the required data from servers modification of the data to change the
database website dynamically.
Dependability Client-side scripting depends upon Serve-side does not depend on the
the user’s browser version. client.
Connectivity The client-side does not connect to The server-side helps connect with the
the database at the webserver. database, which is already stored in the
server database.
File Access It does have any access to the files It has total access to the files which are
present in the web servers. But we stored in the web database server.
have an option to upload files from
the front end
Occurrence It occurs when the browser process It only acts after the client initiates the
all the codes, and then it reacts browsing request.
according to the client’s query.
Languages HTML, JavaScript, CSS are used to PHP, Python, Ruby, nodejs are some of
display the request the programming languages used at
server-side