Unit 1 Part 1
Unit 1 Part 1
Web development
Web development refers to building website and deploying on the web. Web development
requires use of scripting languages both at the server end as well as at client end
Skills Required
For being a successful web developer, one should possess the following skills:
● Understanding of client and server side scripting.
● Creating, editing and modifying templates for a CMS or web development framework.
● Testing cross browser inconsistencies.
● Conducting observational user testing.
● Testing for compliance to specified standards such as accessibility standards inthe
client region.
● Programming interaction with javaScript, PHP, and Jquery etc.
Website publishing is the process of uploading content on the internet. It includes:
● uploading files
● updating web pages
● posting blogs
Prerequisites for Website Publishing
In order to publish your site, you need the following things:
● Web development software
● Internet Connection
● Web Server
Web development software
It is used for building web pages for your web site. Dreamweaver and WordPress areexample
of web development softwares.
Internet Connection
Internet connection is required to connect to a remotely located web server.
Web Server
Web server is the actual location where your website resides on. A web server may hostsingle or
multiple sites depending on what hosting service you have paid for.
A domain name is the part of your Internet address that comes after "www". For
example, in www.miet.ac.in the domain name is miet.ac.in.
A domain name becomes your Business Address so care should be taken to select adomain
name. Your domain name should be easy to remember and easy to type.
Domain Extensions
The final letter at end of internet address is known as top level domain names. They arecalled top
level because they are read from right to left, and the part after the dot is the highest in a
hierarchy.
The following table shows the Generic Top-Level Domain names:
Domain Meaning
.edu Education
101domains, INC
WWW stands for World Wide Web. A technical definition of the World Wide Web is : all the
resources and users on the Internet that are using the Hypertext Transfer Protocol (HTTP).
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.
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.
The following diagram briefly defines evolution of World Wide Web:
WWW Architecture
WWW architecture is divided into several layers as shown in the following diagram:
Identifiers and Character Set
Uniform Resource Identifier (URI) is used to uniquely identify resources on the web and
UNICODE makes it possible to built web pages that can be read and write in humanlanguages.
Protocol
A Protocols is a set of rules. Protocols allows two computers to communicate over
media such as wireless or hardwired technologies.
Protocol Stack
When computers communicate with each other,there needs to be a common set ofrules and
instruction that each computer follows.
protocols are the language of computers.
(Internet layer)
This protocol is used to access,send and receive Hypertext markup language (HTML) files on the
Internet.
Web browsers and Web Servers communicate with each other using the HTTP. It is a simple
protocol, which standardizes the way requests are sent and processed. This allows different
Clients to communicate with any vendor‘s server without compatibility problems.
HTTP is an application level protocol of the TCP/IP suite, which is used to deliver virtually all
files and other data on WWW.
It is used to transmit resources that are identified by URL. The most common kinds of resources
can be a file, but it can also be dynamically generated content, which is the result of execution of
a script or an application on the server.
Features of the HTTP protocol:
Simple request-response model based protocol.
Application layer protocol built on TCP/IP.
Plain-text protocol (Non-Secure)
Stateless protocol
Does not define how network connection is initiated or managed
Standardized
HTTP Request-Response
HTTP is a simple Request-Response protocol. A HTTP Client, such as a Web Browser
initiates a request by establishing a TCP/IP connection to a particular port on a remote host. A
HTTPServer listening on that port waits for the Client to send a request, upon receiving the request,
the server send back a response.
Transfer Protocol(FTP):
FTP is used to upload files on server and download files from server.Transmission
Control Protocol(TCP):
Protocol(IP):
Connecting to Internet:
While connecting to the internet might seem like a simple task, it can be complicated for those who
are unfamiliar with the network or type of internet that they're trying to connect to. However, given
the prevalence of the internet in the world today, it's important to know how to connect. Whether
you're using Wi-Fi, ethernet, or the slowly fading dial-up, connecting to the internet is a simple task
that's important to learn.
1 Ensure that the source of the internet is on. It may seem obvious, but a common mistake that's
often made when connecting to the internet is not making sure the source of the internet is on.
Especially if you've just set up a router and/or modem, ensure that it's on and that everything is
plugged in properly, and that any lights on it aren't indicating that there are problems. Cords canalso
be unplugged or slightly pulled out of the wall, rendering the operation futile. Make sure that
everything is plugged in properly and is working right before getting started.
2 Understand that most mobile devices can only connect to wireless broadband. Devices like
smartphones, mobile tablets, iPods, handheld gaming systems, and so forth can usually only connect
to Wi-Fi services, due to the portable nature of them. Therefore, you won't be able to connect a
mobile device to ethernet or to a dial-up network. Ethernet and dial-up connections are limited to
computers and non-portable gaming devices
3 Know what "path" to take to get to your network settings. Regardless of what operating
system or device you're using, you'll probably need to access your network settings at some point in
the process. The process is slightly different for every device, but the general path that you'll need to
take to access your network settings is usually the same, depending on the OS. Some common
devices or operating systems, and their paths to the settings, are listed below.
● Windows XP: Start –> Control Panel –> Network and Internet Connections
● Windows Vista: Start –> Network –> Network and Sharing Center
● Windows 7: Start –> Control Panel –> Network and Internet
● Windows 8: Start –> Search "View network connections" –> View Network Connections
Internet services
To access/exchange a large amount of data such as software, audio clips, video clips, text files,
other documents, etc., we need internet services. You must use an Internet service in order to
connect to the Internet. Data can be sent from Internet servers to your machine via Internet service.
Some of the commonly used internet services are :
Communication Services
Information Retrieval Services
File Transfer
World Wide Web Services
Web Services
Directory Services
Automatic Network Address Configuration
Network Management Services
Time Services
Usenet
NewsGroup
Ecommerce
Client-Server Model
The Client-server model is a distributed application structure that partitions task or workload
between the providers of a resource or service, called servers, and service requesters called clients.
In the client-server architecture, when the client computer sends a request for data to the server
through the internet, the server accepts the requested process and deliver the data packetsrequested
back to the client. Clients do not share any of their resources. Examples of Client- Server Model are
Email, World Wide Web, etc.
● Client: When we talk the word Client, it mean to talk of a person or an organization using a
particular service. Similarly in the digital world a Client is a computer (Host) i.e. capable of
receiving information or using a particular service from the service providers (Servers).
● Servers: Similarly, when we talk the word Servers, It mean a person or medium that serves
something. Similarly in this digital world a Server is a remote computer which provides information
(data) or access to particular services.
So, its basically the Client requesting something and the Server serving it as long as its present in
the database.
How the browser interacts with the servers ?
There are few steps to follow to interacts with the servers a client.
User enters the URL(Uniform Resource Locator) of the website or file. The Browser then requests
the DNS(DOMAIN NAME SYSTEM) Server.
DNS Server lookup for the address of the WEB Server.
DNS Server responds with the IP address of the WEB Server.
Browser sends over an HTTP/HTTPS request to WEB Server’s IP (provided by DNS server).
Server sends over the necessary files of the website.
Browser then renders the files and the website is displayed. This rendering is done with the help
of DOM (Document Object Model) interpreter, CSS interpreter and JS Engine collectively known
as the JIT or (Just in Time) Compilers.