Web Development
Web Development
Web application development is the creation of application programs that reside on remote
servers and are delivered to the user’s device over the Internet. A web application (web app)
does not need to be downloaded and is instead accessed through a network. An end user can
access a web application through a web browser such as Google Chrome, Safari, or Mozilla
Firefox. A majority of web applications can be written in JavaScript, Cascading Style Sheets
Web application development will typically have a short development life-cycle lead by a small
development team. Front-end development for web applications is accomplished through client-
side programming. Client refers to a computer application such as a web browser. Client-side
programming will typically utilize HTML, CSS and JavaScript. HTML programming will
instruct a browser how to display the on-screen content of web pages, while CSS keeps displayed
information in the correct format. JavaScript will run JavaScript code on a web page, making
the scripts that web applications use. Scripts can be written in multiple scripting languages such
as Ruby, Java and Python. Server-side scripting will create a custom interface for the end-user
and will hide the source code that makes up the interface.
Telnet
TCP/IP hierarchy as discussed in the preceding sections. TCP/IP protocol splits an application
into server and client components. The server component is a service provider that controls
commonly shared resources pertaining to a particular application on the network. The server
normally runs on a remote, high-powered, computer to which only authorized users have access.
The client component is the service user. That piece of software engages with the server in a
requirements.
Telnet
Telnet is a program that allows a user with remote login capabilities to use the computing
resources and services available on the host. Telnet can also be used to connect other ports
A DOS user running Telnet, for example, can connect to a UNIX host or a mainframe computer.
The 90wn side of using Telnet, however, is that unless the user is familiar with the operating
system running on the remote platform, he or she cannot use the desired resources easily.
File Transfer protocol is among the oldest protocols still used in the internet. ITP is widely
the mainframe level. ITP is a file server access protocol that enables a user to transfer files
between two hosts across the network or Internet. This is also established through TCP.
Accessing ITP sites over the internet requires that the user must have the knowledge of the
TITP, like ITP, is also an internet service intended for the transfer of files between hosts. Unlike
ITP, however, TITP does not rely on TCP for transport services. Instead, TITP uses UDP to
The Simple Mail Transfer Protocol is an electronic mail (e-mail) service provider. It is intended
for the Transfer of e-mail messages across ·the network. SMTP uses TCP transport for the
reliable delivery of mail messages. When there is an outgoing mail, the SMTP client will connect
to the SMTP server and sends the mail to the remote server.
Network File System service enables hosts across the network to share file system resources
transparently among themselves. Although it all started on UNIX platforms, NFS can be
Using the Simple Network Management Protocol, LAN administrators can monitor and tune the
performance of TCP/IP (as well as non-TCP/IP) networks. Using SNMP, all kinds
of information about network performance can be gathered, including statistics, routing tables,
of SNMP make it an ideal tool for network troubleshooting and performance tuning.
Due to Internet explosion, it is not practical to keep an exhaustive hosts file for every host
because of the sheer volume of listing as well as addition, deletion and updating of new, old and
current hosts. Therefore, DNS is used to provide host-to-IP address mapping of remote hosts to
the local hosts and vice versa. As we know that each device connected directly to the network
must have an IP address that is uniquely assigned to it. The address takes the form of a dotted
3. Web Server
Web server is a computer where the web content is stored. Basically web server is used to host
the web sites but there exists other web servers also such as gaming, storage, FTP, email etc.
Web site is collection of web pages while web server is a software that respond to the request for
web resources.
Web server respond to the client request in either of the following two ways:
Sending the file to the client associated with the requested URL.
This is the most popular web server in the world developed by the Apache Software Foundation.
1 Apache web server is an open source software and can be installed on almost all operating
systems including Linux, UNIX, Windows, FreeBSD, Mac OS X and more. About 60% of the
The Internet Information Server (IIS) is a high performance Web Server from Microsoft. This
2. web server runs on Windows NT/2000 and 2003 platforms (and may be on upcoming new
Windows version also). IIS comes bundled with Windows NT/2000 and 2003; Because IIS is
tightly integrated with the operating system so it is relatively easy to administer it.
Lighttpd
The lighttpd, pronounced lighty is also a free web server that is distributed with the FreeBSD
3.
operating system. This open source web server is fast, secure and consumes much less CPU
power. Lighttpd can also run on Windows, Mac OS X, Linux and Solaris operating systems.
This web server from Sun Microsystems is suited for medium and large web sites. Though the
4.
server is free it is not open source. It however, runs on Windows, Linux and UNIX platforms.
The Sun Java System web server supports various languages, scripts and technologies required
for Web 2.0 such as JSP, Java Servlets, PHP, Perl, Python, and Ruby on Rails, ASP and
Coldfusion etc.
Jigsaw Server
Jigsaw (W3C's Server) comes from the World Wide Web Consortium. It is open source and free
5.
and can run on various platforms like Linux, UNIX, Windows, and Mac OS X Free BSD etc.
Jigsaw has been written in Java and can run CGI scripts and PHP programs.
Web Hosting
Web Hosting is a service that allows hosting/post-web-server applications (website or web page)
on a computer system through which web-browser clients can have easy access to electronic
Free Hosting
Dedicated Hosting
Co-location Hosting
Free Hosting:
Advantages:
Free of cost
Use websites to place advertisements. banners and other forms of advertising media
Disadvantages:
Shared/Virtual Hosting:
Advantages:
Disadvantages:
Dedicated Hosting:
Advantages:
Co-located Hosting:
Advantages:
High Security
Disadvantages:
Its expensive
4. Chunked Transfer
Caching web content helps improve upon the responsiveness of your websites by reducing the
load on backend resources and network congestion. Web caching is performed by retaining
HTTP responses and web resources in the cache for the purpose of fulfilling future requests from
Web caching is the activity of storing data for reuse, such as a copy of a web page served by a
web server. It is cached or stored the first time a user visits the page and the next time a user
requests the same page, a cache will serve the copy, which helps keep the origin server from
getting overloaded.
6. Extensibility
recompiling or changing the original source code. Extensibility works in two areas of an
application: Extensibility in the UI helps to show more relevant and organized data to the end
user.
7. SGML
SGML stands for Standard generalized markup language is a Standard generalized markup
language that makes use of a superset of extensively used markup languages like HTML and
XML. It is used for marking up files and has the gain of now no longer depending on a particular
application.
Structure of SGML:
<mainObject>
<subObject>
</subObject>
</mainObject>
Syntax:
<NAME TYPE="user">
</NAME>
Code:
<EMAIL>
<SENDER>
<PERSON>
<FIRSTNAME>BSCS</FIRSTNAME>
</PERSON>
</SENDER>
<BODY>
</BODY>
</EMAIL>
OUTPUT:
BSCS
8. HTML5
HTML5 (Hypertext Markup Language 5) is a markup language used for structuring and
presenting content on the World Wide Web. It is the fifth and final major HTML version that is a
World Wide Web Consortium (W3C) recommendation. The current specification is known as
DOCTYPEs in older versions of HTML were longer because the HTML language was SGML
<!DOCTYPE html>
Character Encoding
HTML 5 authors can use simple syntax to specify Character Encoding as follows −
It's common practice to add a type attribute with a value of "text/javascript" to script
elements as follows −
Task
Visit different types of HTML tags and check how they work.
9. Core XML:
XML is a software- and hardware-independent tool for storing and transporting data.
It has a heading
In XML, it is illegal to omit the closing tag. All elements must have a closing tag:
<p>This is a paragraph.</p>
<br />
XML tags are case sensitive. The tag <Letter> is different from the tag <letter>.
Opening and closing tags must be written with the same case:
<message>This is correct</message>
XML Elements Must be Properly Nested
XML elements can have attributes in name/value pairs just like in HTML.
<note date="12/11/2007">
<to>Tove</to>
<from>Jani</from>
</note>
10. XHTML
XHTML stands for EXtensible HyperText Markup Language. It is a cross between HTML and
XML language. XHTML is almost identical to HTML but it is stricter than HTML. XHTML is
Code:
<!DOCTYPE html
"DTD/xhtml1-strict.dtd">
<head>
</head>
<body>
<div style="color:#090;font-size:40px;
font-weight:bold;text-align:center;
margin-bottom:-25px;">BSCS</div>
<p style="text-align:center;font-size:20px;">
6th Semester</p>
<p style="text-align:center;font-size:20px;">
<select name="month">
<option selected="selected">January</option>
<option>February</option>
<option>March</option>
<option>April</option>
<option>May</option>
<option>June</option>
<option>July</option>
<option>Augusy</option>
<option>September</option>
<option>October</option>
<option>November</option>
<option>December</option>
</select>
</p>
</body>
</html>
Output:
11. XHTML MP
XHTML MP (eXtensible HyperText Markup Language Mobile Profile) is the markup language
defined in WAP 2.0. WAP 2.0 is the most recent mobile services specification created by the
WAP Forum. The specification of WAP CSS (WAP Cascading Style Sheet or WCSS) is also
defined in WAP 2.0. WAP CSS is the companion of XHTML Mobile Profile and they are used
together. With WAP CSS, you can easily change and format the presentation of XHTML MP
pages.
XHTML Mobile Profile is a subset of XHTML, which is the stricter version of HTML. XHTML
Mobile Profile is XHTML Basic (also a subset of XHTML) plus some additional elements and
The goal of XHTML Mobile Profile is to bring together the technologies for mobile Internet
browsing and that for the World Wide Web. Before the coming out of XHTML Mobile Profile,
WAP developers make use of WML and WMLScript to create WAP sites, while web developers
use HTML / XHTML and CSS style sheets to build web sites.
12. SOAP
Simple Object Access Protocol (SOAP) is a lightweight XML-based protocol that is used for the
SOAP messages in any way that the applications require, as long as both the client and the server
Message Format:
Envelope:
It specifies that the XML message is a SOAP message. A SOAP message can be defined
as an XML document containing header and body encapsulated in the envelope. The fault
Header:
This part is not mandatory. But when it is present it can provide crucial information about
the applications.
Body:
It contains the actual message that is being transmitted. Fault is contained within the body
tags.
Fault:
This section contains the status of the application and also contains errors in the
application. This section is also optional. It should not appear more than once in a SOAP
message.
Advantages of SOAP
SOAP is mainly used for Web Services and Application Programming Interfaces (APIs).
13. REST
REST stands for Representational State Transfer and API stands for Application Program
Interface. REST is a software architectural style that defines the set of rules to be used for
creating web services. Web services which follow the REST architectural style are known as
RESTful web services. It allows requesting systems to access and manipulate web resources by
using a uniform and predefined set of rules. Interaction in REST based systems happen through
Uniform Interface
Stateless
Cacheable
Client-Server
Layered System
Code on Demand
HTTP verbs: Some of the common HTTP methods/verbs are described below:
GET
POST
PUT
DELETE
14. WML
WML stands for Wireless Markup Language (WML) which is based on HTML and HDML. It is
specified as an XML document type. It is a markup language used to develop websites for
mobile phones. While designing with WML, constraints of wireless devices such as small
display screens, limited memory, low bandwidth of transmission and small resources have to be
considered. WAP (Wireless Application Protocol) sites are different from normal HTML sites in
the fact that they are monochromatic (only black and white), concise and has very small screen
space, due to which content in the WAP sites will be only the significant matter, much like how
Features of WML:
User Interaction
Navigation
Context Management
Code:
<?xml version="1.0"?>
<wml>
<!-- This is first card-->
<p>
6th Semester
</p>
</card>
<p>
</p>
</card>
</wml>
Output:
15. XSL:
XSL (extensible Stylesheet Language) is a styling language for XML. XSLT stands for XSL
Transformations. This tutorial will teach you how to use XSLT to transform XML documents
<xsl:template match="/">
<html>
<body>
<h2>My CD Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th style="text-align:left">Title</th>
<th style="text-align:left">Artist</th>
</tr>
<xsl:for-each select="catalog/cd">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="artist"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Output:
16. Web Services:
Operations:
Web services are XML-based information exchange systems that use the Internet for direct
documents. A web service is a collection of open protocols and standards used for exchanging
Web services contain multiple service operations, which are stateless synchronous inbound
operations. The service operations are assigned to service interfaces which specify how to
perform service requests and serve as collectors for specific operation types.
The interaction involves the three operations: publish, find, and bind. These operations and roles
act upon the web services artifacts. The web service artifacts are the web service software
module and its description. The service provider hosts a network-associable module (web
service). Operations services handle the transfer of all or part of the day-to-day system
management responsibility for a customer's IT infrastructure (host/data center, client/desktop or
The ICM processes HTTP requests and responses. On the basis of the URL and the port, a
“local” handler in the ICM is addressed. Sharing out the requests among different handlers
increases performance because a user context does not have to be created for each request.
An HTTP response is made by a server to a client. The aim of the response is to provide the
client with the resource it requested, or inform the client that the action it requested has been
carried out; or else to inform the client that an error occurred in processing its request.
Message Status-Line
HTTP Version
Status Code
Cookies Coordinator:
Cookies are small files which are stored on a user’s computer. They are used to hold a modest
amount of data specific to a particular client and website and can be accessed either by the web
When cookies were invented, they were basically little documents containing information about
you and your preferences. For instance, when you select your language in which you want to
view your website, the website would save the information in a document called a cookie on
your computer, and the next time when you visit the website, it would be able to read a cookie
saved earlier. That way the website could remember your language and let you view the website
A cookie can contain any type of information such as the time when you visited the website, the
items that you added into your shopping basket, all the links you clicked in website, etc.,
Session Cookies
Persistent Cookies
Third-party cookies
Privacy And P3p
The Platform for Privacy Preferences Project (P3P) is an emerging industry standard that enables
web sites to express their privacy practices in a standardized format that can be automatically
P3P is a machine-readable language that helps to express a website's data management practices.
P3P manages information through privacy policies. When a website used P3P, they set up a set
of policies that allows them to state their intended uses of personal information that may be
Another type of interaction is one where an element has some control on the interaction between
two others. We call “complex” these types of interactions, to distinguish them from the more
Examples:
hover or animations
overlays or dialogs
Dynamic content is mostly powered by applications and scripts that run on the server hosting the
website. When a user makes a request, these applications work in tandem with the web server to
parse the request, generate content based on the request, and deliver the content to the user as
Although the result is the same, requesting dynamic content is different from requesting static
content. You still need a URL with the asset you wish to access, but the server can interpret the
URL in a variety of ways. For example, consider a request for the image rainbow.jpg from the
You might expect there to be an images/ folder in the web directory containing a file named
rainbow.jpg. However, that might not be the case. After a web server receives a request, it passes
it on to a scripting language such as ASP.NET, Perl, or PHP. These languages can handle a
variety of functions from requesting files from a database to querying third party service
providers. Ultimately, the goal of each language is to build an HTML file that the web server can
Once the resulting HTML file has been delivered to the web server, the server then forwards the
content to the user. The URL of the dynamic content might look something like
It is personalizable. Every single response can be crafted based on the user’s request or
It is extensible. The scripting languages that power dynamic content can tap into a
variety of external resources including the local file system, databases, or other servers.
It is interactive. Dynamic websites are a two-way street: they provide content to users,
It is seamless. By combining server-side scripts with scripts that run in the browser,
websites can load dynamic content over an already-loaded web page without the user
Server Configuration
The web server configuration file is installed as part of the web server. The Web Server Plug-ins
Configuration Tool must re-configure the configuration file for a supported web server.
Configuration consists of adding directives that identify file locations of two files: Binary web
Select the database you wish to install. We recommend MySQL and selecting the latest
version.
Install any required PHP modules. php-imagick is a good option if you’re not sure what
you need.
Server Security
Web server security refers to the tools, technologies, and processes that enable information
security (IS) on a Web server. There are three main types of Web server security: physical,
All network connections are protected by a firewall, a hardware or software component that
and anti-virus software protect the services running on a web server. The data on the server may
be the most valuable asset and hence is the target of the most attacks. Data protection is achieved
by encrypting the information on the disk and using intrusion detection software to detect and
When a user is surfing the internet, he’s not just interested in getting to his destination quickly.
He also wants to know that he can get there safely. This is why Web server security is so
important. Information technology (IT) professionals can use several methods to protect a Web
One of the most basic methods is to use a firewall, which is a program that checks all Internet
traffic coming into and going out of the Web server, blocking any traffic that seems suspicious or
otherwise dangerous.
Snort
Nmap
OpenVAS
Metasploit
Sqlmap
Interpreter, and Client Programs. The control unit in a CPU is a controller that takes in the input,
interprets it, and then instructs the device to work in a certain way.
web Browser is an application software that allows us to view and explore information on the
web. User can request for any web page by just entering a URL into address bar.
Web browser can show text, audio, video, animation and more. It is the responsibility of a web
Controller works as a control unit in CPU. It takes input from the keyboard or mouse, interpret it
Interpreter receives the information from the controller and execute the instruction line by line.
Some interpreter are mandatory while some are optional For example, HTML interpreter
Client Program describes the specific protocol that will be used to access a particular service.
HTTP
SMTP
FTP
NNTP
POP
Some Popular Web Browsers
Google Chrome
Mozilla Firefox
Apple Safari:
Microsoft Edge
Opera
Brave
Tor Browser
18. Active Browser Pages
An active web page is a page where the browser performs the logic instead of the server. So for
example when you've got a page where you're showing share prices, then you want it to update
JavaScript
Javascript you really do not need any special environment setup. For example Chrome, Mozilla
Firefox , Safari and every browser you know as of today, supports Javascript.
Javascript helps you create really beautiful and crazy fast websites. You can develop your
website with a console like look and feel and give your users the best Graphical User
Experience.
JavaScript usage has now extended to mobile app development, desktop app development, and
game development. This opens many opportunities for you as Javascript Programmer.
Due to high demand, there is tons of job growth and high pay for those who know JavaScript.
You can navigate over to different job sites to see what having JavaScript skills looks like in the
job market.
Great thing about Javascript is that you will find tons of frameworks and Libraries already
developed which can be used directly in your software development to reduce your time to
market.
DHTML
DHTML is used to create interactive and animated web pages that are generated in real-time,
also known as dynamic web pages so that when such a page is accessed, the code within the page
is analyzed on the web server and the resulting HTML is sent to the client's web browser
DHTML is not a technology; rather, it is the combination of three different technologies, client-
side scripting (JavaScript or VBScript), cascading style sheets and document object model.
Key Features: Following are the some major key features of DHTML:
It makes a webpage dynamic and be used to create animations, games, applications along
DHTML.
DHTML also facilitates the use of methods, events, properties, and codes.
AJAX
A browser built-in XMLHttpRequest object (to request data from a web server)
AJAX Examples
AJAX Applications
JSON
JSON stands for JavaScript Object Notation
JSON Example
name
age
car
You can receive pure text from a server and use it as a JavaScript object.
You can work with data as JavaScript objects, with no complicated parsing and translations.
Storing Data
When storing data, the data has to be a certain format, and regardless of where you choose to
Stage 4. UI design
Stage 8. Launch
There are three main types of web development: front-end development, back-end
Three essential structures can be used to build a Web site: sequences, hierarchies, and webs.
There are three basic types of structures: shell structures, frame structures and solid structures.
But some structures are a combination. Most containers used to hold liquids or small solids are
shell structures.
and execute one command at a time. In general, scripting languages are easier to learn and faster
to code in than more structured and compiled languages such as C and C++
Scripting languages are a specific kind of computer languages that you can use to give
instructions to other software, such as a web browser, server, or standalone application. Many of
today's most popular coding languages are scripting languages, such as JavaScript, PHP, Ruby,
and Python.
There are many scripting languages some of them are discussed below:
Bash
Node js
Ruby
Python
Perl
Easy learning
Fast editing
Interactivity
Functionality
Sphinx.
ElasticSearch.
Splunk.
Solr.
MarkLogic.
Algolia.
Search Engine refers to a huge database of internet resources such as web pages, newsgroups,
User can search for any information by passing query in form of keywords or phrase. It then
searches for relevant information in its database and return to the user.
Generally there are three basic components of a search engine as listed below:
Web Crawler
Database
Search Interfaces
Web crawler, database and the search interface are the major component of a search engine that
actually makes search engine to work. Search engines make use of Boolean expression AND,
OR, NOT to restrict and widen the results of a search. Following are the steps that are performed
The search engine looks for the keyword in the index for predefined database instead of going
It then uses software to search for the information in the database. This software component is
result. These retrieved web pages generally include title of page, size of text portion, first several
sentences etc.
engines such as Google. Because search is one of the main ways in which people discover
content online, ranking higher in search engines can lead to an increase in traffic to a website.
SEO Strategy
XML Query Language (XQuery) is a query and programming language for processing XML
documents and data. XML data and other databases that store data in a format analogous to
Functions
doc("books.xml")
Path Expressions
doc("books.xml")/bookstore/book/title
Semantic Technology defines and links data on the Web (or within an enterprise) by developing
languages to express rich, self-describing interrelations of data in a form that machines can
process.
The Semantics of Programming Languages. Semantics, roughly, are meanings given for groups
of symbols: ab+c, "ab"+"c", mult(5,4). For example, to express the syntax of adding 5 with 4, we
can say: Put a "+" sign in between the 5 and 4, yielding " 5 + 4 ". However, we must also define
Some examples of semantic technologies include natural language processing (NLP), data
mining, artificial intelligence (AI), category tagging, and semantic search. You might think of
Semantics are often used in everyday social interactions to convey meaning beyond the literal
meaning of spoken words. For example, if someone asks, “How are you?” the response may be,
JavaScript frameworks and APIs, enabling the creation of more powerful and dynamic web
applications. The growth of artificial intelligence and machine learning has led to the
React. React, also known as ReactJS, is a well-known front-end JavaScript library for developing
Angular. ...
Vue.js. ...
Svelte. ...
jQuery. ...
Backbone.js. ...
Ember.js. ...
Semantic-UI.
Web development is a highly lucrative and exciting career path to consider in 2023. With the
rapid expansion of technology and internet usage, the demand for skilled web developers is