Web Design
Web Design
Just imagine a life of a person in modern world. How do they do their work that
much fast? How do they manage to save their time? Well answer would be the
Internet. Now all most everything can do very easily using the Internet. People
can do online banking, bill payment, buy products, sell products, communication,
can get any information etc. In your lifetime you may also have used the Internet
at least once. Have you ever thought about how it works? How it provides such
vast information within a second? In this lesson you will learn how it works.
Mainly this lesson gives you an introduction to web and web architecture,
different application areas, operation modes, communication concepts,
information organization and fundamental building blocks of web-based system
design.
Learning Outcomes:
After completion of this lesson, the learner will be able to describe diverse types
of web-based systems and their operations.
This lesson enables you to
▪ Describe application areas of web - based systems
▪ Categorize the types of web sites
▪ Describe website components
▪ Describe the process of web communication
▪ Describe basic web design tools
▪ Structure and Organize information to build web sites
Lesson outline
▪ What is the Internet and World Wide Web (WWW)?
▪ Internet and Web as a communication media
▪ Asserts of web communication
▪ Website types and their operational modes
▪ Information gathering, structuring and organization of content
▪ Aesthesis of web and design concepts with colors
▪ Application Technologies in web
▪ Web design tools and IDE’s
1.1 What is the Internet?
Internet is the global network that defines how the hardware can be connected
or it can be seen as a medium for collaboration and interaction between
individuals and their computers regardless geographic location. That includes
everything from the cables that carry terabits of data/information every second
to inter connected computers. Examples of devices on the Internet are PCs,
laptops, routers, servers, cellular phone towers, satellites, radios, smartphones
and many more. All these devices together create the network of networks.
All this hardware wouldn't work without the second component of the Internet:
the protocols. Protocols are sets of rules that machines (devices) follow to
complete tasks. There are several protocols on the Internet. For example,
hypertext transfer protocol is a protocol uses to view websites through a browser:
that's what the http at the front of any Web address stands for.
The Internet was conceived by the Advanced Research Projects Agency (ARPA) of
the U.S. government in 1969 and their future-oriented funder of ‘high-risk, high-
gain’ research, lays the groundwork for what becomes the ARPANET and, much
later, the Internet.
Since its beginning in 1969, the Internet has grown from four host computer
systems to tens of millions. However, just because nobody owns the Internet, it
doesn't mean it is not monitored and maintained in diverse ways. The Internet
Society, a non-profit group established in 1992, oversees the formation of the
policies and protocols that define how we use and interact with the Internet.
Follow the link History of the Internet to watch the Internet history.
1.2 What is the WWW?
The World Wide Web(WWW) is an Internet based hypertext project that allowed
global information sharing. It is a collection of interlinked multimedia documents
that stored in the Internet. A protocol (HTTP) is used to access the documents.
Also, it is a one way of sharing information via Internet. The WWW is based on
two concepts:
▪ Hypertext
▪ Web browser
1.2.1 Hypertext
Now you might have a problem. What is a search engine? And what is the
difference between web browser and the search engine?
Well you can get a very clear idea from below example.
If you are sitting in your car, the browser would be your windshield and the
steering wheel would be the search engine. Which means you basically use
a Browser to access information on the Internet while you use a Search
Engine to point you in the right direction of a website that relates to the
words you would like to search.
Activity 1.1
Structural Components
• Clients/browsers – to access and operate on network
• Servers – run on sophisticated hardware and keep shared resources
• Internet – the global infrastructure which facilitates data transfer
Syntactic Components
• Hyper Text Transfer Protocol (HTTP)
• Hyper Text Markup Language (HTML)
o eXtensible Markup Language (XML)
• Uniform Resource Identifiers (URIs)
1.3.3.1 Definitions
Client
A client is the requesting program in a client/server relationship, e. g, the user of a
Web browser is effectively making client requests for pages from servers all over
the Web.
Server
In general, a server is a computer program that provides services to other
computer programs in the same or other computers.
HTML
HTML stands for Hyper Text Markup Language (HTML). It describes the structure
of Web pages using markups. HTML elements are the building blocks of web
pages and HTML elements are represented by < > tags.
Browsers do not display the HTML tags, but render them and produce output
display according to the content of the page.
HTTP
HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text,
graphic images, sound, video, and other multimedia files) on the World Wide
Web.
URI
A URI (Uniform Resource Identifier) is a sequence of characters that identifies a
logical or physical resource.
Web Page
A mixture of text, graphics, sound and animation in the HTML format, to make
information accessible in a easy to understand format using the Internet.
Website
A collection of web pages (Structurally organized) connected (linked) by Hypertext
(or Hypermedia) clickable links.
Website Storage/Hosting
After a web site is designed, it must be stored on a computer (server) that can be
accessed through the Internet, this process called as web hosting.
• 1. Client
– Makes an HTTP request for a web page
– Makes a TCP/IP connection
• 2. Server accepts request
– Sends page as HTTP
• 3. Client downloads page
• 4. Server breaks the connection
2. Makes HTTP request
Y
1. Client
download 3. Makes TCP connection
the page
4. Accepts request and sends page
Important
▪ HTTP makes use of TCP to open connections between clients and servers
and to pass the requests and responses between them.
▪ HTTP is a stateless protocol, meaning each request for data is dealt with in
isolation; once the server sends the response, it forgets everything about
the original request.
When two or more computers communicate, they must have a common way in
which to communicate. That common way is known as protocols. Protocols are
sets of rules that machines follow to complete tasks. Without a common set of
protocols communication between devices couldn't happen. The various
machines would be unable to understand one another or even send information
in a meaningful way. The protocols provide both the method and a common
language for machines to use to transmit data. Transfer Control
Protocol(TCP)/Internet Protocol(IP) is the underlying protocol for the Internet.
1.3.5.1 How TCP/IP works
Transfer Control Protocol (TCP) breaks data into small pieces of packets. So,
Internet data transfer takes place through packets. For example, every Web page
that receives comes as a series of packets, and every e-mail send leaves as a
series of packets. Each packet carries the information of sender's IP address, the
intended receiver's IP address, something that tells the network, how many
packets that entire message has been broken into and the number of the given
packet. The packets carry the data according to the Transmission Control
Protocol/Internet Protocol (TCP/IP). A typical packet contains about 1,000 or
1,500 bytes.
Each packet travels to its destination by using best possible route through routers.
Once a packet reaches destination, TCP checks the data for corruption against the
header included in each packet, ensuring the delivery of the entire message. If
TCP finds any mismatch with packets, it sends a request that the packet to be
resent.
1.3.6 IP addresses
There are two versions of IP addresses: IP Version 4 (IPv4) and IP Version 6 (IPv6).
All Internet devices with IP addresses have an IPv4 address, and some are starting
to use the novel IPv6 address system.
▪ IPv4 uses 32 binary bits to create a single unique address on the network. An
IPv4 address is expressed by four numbers separated by dots. Each number is
the decimal (base-10 0-255) representation for an eight-digit binary (base-2)
number, also called an octet. For example: 192.248.12.9
▪ IPv6 uses 128 binary bits to create a single unique address on a network. An
IPv6 address is expressed by eight groups of hexadecimal (base-16) numbers
separated by colons, as in 2001:cdba:0000:0000:0000:0000:3257:9652. Groups
of numbers that contain all zeros are often omitted to save space, leaving a
colon separator to mark the gap (as in 2001:cdba::3257:9652).
Anatomy of URL
▪ Describes components of a URL as shown in the following figure.
https://www.icann.org/resources/pages/welcome-2012-02-25-en
Domain name
Figure 1.3.7 Anatomy of URL
Activity 1.3.7
▪ The DNS tree has a single domain at the top of the structure called the root
domain. A period or dot (.) is the designation for the root domain.
▪ Root domain is divided into top-level domains.
▪ Top-level domains, the domain name space is further divided into sub
domains representing individual organizations.
For further information click here.
Let’s figure out what assets will be included on web pages. Assets include all types
of content, such as words, videos, images, audio, and more.
For example, assume a page about your company website, it needs written
description of company. This might involve a mission statement, a company
history, and some information about employees. This will be a part of the content
asset library that include in to the site.
There are static and dynamic websites operates around globally, let’s see how
they're different. Websites that only use HTML and CSS are called static websites,
and websites with dynamic scripting are called dynamic websites. Content may
change according to the context, inputs, and other various aspects.
A Static Website
A static website is the simplest kind of website which can build. Static websites
are written in HTML and CSS only, with no scripting. The only form of interactivity
on a static website is hyperlinks.
A Dynamic Website
A dynamic website is a website that not only uses HTML and CSS but includes
website scripting as well. An interactive web app that people can use, must use
website scripting. To create a dynamic web site, it needs to embed scripts written
by languages such as JavaScript, PHP, Perl or ASP.NET languages.
A website’s structure refers on how the website is organized, i.e. how the
individual subpages are linked to one another. Website needs to have a defined
structure, because without it, it’ll just a random collection of pages or blog posts.
The structure is very important to navigate around the site, to click from one page
to another. Google also uses the structure of sites to determine the importance or
relevance of content. Structuring of website is crucial for both usability and
search.
Sequences
More complex Web sites may still be organized as a logical sequence, but each
page in the main sequence may have links to one or more pages of digressions,
parenthetical information, or information on other Web sites:
Hierarchies
Information hierarchies are the best way to organize most complex bodies of
information. Because Web sites are usually organized around a single home page,
hierarchical schemes are particularly suited to Web site organization. Hierarchical
diagrams are very familiar in corporate and institutional life, so most users find
this structure easy to understand.
Webs or Networked
Design Analyze
Figure 1.7 Web design life cycle
In web design, colors influence the look and feel of any website such as clicking
links and interpret elements on a website. So as a web designer, it’s important to
understand how colors work and how to harness their power.
Colors may be specified as an RGB triplet in graphic programs and on the web
color triplets are often in hexadecimal format (a hex triplet) or according to their
common English names in some cases. A color tool or other graphics software is
often used to generate color values. In some uses, hexadecimal color codes are
specified with notation using a leading number sign (#). A color is specified
according to the intensity of its red, green and blue components, each
represented by eight bits. Digital color types can be represented as below. To find
more about colors click here.
Web Design and Applications involve the standards for building and rendering
Web pages, including HTML, CSS, SVG, device APIs, and other technologies for
Web Applications (“WebApps”). This section includes information about current
technologies that used to develop a web site.
Web designing largely focuses on 3 main technologies.
1. Client-side technology
2. Server-side technology
3. Database technology
In this course module we only consider about client-side technologies.
HTML
Hyper Text Markup Language (HTML) is the chief web pages
markup language used for creating structured documents using
lists, headings, links, paragraphs, images, etc. It adds interactive
value to pages. Using latest HTML versions, it enables us to create
high quality, rich and attractive web pages.
CSS
Cascading Style Sheets is a web language and it was developed by
World Wide Web Consortium (W3C). It is used to add formatting
and look of the web document by adding assorted colors, spacing,
fonts and so on. It is used to style different markup language
documents, prominent languages being the HTML and XHTML. 3
specifications of CSS have been approved by W3C namely CSS1, CSS2 and CSS3.
JScript
JAVA Script is a scripting language, enabling programmatic access to
the objects in the client's applications. Whereas HTML defines a
webpage's structure and content and CSS sets the formatting and
appearance. JavaScript adds interactivity to a webpage and creates
rich web applications. It maintains the compatibility and security of the pages at
the client's end.
There is much Web Design Software. Here we discus about few. These tools are
mainly towards people who’re just exploring options for web development.
Adobe Dreamweaver
Dreamweaver is a web development tool. It was first introduced by a company
called Macromedia, which was then acquired by Adobe. In
short, Dreamweaver provides with a nice environment to work
for website, which combines a code editor along with a live
view. Website design can be done in quick modifications. The
important thing about it is that it can build a complete website
with Dreamweaver from scratch. In this course module we
recommended to use this tool.
WordPress (FREE)