Chapter-1: 1. Web Developing Website Is A Collection of Related Web Pages, Including Multimedia Content
Chapter-1: 1. Web Developing Website Is A Collection of Related Web Pages, Including Multimedia Content
1. WEB DEVELOPING
Websites can have many functions and can be used in various fashions; a
website can be a personal website, a commercial website for a company, a
government website or a non-profit organization website. Websites are typically
dedicated to a particular topic or purpose, ranging from entertainment and social
networking to providing news and education. All publicly accessible websites
collectively constitute the World Wide Web, while private websites, such as a
company’s website for its employees, and are typically a part of an intranet.
Web development is a broad term for the work involved in developing a web
site for the Internet (World Wide Web) or an intranet (a private network). Web
development can range from developing the simplest static single page of plain
text to the most complex web- based internet applications (or just ‘web apps’)
electronic businesses, and social network services. A more comprehensive list
of tasks to which web development commonly refers, may include web
engineering, web design, web content development, client liaison, client-
side/server-side scripting, web server and network security configuration, and e-
commerce development. Among web professionals, “web development” usually
refers to the main non-design aspects of building web sites: writing markup and
coding...
Before developing a web site once should keep several aspects in mind like:
1.2 Process
Web development is the building and maintenance of websites; it’s the work
that happens behind the scenes to make a website look great, work fast and
perform well with a seamless user experience.
Web developers, or ‘devs’, do this by using a variety of coding languages. The
languages they use depends on the types of tasks they are preforming and the
platforms on which they are working.
Web development skills are in high demand worldwide and well paid too –
making development a great career option. It is one of the easiest accessible
higher paid fields as you do not need a traditional university degree to become
qualified.
The field of web development is generally broken down into front-end (the
user-facing side) and back-end (the server side). Let’s delve into the details.
1.3 Frontend Web Development
Server:
Exposure to handling Apache, Nginx, IIS servers, Microsoft IIS
Number Description
1. Pentium 4 ,Window XP/Window7
2. 256 MB RAM
Number Description
1. Windows XP ,7
2. MySql
3. IIS server/ XAMP
4. HTML/CSS/ JavaScript
5. API
CHAPTER-3
3. TOOLS
3.1 Introduction
The Translate and Edit application had been planned to consist of two parts-
front-end and back-end development. The front-end is the part of the web that
you can see and interact with (e.g. Client-side programming). While front-end
code interacts with the user in real time, the back-end interacts with a server to
return user ready results. The front-end is a combination of HTML,CSS and
JavaScript coding. By using JavaScript, modifications of the design of a web
page can be made immediately, however only temporary and visible only by the
user.
Normally the user would not have rights to modify web content dynamically on
the server side. Logically, administrators are the ones who deal with back-end
modification of databases for example, as they often contain sensitive data
which should not be available to see or modify by the general public. These
front-end and back-end tools includes languages like HTML, CSS,JavaScript
,PHP ,MYSQL etc. We will discuss all these languages in brief as given below.
3.2 Features
CHAPTER-4
4. HTML
4.1 Introduction
Web pages are usually organised around a main page, which acts as a hub for
browsing other pages with hyperlinks. This group of web pages joined by
hyperlinks and centred around a main page is called a website.
The Web is a vast living archive composed of a myriad of web sites, giving
people access to web pages that may contain formatted text, images, sounds,
video, etc.
Hyper Text: HyperText simply means "Text within Text." A text has a link
within it, is a hypertext. Whenever you click on a link which brings you to a
new webpage, you have clicked on a hypertext. HyperText is a way to link two
or more web pages (HTML documents) with each other.
The Web is composed of web pages stored on web servers, which are machines
that are constantly connected to the Internet and which provide the pages that
users request. Every web page, and more generally any online resource, such as
images, video, music, and animation, is associated with a unique address called
a URL.The key element for viewing web pages is the browser, a software
program which sends requests to web servers, then processes the resulting data
and displays the information as intended, based on instructions in the HTML
page.
➢ Mozilla Firefox,
➢ Netscape Navigator,
➢ Safari,
➢ Opera
RFC 1866, dated November 1995, represented the first official version of
HTML, called HTML 2.0. After the brief appearance of HTML 3.0, which was
never officially released, HTML 3.2 became the official standard on January 14,
1997. The most significant changes to HTML 3.2 were the standardization of
tables, as well as many features relating to the presentation of web pages.
On December 18, 1997, HTML 4.0 was released. Version 4.0 of HTML was
notable for standardizing style sheets and frames. HTML version 4.01, which
came out on December 24, 1999, made several minor modifications to HTML
4.0.
Example-
<HTML>
<HEAD>
</HEAD>
<BODY>
<H5>THIS IS AN EXAMPLE</H5>
</BODY>
</HTML>
CHAPTER-5
5. CSS:
5.1 What Is CSS?
➢ CSS saves a lot of work. It can control the layout of multiple web pages all
at once
➢ CSS Saves a Lot of Work! The style definitions are normally saved in
external .css files.
➢ With an external stylesheet file, we can change the look of an entire website
by changing just one file!
CSS selector: The selector points to the HTML element you want to style.
A CSS declaration always ends with a semicolon, and declaration blocks are
surrounded by curly braces.
The External CSS can be declared in the required HTML page as:
The External CSS file is saved by using the .css extension, whereas the internal
CSS is saved in corresponding HTML file using the <style> tag. Using External
CSS is much better than using Internal. Here are a few reasons this is better.
➢ Easier Maintenance
➢ Reduced Bandwidth
➢ Improved Flexibility
The selectors that can be used to select the HTML part are-
➢ Id selector
➢ Class selector
5.2.1 Id Selector:
Example-
<h1 id=”para1”>content</h1>
#para1 {
text-align: center;
To select elements with a specific class, write a period (.) character, followed by
the name of the class.
Comments are used to explain the code, and may help when you edit the source
code at a later date. Comments are ignored by browsers. A CSS comment starts
with /* and ends with */. Comments can also span multiple lines.
Example-
.para1
text-align: center;
color: blue;
In the example above, all HTML elements with class=para1" will be blue and
center-aligned.
➢ Background properties
➢ Border properties
➢ Padding
➢ Margin
➢ Color
➢ Font properties
Limitations
JavaScript Example
The responsive UI and menu of this website is also using JavaScript. There is
no website in this world that does not use JavaScript or JavaScript-based
frameworks.
JavaScript History
In early 1995, Brendan Eich from Netscape designed and implemented a new
language for non-java programmers to give newly added Java support in
Netscape navigator. It was initially named Mocha, then LiveScript, and
finally JavaScript.
Nowadays, JavaScript can execute not only on browsers but also on the server
or any device with a JavaScript Engine. For example, Node.js is a framework
based on JavaScript that executes on the server.
Often you will hear the term ECMAScript while working with JavaScript.
Let's clear the confusion before it arises.
JavaScript Engine
➢ Client-side validation
➢ Displaying popup windows and dialog boxes (like alert dialog box, confirm
dialog box and prompt dialog box).
Example of JavaScript-
<h2>Welcome to JavaScript</h2>
<script>
</script>
In the given example, we have displayed the dynamic content using JavaScript.
Let’s see the simple example of JavaScript that displays alert dialog box.
<script type="text/javascript">
alert("Hello Javatpoint");
</script>
➢ message.js file
function msg()
alert("Hello Javatpoint");
➢ index.html
<head>
</head>
<body>
<p>Welcome to JavaScript</p>
</form>
</body>
We can create external JavaScript file and embed it in many html page.
It provides code re usability because single JavaScript file can be used in
several html pages. An external JavaScript file must be saved by .js extension. It
is recommended to embed all JavaScript files into a single file. It increases the
speed of the webpage.
This example uses the method to "find" an HTML element (with id="demo")
and changes the element content (innerHTML) to "Hello JavaScript":
CHAPTER-8
8. MYSQL:
8.1 Uses:
MySQL is used in web applications and acts as the database component of the
LAMP software stack. Its popularity for use with web applications is closely
tied to the popularity of PHP, which is often combined with MySQL. Several
high-traffic web sites (including Flickr, Facebook, Wikipedia, Google (though
not for searches), Nokia, Auctionmarts and YouTube) use MySQL for data
storage and logging of user data.
8.2 Features:
➢ Cross-platform support
➢ Stored procedures
➢ Triggers
➢ Cursors
➢ Strict mode
➢ Updatable Views
➢ Query caching
PROJECT
Live Weather Updatae using API
Introduction
Weather forecasting is the application of science and technology to predict the
conditions of the atmosphere for a given location and time. People have
attempted to predict the weather informally for millennia and formally since the
19th century. Weather forecasts are made by collecting quantitative data about
the current state of the atmosphere, land, and ocean and using meteorology to
project how the atmosphere will change at a given place.
This project provides us with real time weather updates for any location which
we want. It can also track our device location.
The interface of the website is quite simple and is easy to use. We have used
atom text editor for developing this project.
The person only needs to give access of the device location when asked or can
type the name of the place’s weather update he needs.
The website is made with the help of languages like HTML, CSS, JavaScript.