Module-1
Module-1
• A web application is an interactive software application that runs on a web server and is
accessed through web browsers.
• It is created using a combination of server-side and client-side programming, resulting in
a dynamic and responsive user experience.
Example:
•Email services: Gmail, Yahoo Mail, Outlook.com
•Social media platforms: Facebook, Twitter, Instagram, LinkedIn.
•Online collaboration tools: Google Workspace (Docs, Sheets, Slides)
Protocol
• TCP/IP
• HTTP
• FTP
• SMTP
Secure Connection
Secure connection is a connection that uses encryption protocols to protect the
transferred data. A secure connection protects data from unauthorized users,
identifies and authenticates the recipient of the data, and ensures the data has
not been tampered with.
Method of Connection:
What is a Web Browser?
• The web browser is an application software to explore www (World Wide Web).
• It provides an interface between the server and the client and it requests to the server
for web documents and services.
• It works as a compiler to render HTML used to design a webpage. Whenever we search
for anything online, the browser loads a web page written in HTML, including text,
links, images, and other items such as style sheets and JavaScript functions.
• Examples:
Google Chrome, Microsoft Edge, Mozilla Firefox, and Safari
Features of Web Browser
1. Refresh button: Refresh button allows the website to reload the contents of
the web pages. Sometimes, it stops you from seeing the updated information;
in this case, by clicking on the refresh button, you can see the updated
information.
2. Stop button: It is used to cancel the communication of the web browser with
the server and stop loading the page content.
3. Home button: It provides users the option to bring up the predefined home
page of the website.
4. Web address bar: It allows the users to enter a web address in the address
bar and visit the website.
5. Bookmarks: It allows the users to select particular website to save it for the later
What is Server
Web Servers: The internet is based on web servers that respond to requests
from clients such as web browsers.
Application Servers:
•A Server that provides services to applications such as a mobile app.
•Includes both hardware and software that provide an environment for
programs to run.
Used for:
• Running web application.
• Hosting a hypervisor that manages virtual machines(VMs)
• Distributing and monitoring software updates.
• Processing data sent from another server.
Why use Application Server?
• Provides processing power and memory to run demanding applications
• Also provides the environment to run specific applications
API - Application Programming Interface
Examples:
• Microsoft SQL
• MySQL
• MongoDB
• SQLite
Application and Development Tools
• An Internet Protocol (IP) address is the unique identifying number assigned to every device
connected to the internet.
• An IP address definition is a numeric label assigned to devices that use the internet to
communicate.
Public IP address
•A public IP address, or external-facing IP address, applies to the main device people use to connect
their business or home internet network to their internet service provider (ISP).
•All devices that connect to a router communicate with other IP addresses using the router’s IP
address.
Private IP address
• A private IP address, or internal-facing IP address, is assigned by an office or home intranet
(or local area network) to devices, or by the internet service provider (ISP).
• The home/office router manages the private IP addresses to the devices that connect to it from
within that local network.
• Network devices are thus mapped from their private IP addresses to public IP addresses by the
router.
Static IP address
• A dynamic IP address is a unique identifier that an internet service provider (ISP) temporarily
assigns to a device when it connects to the network.
• Dynamic IP addresses change over time and can be assigned using the Dynamic Host
Configuration Protocol (DHCP).
• For example, an IP address can change when a user reboots their router or system, or when they
connect to their ISP.
• When a dynamic IP address is not in use, it can be automatically assigned to another device.
If your IP address is 1.1.1.1 on your home Wi-Fi network, it might change to 1.1.1.2 after 36 hours or
when you disconnect and reconnect
IP Address Classes
Some IP addresses are reserved by the Internet Assigned Numbers Authority (IANA). These are typically reserved for
networks that carry a specific purpose on the Transmission Control Protocol/Internet Protocol (TCP/IP), which is
used to interconnect devices. Four of these IP address classes include:
1.0.0.0.0: This IP address in IPv4 is also known as the default network. It is the non-routeable meta address that
designates an invalid, non-applicable, or unknown network target.
2.127.0.0.1: This IP address is known as the loopback address, which a computer uses to identify itself regardless of
whether it has been assigned an IP address.
3.169.254.0.1 to 169.254.254.254: A range of addresses that are automatically assigned if a computer is unsuccessful in
an attempt to receive an address from the DHCP.
4.255.255.255.255: An address dedicated to messages that need to be sent to every computer on a network or
broadcasted across a network.
Web Design
1. TEXT – font family and type must be chosen well, clear and in readable size.
2. GRAPHICS - must be with good quality and well arranged with the text and other elements.
Infographics may be used.
3. SHAPES – can be used to denote an enclosed boundary in the overall design. Any kind of shapes
like geometric or abstract shapes that will fit the user’s design can be placed.
4. BACKGROUND – can help provide your website with a feeling of a surface underneath. This
element must be used to bring out the content given on the website to make it look more
appealing.
5. COLOR – must blend well and complement the elements on the page. Use vibrant and bold
colors that will attract but not too distracting.
6. VIDEO/AUDIO – will help viewers easily understand what you teaching or selling.
7. LINKS – will allow users to connect another site or page that is related to the content of your
page or site.
• A good web design must contain elements that are not only appealing but should be functional,
responsive, and useful.
• To create a usable and effective website, follow the basic principles of an effective web design.
1. PORTABLE DESIGN – must be portable and accessible by users who have different browsers,
operating systems, and computer platforms; test compatibility.
2. DESIGN FOR LOW BANDWIDTH – website design must be accessible at a variety of speeds.
Avoid large graphics or animations as the users may leave the site if downloading is slow.
3. DIRECTION – identify the order of importance of the various elements and place them in a
sequence where the eye moves and perceives the things it sees. There should be a consistent layout
and structure.
4. ACCESSIBILITY – when a visitor enters the website, we must be able to easily access the
information. This means that the text must be readable, the colors must create visual harmony and
balance, and images should be high quality.
5. WHITE SPACES – use white space deliberately in your design as a breathing space. May also
be used to show division of contents.
6. SIMPLIFY – the more options you place in your site, the more difficult it is for a visitor to make
a decision and more time is required to browse through them. Remove distracting options and
clutter.
7. CONVENIENCE – to allow a visitor to make an action, click buttons should be convenience.
The larger the Share or Order button, the more easily and quickly for the customer to click them.
8. REGULAR TESTING – the website should be regularly upgraded, updated, and tested so that
problems will be quickly resolved. This includes the links and the loading of images and other
elements in the page. Visitors will not hold on or proceed if they encounter problems in loading or
viewing.
Types of Web design
The following are the types of Web Design:
•Static Website: This type of design is used when little or no interaction is required from the user.
•Dynamic Website: When user interaction is required and information is to be displayed according to
the request then a dynamic design pattern is followed.
•E-commerce Website: This type of website design is required when a business wants to sell their
products to the consumer.
•Flat Design: Minimalist approach characterized by clean, simple elements, vibrant colors, and
absence of gradients.
PLANNING THE SITE
•Creating a website plan helps you organize your project, collect the assets you need, and start with
an outline of your goals and a clear strategy for achieving them.
The purpose of your website is the reason why you want to build it. It’s the somewhat obvious
reason for what you think a website can do for you. You might think the purpose is to:
• Attract traffic and grow an audience
• Showcase your products
• Share what you know
• Advertise your business
• Entertain your readers
Identify your target audience
Once you know what you want users to do on your site, you need to figure out who those users
are.
1. It identifies your website’s target audience when planning your website.
2. Only then can you create strategic plans to get website visitors to take action.
• Images
• Videos
• Text blocks
• Titles
• Galleries
• Forms
• Slideshows
• Buttons
Create and collect design elements
These design elements define your brand personality and help customers feel what your brand
represents through the use of:
• Colors
• Fonts
• Logos
• Images and photos
Create content for your core website pages
Home page
About page
Product/service page
Contact page
Types of Navigation Most navigation types fall into three primary categories
Structural
• Connects one page to another page based on the hierarchy of the site; on any page you should expect
to be able to move to the page above it and pages. It connects one page to another based on the site's
hierarchy; on any page, below it.
Associative
• Connects pages with similar topics and content, regardless of their location in the site; links tend to
cross structural boundaries.
Utility
• Connects pages and features that help people use the site itself; these may lie outside the main
hierarchy of the site, and their only relationship to one another is their function.
STRUCTURAL NAVIGATION
•As its name implies, structural navigation follows the structure of a web site. It allows people to
move up and down the different points of a site's.
•Structural navigation can be further subdivided into two types: main navigation and local
navigation.
Main Navigation
•The main navigation generally represents the top-level pages of a site's structure—or the pages just
below the home page.
•The links in the main navigation are expected to lead to pages within the site and behave in a very
consistent way.
LOCAL NAVIGATION
•Local navigation is used to access lower levels in a structure, below the main navigation pages.
•The term "local" implies "within a given category."
•On a given page, local navigation generally shows other options at the same level of a hierarchy, as
well as the options below the current page.
CONTEXTUAL NAVIGATION
•Generally, contextual navigation is placed close to the content of a page.
•This creates a strong connection between the meaning of a text and the linked related pages.
•There are two typical arrangements of contextual navigation on the page
Embedded navigation
• Contextual navigation may be embedded within the text itself. As a result, contextual
navigation is often represented as plain text links.
Related links
• Contextual navigation may appear at the end or to the side of content.
Linux web servers
What is Web Server
• A Web server is a computer system that processes requests via HTTP, the basic network
protocol used to distribute information on the World Wide Web.
• A web servers main purpose is to store web site files and broadcast them over the internet
for you site visitors to see.
• Thus, the main purpose of a web server is to store and transfer web site data upon the
request of a visitors browser. Update All package
Apache Status
•At fast, we should check the current status of
apache.
•So, we can type the following command to
show the current apache status.
Apache Current Status check
•Here, we can see the current or running status of apache using this sudo service apache2 status.
•Here, the status of apache is inactive or dead
Apache Start
•For the purpose of running our apache server, at first we should start the apache server.
•So, this command is works for start the apache server.
Current localhost Check
•Now, we can see our current localhost default page using the using the apache server by any web
browser. And this is work successfully.
Localhost check using Enthernet IP
•Now, we can see our current localhost default page using our Ethernet IP by any web browser.
•Here we are using the Mozilla firefox web browser. And it works successfully
Go to Root User
•In this section, we need the root user for accessing the /var/www/location. So, in this following
command is used to access the root user. Then created a new file.
• After accessing the root user we need to edit and
write the file which is previously created. This
following command uses for this particular
function.
• And after the accessing of this particular file, we
are designed a html web page which name is
my.html.
• Here, we can see that our required
my.html file is accessing successfully.
And it works successfully.
• This page shows us our previously
created html texts.