Professional Documents
Culture Documents
3.web Technology
3.web Technology
By
Mr. Kale O.V.
Definition
1. Introduction to HTML
HYPER TEXT MARK-UP Language.
It acts as a foundation to hold every website.
It is open language which is easy to learn and works on tag system.
Each tag affects the content that has been placed in that particular tag.
HTML tags label various pieces of content as “Heading”, “Paragraph”,
“Table”, and so on…
HTML Elements are known as building blocks of html page.
HTML
HTML
This language is used to create web page.
HTMl
Example:
<html>
<head>
<title> Page Title</title>
</head>
HTML features:
It is coding language that makes web-pages;
It is the skeleton of every web page that exists.
To see what it looks like, go into web browser (e.g. Internet Explorer, Mozilla
firefox, Google Chrome, Microsoft Edge etc.).
To see the html code navigate to any web page and right click on it and click
on “view source”. You will see a page of code, and that is HTML.
One can create html code in text editor like notepad; save it as a.html ( a is
file name; .html is extension of web page)
HTMl
Empty Tags:
It just having only one tag i.e opening tag , not required closing tag.
They are predefined tag carry out the job assigned to them.
No end tag required like </html>
E.g. <br>; <hr>
XML
Introduction to XML
XML means Extensible Markup Language.
It is another markup language like that of HTML.
The difference lies in the fact that in xml, tags are not pre-defined and one
has to define his own tags.
This language is self describing and uses DTD (document Type Definition) to
describe its data.
Major Difference is: XML was designed to Describe data and HTML was
designed
to display Data.
XML
Benefits of XML.
Simplicity: Very easy to read and understand the information coded in xml.
Openness: it is W3C standard, endorsed by software industry market leaders.
Extensibility: it is extensible because it has no fixed set of tags. One can define
them as per need.
Self-descriptive: XML documents do not need special schema set-up like traditional
database to store data. Xml document can be store without such definitions,
because they contain metadata in the form of tags and attributes.
Scalable: XML is not in binary format so you can create and edit files with anything
and it is also easy to debug.
Fast Acess: XML documents are arranged in hierarchical form so it is comparatively
faster.
XML
Uses of XML:
It has become default format for many office productivity tools.
It is used as a base language for communication protocols.
It is also used to interchange data from one computer to another through
internet.
XML is used in web development.
XML
Tags in XML
Tags in XML can be expressed in three ways-
1. Start tag as <section>;
2. End tag as </section>;
3.Empty tag as <line-break/>
XML
Example:
For a note containing simple reminder from Sam to Tom as
<note>
<to> Tom</to>
<from>Sam</from>
<heading> Reminder</heading>
<body>Don’t forget me this weekend!</body>
</note>
Difference between HTML & XML
Introduction to CSS
CSS means Cascading Style sheets.
These sheets describe how HTML elements will be displayed on the screen.
CSS can be defined as a design language which is used to make web page
more presentable and easy to write.
Cascading Style sheets contains the rules for the presentation of HTML web
page.
CSS was introduced to keep the presentation information separate from HTML
markup(Content)
Introduction to CSS
Uses of CSS
CSS is used to design various styles for the different web pages.
It can be used to control the following elements:
1. Text color
2. Font style
3. Spacing between paragraphs
4. Layout and size of column
5.Background images
6. Background colors
7. Layout design
8. Other Effects
Introduction to CSS
Example:
<html>
<head>
<style> center{text-align:center; Color: red;}</style>
</head>
<body> <h1class =“center”> Red and center –aligned heading</h1>
<p class=“center”> Red and center aligned paragraph</p>
</body> </html>
Introduction to CSS
Advantages of CSS
1. These sheets save lot of time and work as they can control layout of
multiple web pages.
2. CSS helps load web pages faster as you need not write HTML tag attributes
every time.
3. CSS is easy to maintain. If you change the style, all other elements will be
automatically updated.
4. CSS provide superior styles as compared to simple HTML.
Introduction to CSS
So,
CSS determines how the elements in our HTML document are displayed and
formatted.
Designed to separate the content of a web page from the presentation of that
content.
Enables us to make all pages of our website look similar and consistent (font,
color)
Allows us to make site-wide formatting changes from a single location (rather
than having to edit each page individually).
Introduction to Programming Language (PL)
So,
Programing language is set of rules that provides a way of telling a computer
what operations to perform.
A PL is set of rules for communicating an algorithm
It provides a linguistic framework for describing computations.
Introduction to Programming Language (PL)
Characteristics of PL.
Characteristics of PL.
These languages are independent of computer system i.e. instead of being
machine-oriented it should be more oriented towards the given problem to be
solved.
Each Instruction of PL should get converted into machine language
instruction.
This language should be easy to understand and should use abbreviation and
words that used in everyday communication.
The PL should be written using common words and mathematical symbols.
Types
Types
1. First Generation PL: This is machine dependent language that can be understood
by the computer. It was mostly used to Addition and subtraction.
2. Second Generation PL: These are known as assembly languages and these need to
be translated into one machine language. These were comparatively easier to
write.
3. Third Generation PL – These were closer to English but included some
mathematical notations as well . E.g. VB,C++, C etc . These are high level
languages (HLL).
4. Fourth Generation PL- These languages required lesser instructions to complete a
particular task. They are used with databases in form designers and report
generators. These are very high level languages like SQL.
5. Fifth Generation PL- These are also known as declarative languages and are based
on mathematical logics. They are also called as natural languages.
First Generation or Machine Language
First Generation or Machine Language: The set of instruction codes which is directly
understood by CPU of computer is known as machine language.
It does not require any translation program.
This is basic computer language.
Such programs vary from computer to computer,
They are machine dependent.
Machine languages consist binary digits for performing internal operations which are
easily understood by the computers.
Having usually two parts- first part contains the command that tells what functions
needs to be performed and second part contains instructions that tells where to store
the data or information.
Such languages are used to adding, subtracting, writing and so on.
First Generation or Machine Language
Disadvantages:
It is machine dependent and vary from one computer to another.
It is easily understood by computer but it is difficult for programmers to
remember dozens of code numbers for different commands or refer to a
reference card every time.
It is difficult to locate errors in machine languages and therefore it is very
difficult to modify errors.
Assembly or Second generation language
The major function of web server is to store and process required information
and provide web pages to its clients.
The whole process of communication between the client and the server takes
place through Hypertext Transfer Protocol(HTTP).
The delivered pages are mostly in HTML format.
Introduction to Web Servers and Server
Products
So, Web server can also be defined as an internet server that responds to client’s
request through http and deliver the required web pages.
For eg. If you are sitting in front of a computer and surfing internet, you get an
email from your friend asking you to check latest fashion updates and offers on
http://www.myntra.com/offers. You can simply type this URL into your web
browser and press enter key.
The website with existing offers will open up in front of you despite the fact that
website or web page is hosted anywhere else in the world.
A web server is always connected to the internet and has unique address with a
series of four numbers between 0 to 255 separated by . Or periods.
This unique address is known as IP address of the computer.
There are different types of web servers available in internet world.
Web hosting companies select any web server based on their client’s
requirements as the number of clients going to work o a single server, software
being used by the client and amount of traffic they would be going to generate.
Introduction to Web Servers and Server
Products
Summary:
Web Server is the computer on which you host your website. It is connected
directly to the Internet and sends hosted web pages to the client using the
Hypertext Transfer Protocol (HTTP).
If you host your Front page site through an Internet Service Provider (ISP) etc.
You may have different types of web servers as:
Windows based servers running IIS i.e Internet Information Services.
Unix based servers running APAche.
Introduction to Databases
Introduction to Databases
Database Refers to systematic and structured collection of data.
Printed catalogues, brochures, telephone, telephone directories etc are all
examples of databases.
This data can be stored in the form of tables, charts,views, reports and queries.
The data is usually stored on the disk and can be accessed by many users at a
time.
Introduction to Databases
DBMS is responsible for access of data, updation of data, security, back up,
recovery, maximal availability and to support interface packages for better
access to its users.
Introduction to Databases
Examples:
Some of the major DBMS include MySQL, Microsoft SQL Server, Oracle, SAP HANA,
MemSQl, SQL Lite, IBM DB2.
Introduction to Databases
Functions of DBMS:
Contains query language
Manage database structure
Controls access to data.
Introduction to Databases
Benefits of DBMS-
After introduction of DBMS, it has become easier for all organizations to keep a
record of all necessary details.
It has become faster to search information on any topic at any time and any
location, which in turn has increased effectiveness of work.
Applications of DBMS:
Applications of DBMS:
Railway Ticket Reservation:- It has become easier to keep a track of ticket
booking, availability of seats, train arrival and departures.
Banking: it is because of DBMS that banks can track every transaction related to
any account. Banking has become easier and we can send and receive money
through our bank account while sitting at our home.
Online Courses and Examination; Through, DBMS, Various Universities and
colleges can provide online training and can also conduct examination at various
centers at the same time. Complete record of student’s registration, fee status,
grades, scores, roll numbers, passing year etc can be maintained.
Applications of DBMS:
Applications of DBMS:
Social Media: Today, we can see that each and every person is connected to
number of friends and relatives through various social media. They can share
their views and post their comments on different topics. People can connect to
each other while sitting comfortably in their homes. It is all because of DBMS.
Online Shopping : Due to today’s busy life style, we have seen that people are
getting attracted towards online shopping as it is much easier and faster.
Moreover, return policies provided by various companies further add to
customer’s satisfaction. A complete record of products ordered, delivery address,
dispatch date, bill, payment and return policy is kept till the product is safely
delivered to each and every customer.
Who uses Computer Databases?
Examples of DBMS
SQL : Introduction to MYSQL
MySQL is a multi-user and multi-threaded DBMS which is quite popular on the web
MYSQL is Structured Query Language.
It is an open source relational database management system that comes in two
versions : MySQL Server System and MySQL embedded system.
MySQL Products: it includes Servers, GUI Tools and Drivers
1. Servers can be community server, enterprise server or embedded server.
2. GUI Tools include administrator, migration tool kit, query browser & visual studio
3. MySQL Drivers include .JDBC, .odbc, .net and .php
4. This server provides multi user access to large number of databases.
5. MySQL server is fast, reliable and easy to use server.
Benefits of MySQL
Benefits of MySQL
1. It’s easy to use : While a basic knowledge of SQL is required and most
relational databases require the same knowledge MySQL is very easy to use.
With only a few simple SQL statements, you can build and interact with
MySQL.
2. It’s secure: MySQL includes solid data security layers that protect sensitive
data from intruders. Rights can be set to allow some or all privileges to
individuals. Passwords are encrypted.
3. It’s inexpensive: MySQL is included for free with Netware 6.5 available by free
download from MySQL Website.
Why to Use MySQL?
Therefore, we can say that MySQL is the most Popular SQL Databases
Management System being used in development of Various web-based software
applications.
Microsoft Access as DBMS
Pharmacy Computer systems are used for variety of functions like printing
patient records, checking drug interactions, updating patient profile and
automated drug dispensing.
Right now computers and pharmacy go hand in hand
Drug and patient databases management; order entry systems; drug
information; billing; purchasing; automated dispensing units; and on and on.
Today we can exchange health information and provide services across
geographic, time and social boundries.
Pharmacy drug Database:
Pharmacy Drug database is created in order to maintain effective and clear data
saving network which can be assessed by any healthcare professional at the time
of need.
Such database reduces time and effort and ensures availability of best available
treatment in a given situation.
As complete information on any drug can be searched, a physician can
simultaneously review various drug indications, side effects, contraindications,
dosages, alternate options, allergic reactions etc.
Hence, one can decide the most effective drug to be prescribed to a patient in
hour of need.
Purpose of Pharmacy Drug database