Differences Between Various Concepts
Differences Between Various Concepts
HTTP HTTPS
URL begins with "http://" URL begins with "https://"
It uses port 80 for communication. It uses port 443 for communication.
Unsecured. Secured.
Operates at Application Layer. Operates at Transport Layer.
No encryption. Encryption is present.
No certificates required. Certificates(SSL) required.
Full form: HyperText Transfer Protocol Full form: HyperText Transfer Protocol Secure
(HTTP) (HTTPS)
HTML vs XML
HTML XML
HTML is an abbreviation for
XML stands for eXtensible Markup Language.
HyperText Markup Language.
XML was designed to be a software and hardware
HTML was designed to display
independent tool used to transport and store data, with
data with focus on how data looks.
focus on what data is.
XML provides a framework for defining markup
HTML is a markup language itself.
languages.
XML is neither a programming language nor a presentation
HTML is a presentation language.
language.
HTML is case insensitive. XML is case sensitive.
HTML is used for designing a
XML is used basically to transport data between the
web-page to be rendered on the
application and the database.
client side.
While what makes XML flexible is that custom tags can be
HTML has it own predefined tags. defined and the tags are invented by the author of the XML
document.
HTML is not strict if the user does XML makes it mandatory for the user the close each tag
not use the closing tags. that has been used.
HTML does not preserve white
XML preserves white space.
space.
HTML is about displaying
XML is about carrying information,hence dynamic.
data,hence static.
Web Page
web page is a document available on world wide web. Web Pages are stored on web server and
can be viewed using a web browser.
A web page can contain huge information including text, graphics, audio, video and hyper links.
These hyper links are the link to other web pages.
Collection of linked web pages on a web server is known as website. There is unique Uniform
Resource Locator (URL) is associated with each web page.
Static web pages are created using only HTML. Static web pages are only used when the
information is no more required to be modified.
Dynamic web page shows different information at different point of time. It is possible to
change a position of a web page without loading the entire web page. It has been made possible
using Ajax technology.
It is created by using server-side scripting. There are server-side scripting parameters that
determine how to assemble a new web page which also include setting up of more client-side
processing.
It is processed using client side scripting such as JavaScript. And then passed in to Document
Object Model (DOM).
Scripting Languages
Scripting languages are like programming languages that allow us to write programs in form of
script. These scripts are interpreted not compiled and executed line by line.
Client-side Scripting
Client-side scripting refers to the programs that are executed on client-side. Client-side scripts
contains the instruction for the browser to be executed in response to certain user’s action.
Client-side scripting programs can be embedded into HTML files or also can be kept as separate
files.
Server-side Scripting
Sever-side scripting acts as an interface for the client and also limit the user access the resources
on web server. It can also collects the user’s characteristics in order to customize response.
GET POST
In case of post request, large amount of
1) In case of Get request, only limited amount of
data can be sent because data is sent in
data can be sent because data is sent in header.
body.
2) Get request is not secured because data is Post request is secured because data is
exposed in URL bar. not exposed in URL bar.
3) Get request can be bookmarked. Post request cannot be bookmarked.
4) Get request is idempotent . It means second
request will be ignored until response of first request Post request is non-idempotent.
is delivered
5) Get request is more efficient and used more than Post request is less efficient and used less
Post. than get.