Professional Documents
Culture Documents
Unit 1 Introduction To Web Technologies
Unit 1 Introduction To Web Technologies
Backend Languages: The back end portion is built by using some languages
which are discussed below:
PHP: PHP is a server-side scripting language designed specifically
for web development. Since PHP code executed on the server-side, so
it is called a server-side scripting language.
Node.js: Node.js is an open-source and cross-platform runtime
environment for executing JavaScript code outside a browser. You
need to remember that NodeJS is not a framework, and it’s not a
programming language. Most people are confused and understand it’s
a framework or a programming language. We often use Node.js for
building back-end services like APIs like Web App or Mobile App.
It’s used in production by large companies such as Paypal, Uber,
Netflix, Wallmart, and so on.
Python: Python is a programming language that lets you work
quickly and integrate systems more efficiently.
Careers in Web Technologies and Job Roles
Each web page is written in codes and these codes describe the layout, format
and content on the page. The most common coding language used to create
web pages is HTML.
Creating a website
But just because a web page is written in codes doesn’t mean you need to be
an IT geek to create one yourself. In fact, you don’t even need to know code
or possess any technical skills or knowledge to create a website nowadays.
Technology has advanced tremendously and there are a lot of website creators
that allows you build functional and professional-looking websites without
much or any technical knowledge.
The majority of website builders on the market are designed for the non-tech
person in mind:
A domain name
A domain name is the address that you type into your web browser address
bar to get to a website. An example of a domain name is www.doteasy.com.
A domain name is unique to a website. In other words, no two websites can
have the same domain name.
A web server
A web server is the computer that receives the request for a web page sent
by your browser.
Consider this: your company is hiring for a position that has just opened up
and you are in charge of writing the job ad. You may have crafted the mos t
compelling ad but unless you post the ad on a job board, no one will see it.
This is the same with websites. You could create the most stunning website
but unless it’s uploaded to a web server, it is not accessible or viewable on
the Internet.
Each website will have a website address, or a domain name, and each domain
name is tied to the IP address of the web server it resides on. IP addresses are
managed and tracked via the Domain Name Server (or DNS for short).
DNS works very similarly to the Contacts app on your mobile phone – you
open up the Contacts app, type in a person’s name and your mobile phone
returns with the person’s phone number and other contact information you
might have entered. You can then decide if you want to call, email or text that
person.
When you type in a domain name in your web browser, your web browser is
actually conducting a series of inquiries that include looking up the IP address
of the domain name, locating the web server that hosts the web pa ges of the
domain name, submitting a request to that server for a copy of the web
page(s), receiving the web page(s) from the server and finally translating the
codes on the web page to present the information on your screen.
Client-sidescripting
Web browsers execute client-side scripting. It is used when browsers have all
code. Source code is used to transfer from webserver to user’s computer over
the internet and run directly on browsers. It is also used for validations and
functionality for user events.
It allows for more interactivity. It usually performs several actions without
going to the user. It cannot be basically used to connect to databases on a web
server. These scripts cannot access the file system that resides in the web
browser. Pages are altered on basis of the user’s choice. It can also be used to
create “cookies” that store data on the user’s computer.
Server-sidescripting
Web servers are used to execute server-side scripting. They are basically used
to create dynamic pages. It can also access the file system residing at the
webserver. A server-side environment that runs on a scripting language is a web
server.
Scripts can be written in any of a number of server-side scripting languages
available. It is used to retrieve and generate content for dynamic pages. It is used
to require to download plugins. In this load times are generally faster than client-
side scripting. When you need to store and retrieve information a database will
be used to contain data. It can use huge resources of the server. It reduces client-
side computation overhead. The server sends pages to the request of the
user/client.
Difference between client-side scripting and server-side scripting :
Web hosting
A web host provides the space where you display your site's content, like text,
images, and videos. A web host doesn't necessarily provide the address visitors
use to reach your site, like www.yourdomain.com.
When you build a site with Squarespace, Squarespace is your web host. This
means that in addition to providing tools for creating and managing your content,
we provide a place on the internet to display your content. Every Squarespace site
is stored on our servers, similar to how physical stores rent space in a shopping
mall.
Domain hosting
Domain hosts store domain names and facilitate their registration. If you’re using
a domain registered through a third-party provider, like GoDaddy or Hover,
they're your domain host, and you'll manage your domain through them.
RWD uses so-called breakpoints to determine how the layout of a site will appear:
one design is used above a breakpoint and another design is applied below that
breakpoint. The breakpoints are commonly based on the width of the browser.
The same HTML is served to all devices, using CSS (which determines the
layout of webpage) to change the appearance of the page. Rather than creating a
separate site and corresponding codebase for wide-screen monitors, desktops,
laptops, tablets and phones of all sizes, a single codebase can support users with
differently sized viewports.
Website is a collection of related web pages that may contain text, images, audio
and video. The first page of a website is called home page. Each website has
specific internet address (URL) that you need to enter in your browser to access
a website.
Website is hosted on one or more servers and can be accessed by visiting its
homepage using a computer network. A website is managed by its owner that can
be an individual, company or an organization.
Static website
Static website is the basic type of website that is easy to create. You don't need
the knowledge of web programming and database design to create a static
website. Its web pages are coded in HTML.
The codes are fixed for each page so the information contained in the page does
not change and it looks like a printed page.
Dynamic website
Client side scripting generates content at the client computer on the basis of user
input. The web browser downloads the web page from the server and processes
the code within the page to render information to the user.
In server side scripting, the software runs on the server and processing is
completed in the server then plain pages are sent to the user.
Static vs Dynamic website
Prebuilt content is same every time the Content is generated quickly and
page is loaded. changes regularly.
It uses the HTML code for developing It uses the server side languages
a website. such as PHP,SERVLET, JSP,
and ASP.NET etc. for developing
a website.
It sends exactly the same response for It may generate different HTML
every request. for each of the request.
HTTP is TCP/IP based communication protocol, which is used to deliver the data
like image files, query results, HTML files etc on the World Wide Web (WWW)
with the default port is TCP 80. It provides the standardized way for computers
to communicate with each other.
The Basic Characteristics of HTTP (Hyper Text Transfer Protocol):
o It is the protocol that allows web servers and browsers to exchange data
over the web.
o It is a request response protocol.
o It uses the reliable TCP connections by default on TCP port 80.
o It is stateless means each request is considered as the new request. In other
words, server doesn't recognize the user by default.
There are three fundamental features that make the HTTP a simple and powerful
protocol used for communication: