Introduction to Web Database By Rimpi Suman 1 1 Unit-6.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

DT228/3 Web Development WWW and Client server model.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
Project 1 Introduction to HTML.
Introduction to Web Database Processing
DT211/3 Internet Development Application Internet Development Application.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Interface Technology (CSE2030)
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
1st Project Introduction to HTML.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
INTRODUCTION TO WEB DATABASE PROGRAMMING
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Chapter 1: Introduction to Web
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
Session I Chapter 1 - Introduction to Web Development
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Introduction and Principles Web Server Scripting.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Introduction to the World Wide Web & Internet CIS 101.
Web Page Programming Terms. Chapter 1 Objectives Describe Internet and Understand Key terms Describe World Wide Web and its Key terms Identify types and.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
National College of Science & Information Technology.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
4.01 How Web Pages Work.
CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang
DHTML.
Web Programming Language
4.01 How Web Pages Work.
Distributed Control and Measurement via the Internet
Web Technologies Computing Science Thompson Rivers University
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
WWW and HTTP King Fahd University of Petroleum & Minerals
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Introduction and Principles
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
PHP / MySQL Introduction
APTECH JANAKPURI INSTITUTE PROVIDING WEB DESIGNING COURSES Address:- J-1,2nd Floor, Opp Metro Pillar No – 559, Janakpuri East, Delhi /42.
CISC103 Web Development Basics: Web site:
Chapter 27 WWW and HTTP.
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
JavaScript.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Introduction to World Wide Web
An Introduction to JavaScript
4.01 How Web Pages Work.
Web Application Development Using PHP
Presentation transcript:

Introduction to Web Database By Rimpi Suman 1 1 Unit-6

Contents By Rimpi Suman 2  World Wide Web  Client Side scripting & Applets  Web Server & Session  Web Services  Server side Scripting  XML  Structure of XML Data  XML document Schema  Xquery  Storage of XML Data  XML Application 2

By Rimpi Suman 3 World Wide Web

By Rimpi Suman 4

Web client/server architecture By Rimpi Suman 5

Communication Protocols and Web Addresses By Rimpi Suman 6 Web address –Also called Uniform Resource Locator (URL) URL Components

Basics of Web: Client and Server By Rimpi Suman 7 Server : A program that provides services to other programs. It stands ready for requests and when it gets a request, it provides the service. Client : A program requesting a service of a server program. It makes a request, gets the service, and makes use of it.

Basics of Web: HTML and HTTP By Rimpi Suman 8 HyperText Markup Language - Allows “marking up” a document with tags specifying appearance and structure. HyperText Transfer Protocol - Protocol used for browsers to communicate with web servers. Basically, this consists of“requests” from the browser and “responses” from the server.

Basics of Web:Web Browsers and Servers By Rimpi Suman 9 Web server - This is a program that runs on the internet host computer (server machine). It takes requests for web pages from clients and delivers the pages back to the client. Web browser - This is a program that runs on your local PC (client). It allows you to request web pages from an internet host.

Task’s Of Web Server: By Rimpi Suman 10 Handling a client request consists of several key steps:  Parsing the request message  Checking that the request is authorized  Associating the URL in the request with a file name  Constructing the response message  Transmitting the response message to the requesting client

“Web Site! Vs Web Server!” By Rimpi Suman 11  Web site and Web server are different:  A Web site consists of a collection of Web pages associated with a particular hostname.  A Web server is a program to satisfy client requests for Web resources.

Typical HTML Request  Client Side (Browser)  Issues request for HTML page  Receives response HTML page  Interprets HTML and creates web page  Displays web page  Work is done here  Server Side  Reads request from client  Finds page on server  Sends response page to client  Essentially a file server By Rimpi Suman 12

HyperText Markup Language By Rimpi Suman 13 Sample HTML Source Code ID Name Department J.Muzamil Idroos Comp. Sci. ID Name Department N.Parthiban Comp. Sci. ID Name Department R.siva Comp. Sci. ID Name Department S.Ramachandran Comp. Sci. Student Instructor Name:

By Rimpi Suman 14

Output of HTML source code By Rimpi Suman 15

By Rimpi Suman 16 HTML codes are written using Text editor,there are number of editors that permit direct creation of HTML by using graphical interface Eg: Adobe DreamWeaver HTML supports stylesheets, which can alter the default definition of how an HTML formatting contruct is displayed. Cascading Style Sheets (CSS)used for multiple HTML documents,giving distinct but uniform look to page on a web site…

Cascading Style Sheets By Rimpi Suman 17 #nav { width: 100%; float: right; background-color: #F2F5A9; } #nav li { text-align: left; float:left; } #nav li a { display: block; padding: 15px 45px; text-decoration: BOLD; font-weight: bold; color: #088A29; } #nav li a:hover { color: #FF0000; border-right: 5px solid #FFFFFF; } For top menu widget

HTML page without CSS By Rimpi Suman 18

HTML pagewith CSS By Rimpi Suman 19

Dynamic and Static Web pages By Rimpi Suman 20 Static Web page –Page content established at the time page is created –Useful for displaying data that doesn’t change often, and for navigating between HTML Web page files Dynamic Web page –Also called an interactive Web page –Page content varies according to user requests or inputs

Approaches for Creating Dynamic Web Pages By Rimpi Suman 21 In server-side processing, the Web server: –Receives the dynamic Web page request –Performs all of the processing necessary to create the dynamic Web page –Sends the finished Web page to the client for display in the client’s browser

Approaches for Creating Dynamic Web Pages(cont..) By Rimpi Suman 22 Client-side processing –Some processing is done on the client workstation, either to form the request for the dynamic Web page or to create or display the dynamic Web page –Eg: JavaScript code to validate user input. –Often needs to be “executed” by the Browser.

Server-side and client-side Web database technologies By Rimpi Suman 23

Client Side Scripting and Applets By Rimpi Suman 24 Scripting languages - Allow us to add capability to what’s provided by HTML. Allow parts of the page to be built “on the fly”. These scripts are “interpreted” as they run rather than being compiled. Client-side scripts - Script engine on client machine builds parts of page when page is loaded by browser (date is simple example). JavaScript is prime example.

Client Side Scripting and Applets(cont..) By Rimpi Suman 25 JavaScript is commonly used in variety of tasks Exaple:Validation,such as date format,value entered in appropriate range(such as range).

Client Side Scripting and Applets(cont..) Applets are java programs that can be embedded in HTML documents and can run inside a web browser. The applet code resides on the web server and gets downloaded in the browser whenever the web page containing the applet is requested by the browser. MySQL is the world's most popular open source database. By Rimpi Suman 26

Server-side Processing Web Servers and Sessions: By Rimpi Suman The most common server-side dynamic Web page technology uses HTML forms –Enhanced documents designed to collect user inputs and send them to the Web server –HTML forms allow users to input data using text boxes, option buttons, and lists 2. web session, the session is a data structure that an application uses to store temporary data that is useful only during the time a user is interacting with the application, it is also specific to the user.

Cookies By Rimpi Suman 28 A cookie is a small piece of text containing identifying information –Sent by server to browser Sent on first interaction, to identify session –Sent by browser to the server that created the cookie on further interactions part of the HTTP protocol –Server saves information about cookies it issued, and can use it when serving a request E.g., authentication information, and user preferences Cookies can be stored permanently or for a limited time

Servlets By Rimpi Suman 29 Javaservlets are pieces of Java code that run in Web servers. There are special conventions on how to read the input from the user request and how to write output generated by the servlet. Servlets are truly platform-independent, and so they have become very popular with Web developers.

Server side Scripting By Rimpi Suman 30 Several scripting language are available in recent years eg: JavaScript,Jscript,Java Server Page(JSP),HyperText Preprocessor(PHP),Active Server Pages(ASP)..etc. It is even possible to embed code written in VBScript,Perl,and Python into HTML pages.ASP supports embedded VBScripts and Jscripts.

Server side Scripting(cont..) By Rimpi Suman 31 PHP is widely used for Web server scripting Extensive libaries including for database access using ODBC Hello <?php if (!isset($_REQUEST[‘name’])) { echo “Hello World”; } else { echo “Hello, ” + $_REQUEST[‘name’]; } ?>

Web Service By Rimpi Suman 32

Types Of web service Big Web Service (SOAP) RESTful web sevice By Rimpi Suman 33

Big Web Service Big web services are based on SOAP standard that use XML message. An XML language define Message format and message standard. By Rimpi Suman 34

SOAP(Simple object access protocol) SOAP provide an envelop for transferring message over internet. By Rimpi Suman 35

RESTful web service RESTful web services are based on the way how our web works. Our very own world wide web (www) – the largest distributed application – is based on an architectural style called REST – Representational State Transfer. REST is neither a standard nor a protocol. It is just an architectural for example client-server architecture (client-server is neither a standard nor a protocol). Web services following this architectural style are said to be RESTful Web services. By Rimpi Suman 36

37 Web-DBMS Advantages By Rimpi Suman 37 Simplicity Platform Independence GUI Cross-Platform Support Scalable Deployment

38 Web-DBMS Disadvantages By Rimpi Suman 38 Reliability Security Cost – commercial web site cost high Scalability Limited Functionality of HTML Bandwidth Performance