SlideShare a Scribd company logo
16-17th July 1997Running an Institutional Web Service
Database-WWW Integration
Brenda Lowndes
Computing Services Department
The University of Liverpool
Database-WWW Integration
• What is Database-WWW Integration?
• Why integrate a database with the Web?
• How is data integrated?
• What tools are available?
What is Database Integration?
• Using the information in a database to
create Web pages
• Using a Web browser to access data in a
database
Why Use a Database to Produce Web Pages?
• Institutional data is usually stored in a
database.
• Data is being replicated in HTML pages
– Duplication of data and effort
– Inconsistencies in the data
– Difficult to merge updates
• Web pages can be updated automatically
whenever the database is updated
Why Use the Web to Access Data?
• Familiar interface
• Data can be integrated with other
information in an institution’s web pages
• Platform and vendor independent front-end
• Client machine does not need database
networking software
• Information can be made available to
anyone on the Internet
How is Data Accessed?
• Relational Databases
– HTML pages are generated from the database
• statically
• dynamically
– Java and JDBC downloaded and run on the
client machine or on the server
• Library catalogues, Z39.50 servers, other
free text search and retrieve
Static Access
• A program runs offline to produce the
HTML pages
• Pages copied into web server directories
• Can be automated and scheduled to run
– at specific times
– triggered by a database update
Producing Static HTML Pages
• Any program that can access the database
and output HTML
– programming language and embedded SQL
– report writers
– database scripting language
• Database and Web development software
provides a ‘Save as HTML’ option.
When should you use Static Access?
• Non volatile data
• Fixed or small number of pages
• Predefined requests to the database
– No ad-hoc queries
Dynamic Access
• HTML pages are generated from the
database when the page is requested
• Data always up to date
• HTML forms can be used to define specific
data that is to be retrieved
• Many different pages can be generated
Pages are created by:
• Running a simple program on the server
which outputs HTML
• Extensions to the server which embed data
extracted from the database into an HTML
template file
• Server-side scripts which access the
database and output HTML
Using a Program on the Server
• Typically a series of print statements that
output the whole HTML page
• Usually run as a cgi program
• Written using
– DBPerl
– Embedded SQL
– DBMS report writers
– DBMS scripting language
Running a Program
HTML
CGIWeb Server
Running a Program
HTML
CGIWeb Server
Database Networking Software
Database Networking Software
Database Client
Web Client
Running a Program
HTML
CGIWeb Server
ODBC Driver
Database Networking Software
Database Networking Software
Template Files
• Template specifies
– where the database is
– what data is required
– what HTML is output
• Process can be server filter or extension,
plug in or cgi script
HTML Templates
HTML
Server ExtensionWeb Server
Database
Networking
Software
HTML
Template
Internet Database Connectivity
• Microsoft’s IDC is an extension of their
Internet Information Server
• Uses two files
– .IDC file provides information about the
database and the SQL queries used
– .HTX file provides the HTML template into
which the data from the database is embeddded
•Advantages of Using Templates
• Pages easier to write than full programs
• Requires only a knowledge of HTML and
how to specify an SQL query
• Web development tools from Microsoft and
other suppliers often automate the process
Server-side Scripts
HTML
FilterWeb Server
Client/Serve
r
VBScript
Java
PL/SQL
LiveHTML
Active
Page
Stateless Connection
• Previous access methods do not maintain a
session between the server and the database
• The client requests the data
• The server
– connects to the database
– produces the HTML
– delivers the page to the client
– disconnects from the database
Maintaining a Connection
• Many servers now can maintain a session between
subsequent requests from the client
• These servers can maintain a connection to the
database
• Can define a record set and scroll through records
• Database connection can be closed by a request or
timed out after a defined period of inactivity or
when the server is shut down
Java and JDBC
• JDBC is a Java API for executing SQL
statements
• JDBC statements in a Java applet are used
to access virtually any relational database
• The Java applet is downloaded to the client
• The client establishes the connection with
the database server
Java and JDBC
Java
Applet
Web Server Java Applet
Java and JDBC
Java
Applet
Web Server
Java
Applet
Java
JDBC
Java Applet
What Tools are Available?
See:
http://www.liv.ac.uk/~qq48/publications/html/dbweb.html

More Related Content

What's hot

Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sitesdrupalcampest
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar litbbsr
 
Drop acid
Drop acidDrop acid
Drop acid
Mike Feltman
 
Caching
CachingCaching
Caching
Aaron Scherer
 
WebsitePerformance
WebsitePerformanceWebsitePerformance
WebsitePerformanceVivek Jain
 
e-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challengese-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challenges
Denpong Soodphakdee
 
DRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISHDRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISH
Drupal Portugal
 
Bootstrap SaaS startup using Open Source Tools
Bootstrap SaaS startup using Open Source ToolsBootstrap SaaS startup using Open Source Tools
Bootstrap SaaS startup using Open Source Tools
botsplash.com
 
Nosql databases for the .net developer
Nosql databases for the .net developerNosql databases for the .net developer
Nosql databases for the .net developerJesus Rodriguez
 
Beyond the Basics 1: Storage Engines
Beyond the Basics 1: Storage Engines	Beyond the Basics 1: Storage Engines
Beyond the Basics 1: Storage Engines
MongoDB
 
Reliable dedicated server hosting provider
Reliable dedicated server hosting providerReliable dedicated server hosting provider
Reliable dedicated server hosting provider
Go4hosting Web Hosting Provider
 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 WebAli Usman
 
Simple server side cache for Express.js with Node.js
Simple server side cache for Express.js with Node.jsSimple server side cache for Express.js with Node.js
Simple server side cache for Express.js with Node.js
Gokusen Newz
 
Data streaming-systems
Data streaming-systemsData streaming-systems
Data streaming-systems
imcpune
 
Lviv EDGE 2 - NoSQL
Lviv EDGE 2 - NoSQLLviv EDGE 2 - NoSQL
Lviv EDGE 2 - NoSQL
zenyk
 
No sql databases
No sql databasesNo sql databases
No sql databases
swathika rajan
 
Documenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabulariesDocumenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabularies
Paul Walk
 
Web Application Cache (APC, Memcache)
Web Application Cache (APC, Memcache)Web Application Cache (APC, Memcache)
Web Application Cache (APC, Memcache)
Vijay Kumbhar
 

What's hot (18)

Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar
 
Drop acid
Drop acidDrop acid
Drop acid
 
Caching
CachingCaching
Caching
 
WebsitePerformance
WebsitePerformanceWebsitePerformance
WebsitePerformance
 
e-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challengese-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challenges
 
DRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISHDRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISH
 
Bootstrap SaaS startup using Open Source Tools
Bootstrap SaaS startup using Open Source ToolsBootstrap SaaS startup using Open Source Tools
Bootstrap SaaS startup using Open Source Tools
 
Nosql databases for the .net developer
Nosql databases for the .net developerNosql databases for the .net developer
Nosql databases for the .net developer
 
Beyond the Basics 1: Storage Engines
Beyond the Basics 1: Storage Engines	Beyond the Basics 1: Storage Engines
Beyond the Basics 1: Storage Engines
 
Reliable dedicated server hosting provider
Reliable dedicated server hosting providerReliable dedicated server hosting provider
Reliable dedicated server hosting provider
 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 Web
 
Simple server side cache for Express.js with Node.js
Simple server side cache for Express.js with Node.jsSimple server side cache for Express.js with Node.js
Simple server side cache for Express.js with Node.js
 
Data streaming-systems
Data streaming-systemsData streaming-systems
Data streaming-systems
 
Lviv EDGE 2 - NoSQL
Lviv EDGE 2 - NoSQLLviv EDGE 2 - NoSQL
Lviv EDGE 2 - NoSQL
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
Documenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabulariesDocumenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabularies
 
Web Application Cache (APC, Memcache)
Web Application Cache (APC, Memcache)Web Application Cache (APC, Memcache)
Web Application Cache (APC, Memcache)
 

Viewers also liked

Database exam questions
Database exam questionsDatabase exam questions
Database exam questions
Toxic-_-Minion
 
Database Integration to Improve Accessibility to High-Throughput Sequence Data
Database Integration to Improve Accessibility to High-Throughput Sequence DataDatabase Integration to Improve Accessibility to High-Throughput Sequence Data
Database Integration to Improve Accessibility to High-Throughput Sequence Data
Tazro Ohta
 
Apricot users from across the pond
Apricot users from across the pondApricot users from across the pond
Apricot users from across the pond
apricotbyctk
 
Database Continuous Integration
Database Continuous IntegrationDatabase Continuous Integration
Database Continuous Integration
Steven Wang
 
Why All the Buzz About Database Integration Solutions?
Why All the Buzz About Database Integration Solutions? Why All the Buzz About Database Integration Solutions?
Why All the Buzz About Database Integration Solutions? apricotbyctk
 
Comparison of dbms
Comparison of dbmsComparison of dbms
Comparison of dbmsTech_MX
 
Sl02 2x2 (1)
Sl02 2x2 (1)Sl02 2x2 (1)
Sl02 2x2 (1)
Prasanta Paul
 
Intro to Distributed Database Management System
Intro to Distributed Database Management SystemIntro to Distributed Database Management System
Intro to Distributed Database Management System
Ali Raza
 
Database, 3 Distribution Design
Database, 3 Distribution DesignDatabase, 3 Distribution Design
Database, 3 Distribution DesignAli Usman
 
Distributed Databases
Distributed DatabasesDistributed Databases
Distributed Databaseselliando dias
 
Database fragmentation
Database fragmentationDatabase fragmentation
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
Abhilasha Lahigude
 
8 drived horizontal fragmentation
8  drived horizontal fragmentation8  drived horizontal fragmentation
8 drived horizontal fragmentation
Mohsan Ijaz
 

Viewers also liked (16)

Database exam questions
Database exam questionsDatabase exam questions
Database exam questions
 
Database Integration to Improve Accessibility to High-Throughput Sequence Data
Database Integration to Improve Accessibility to High-Throughput Sequence DataDatabase Integration to Improve Accessibility to High-Throughput Sequence Data
Database Integration to Improve Accessibility to High-Throughput Sequence Data
 
Module 2 handouts part 2
Module 2 handouts part 2Module 2 handouts part 2
Module 2 handouts part 2
 
Apricot users from across the pond
Apricot users from across the pondApricot users from across the pond
Apricot users from across the pond
 
Database Continuous Integration
Database Continuous IntegrationDatabase Continuous Integration
Database Continuous Integration
 
Why All the Buzz About Database Integration Solutions?
Why All the Buzz About Database Integration Solutions? Why All the Buzz About Database Integration Solutions?
Why All the Buzz About Database Integration Solutions?
 
3 design
3 design3 design
3 design
 
Comparison of dbms
Comparison of dbmsComparison of dbms
Comparison of dbms
 
Sl02 2x2 (1)
Sl02 2x2 (1)Sl02 2x2 (1)
Sl02 2x2 (1)
 
DISTRIBUTED DATABASE
DISTRIBUTED DATABASEDISTRIBUTED DATABASE
DISTRIBUTED DATABASE
 
Intro to Distributed Database Management System
Intro to Distributed Database Management SystemIntro to Distributed Database Management System
Intro to Distributed Database Management System
 
Database, 3 Distribution Design
Database, 3 Distribution DesignDatabase, 3 Distribution Design
Database, 3 Distribution Design
 
Distributed Databases
Distributed DatabasesDistributed Databases
Distributed Databases
 
Database fragmentation
Database fragmentationDatabase fragmentation
Database fragmentation
 
Fragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed DatabaseFragmentation and types of fragmentation in Distributed Database
Fragmentation and types of fragmentation in Distributed Database
 
8 drived horizontal fragmentation
8  drived horizontal fragmentation8  drived horizontal fragmentation
8 drived horizontal fragmentation
 

Similar to IWMW 1997: Database-WWW Integration

Web application
Web applicationWeb application
Web application
maliksiddique1
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
Jyoti Yadav
 
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIESSERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
cricketarmy3218
 
Webapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh guptaWebapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh gupta
Shivalik college of engineering
 
Lecture 9: Dynamic web application
Lecture 9: Dynamic web applicationLecture 9: Dynamic web application
Lecture 9: Dynamic web application
Artificial Intelligence Institute at UofSC
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application Technologies
Sam Bowne
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)
Gera Paulos
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
Sam Bowne
 
WEB-DBMS A quick reference
WEB-DBMS A quick referenceWEB-DBMS A quick reference
WEB-DBMS A quick referenceMarc Dy
 
Introduction to Conductor
Introduction to ConductorIntroduction to Conductor
Introduction to Conductor
Jason Gleason
 
introduction to Web system
introduction to Web systemintroduction to Web system
introduction to Web system
hashim102
 
Web Database
Web DatabaseWeb Database
Web Database
idroos7
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
Brian Culver
 
Servlet programming
Servlet programmingServlet programming
Servlet programming
Mallikarjuna G D
 
Project First presentation about introduction to technologies to be used
Project First presentation about introduction to technologies to be usedProject First presentation about introduction to technologies to be used
Project First presentation about introduction to technologies to be used
arya krazydude
 
Web Forms, or How I Learned to Stop Worrying and Love Web Services
Web Forms, or How I Learned to Stop Worrying and Love Web ServicesWeb Forms, or How I Learned to Stop Worrying and Love Web Services
Web Forms, or How I Learned to Stop Worrying and Love Web Services
hannonhill
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learn
John D Almon
 
Power bi vs tableau
Power bi vs tableauPower bi vs tableau
Power bi vs tableau
Affirma Consulting
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
Don Hyun
 
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
OVERVIEW  OF FACEBOOK SCALABLE ARCHITECTURE.OVERVIEW  OF FACEBOOK SCALABLE ARCHITECTURE.
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
Rishikese MR
 

Similar to IWMW 1997: Database-WWW Integration (20)

Web application
Web applicationWeb application
Web application
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
 
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIESSERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
SERVERS BASSIC INTRIDUCTION ,TYPES AND THEIR FUNCTIONALITIES
 
Webapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh guptaWebapplication ppt prepared by krishna ballabh gupta
Webapplication ppt prepared by krishna ballabh gupta
 
Lecture 9: Dynamic web application
Lecture 9: Dynamic web applicationLecture 9: Dynamic web application
Lecture 9: Dynamic web application
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application Technologies
 
Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)Servlets as introduction (Advanced programming)
Servlets as introduction (Advanced programming)
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
 
WEB-DBMS A quick reference
WEB-DBMS A quick referenceWEB-DBMS A quick reference
WEB-DBMS A quick reference
 
Introduction to Conductor
Introduction to ConductorIntroduction to Conductor
Introduction to Conductor
 
introduction to Web system
introduction to Web systemintroduction to Web system
introduction to Web system
 
Web Database
Web DatabaseWeb Database
Web Database
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
Servlet programming
Servlet programmingServlet programming
Servlet programming
 
Project First presentation about introduction to technologies to be used
Project First presentation about introduction to technologies to be usedProject First presentation about introduction to technologies to be used
Project First presentation about introduction to technologies to be used
 
Web Forms, or How I Learned to Stop Worrying and Love Web Services
Web Forms, or How I Learned to Stop Worrying and Love Web ServicesWeb Forms, or How I Learned to Stop Worrying and Love Web Services
Web Forms, or How I Learned to Stop Worrying and Love Web Services
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learn
 
Power bi vs tableau
Power bi vs tableauPower bi vs tableau
Power bi vs tableau
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
 
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
OVERVIEW  OF FACEBOOK SCALABLE ARCHITECTURE.OVERVIEW  OF FACEBOOK SCALABLE ARCHITECTURE.
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
 

More from IWMW

Look who's talking now
Look who's talking nowLook who's talking now
Look who's talking now
IWMW
 
Introduction to IWMW 2000 (Liz Lyon)
Introduction to IWMW 2000 (Liz Lyon)Introduction to IWMW 2000 (Liz Lyon)
Introduction to IWMW 2000 (Liz Lyon)
IWMW
 
Web Tools report
Web Tools reportWeb Tools report
Web Tools report
IWMW
 
Personal Contingency Plan - Beat The Panic
Personal Contingency Plan - Beat The PanicPersonal Contingency Plan - Beat The Panic
Personal Contingency Plan - Beat The Panic
IWMW
 
Whose site is it anyway?
Whose site is it anyway?Whose site is it anyway?
Whose site is it anyway?
IWMW
 
Open Source - the case against
Open Source - the case againstOpen Source - the case against
Open Source - the case against
IWMW
 
IWMW 2002: Avoiding Portal Wars - an MIS view
IWMW 2002: Avoiding Portal Wars - an MIS viewIWMW 2002: Avoiding Portal Wars - an MIS view
IWMW 2002: Avoiding Portal Wars - an MIS view
IWMW
 
What does open source mean for the institutional web manager?
What does open source mean for the institutional web manager?What does open source mean for the institutional web manager?
What does open source mean for the institutional web manager?
IWMW
 
Library 2.0
Library 2.0Library 2.0
Library 2.0
IWMW
 
Social participation in student recruitment
Social participation in student recruitmentSocial participation in student recruitment
Social participation in student recruitment
IWMW
 
Supporting Institutions in Changing Times: Manifesto
Supporting Institutions in Changing Times: ManifestoSupporting Institutions in Changing Times: Manifesto
Supporting Institutions in Changing Times: Manifesto
IWMW
 
IWMW 2019 photo scavenger hunt highlights
IWMW 2019 photo scavenger hunt highlightsIWMW 2019 photo scavenger hunt highlights
IWMW 2019 photo scavenger hunt highlights
IWMW
 
How to Turn a Web Strategy into Web Services
How to Turn a Web Strategy into Web ServicesHow to Turn a Web Strategy into Web Services
How to Turn a Web Strategy into Web Services
IWMW
 
Static Site Generators - Developing Websites in Low-resource Condition
Static Site Generators - Developing Websites in Low-resource ConditionStatic Site Generators - Developing Websites in Low-resource Condition
Static Site Generators - Developing Websites in Low-resource Condition
IWMW
 
Looking to the Future
Looking to the FutureLooking to the Future
Looking to the Future
IWMW
 
Looking to the Future
Looking to the FutureLooking to the Future
Looking to the Future
IWMW
 
Developing Communities of Practice
Developing Communities of PracticeDeveloping Communities of Practice
Developing Communities of Practice
IWMW
 
How to train your content- so it doesn't slow you down...
How to train your content- so it doesn't slow you down... How to train your content- so it doesn't slow you down...
How to train your content- so it doesn't slow you down...
IWMW
 
Grassroots & Guerrillas: The Beginnings of a UX Revolution
Grassroots & Guerrillas: The Beginnings of a UX RevolutionGrassroots & Guerrillas: The Beginnings of a UX Revolution
Grassroots & Guerrillas: The Beginnings of a UX Revolution
IWMW
 
Connecting Your Content: How to Save Time and Improve Content Quality through...
Connecting Your Content: How to Save Time and Improve Content Quality through...Connecting Your Content: How to Save Time and Improve Content Quality through...
Connecting Your Content: How to Save Time and Improve Content Quality through...
IWMW
 

More from IWMW (20)

Look who's talking now
Look who's talking nowLook who's talking now
Look who's talking now
 
Introduction to IWMW 2000 (Liz Lyon)
Introduction to IWMW 2000 (Liz Lyon)Introduction to IWMW 2000 (Liz Lyon)
Introduction to IWMW 2000 (Liz Lyon)
 
Web Tools report
Web Tools reportWeb Tools report
Web Tools report
 
Personal Contingency Plan - Beat The Panic
Personal Contingency Plan - Beat The PanicPersonal Contingency Plan - Beat The Panic
Personal Contingency Plan - Beat The Panic
 
Whose site is it anyway?
Whose site is it anyway?Whose site is it anyway?
Whose site is it anyway?
 
Open Source - the case against
Open Source - the case againstOpen Source - the case against
Open Source - the case against
 
IWMW 2002: Avoiding Portal Wars - an MIS view
IWMW 2002: Avoiding Portal Wars - an MIS viewIWMW 2002: Avoiding Portal Wars - an MIS view
IWMW 2002: Avoiding Portal Wars - an MIS view
 
What does open source mean for the institutional web manager?
What does open source mean for the institutional web manager?What does open source mean for the institutional web manager?
What does open source mean for the institutional web manager?
 
Library 2.0
Library 2.0Library 2.0
Library 2.0
 
Social participation in student recruitment
Social participation in student recruitmentSocial participation in student recruitment
Social participation in student recruitment
 
Supporting Institutions in Changing Times: Manifesto
Supporting Institutions in Changing Times: ManifestoSupporting Institutions in Changing Times: Manifesto
Supporting Institutions in Changing Times: Manifesto
 
IWMW 2019 photo scavenger hunt highlights
IWMW 2019 photo scavenger hunt highlightsIWMW 2019 photo scavenger hunt highlights
IWMW 2019 photo scavenger hunt highlights
 
How to Turn a Web Strategy into Web Services
How to Turn a Web Strategy into Web ServicesHow to Turn a Web Strategy into Web Services
How to Turn a Web Strategy into Web Services
 
Static Site Generators - Developing Websites in Low-resource Condition
Static Site Generators - Developing Websites in Low-resource ConditionStatic Site Generators - Developing Websites in Low-resource Condition
Static Site Generators - Developing Websites in Low-resource Condition
 
Looking to the Future
Looking to the FutureLooking to the Future
Looking to the Future
 
Looking to the Future
Looking to the FutureLooking to the Future
Looking to the Future
 
Developing Communities of Practice
Developing Communities of PracticeDeveloping Communities of Practice
Developing Communities of Practice
 
How to train your content- so it doesn't slow you down...
How to train your content- so it doesn't slow you down... How to train your content- so it doesn't slow you down...
How to train your content- so it doesn't slow you down...
 
Grassroots & Guerrillas: The Beginnings of a UX Revolution
Grassroots & Guerrillas: The Beginnings of a UX RevolutionGrassroots & Guerrillas: The Beginnings of a UX Revolution
Grassroots & Guerrillas: The Beginnings of a UX Revolution
 
Connecting Your Content: How to Save Time and Improve Content Quality through...
Connecting Your Content: How to Save Time and Improve Content Quality through...Connecting Your Content: How to Save Time and Improve Content Quality through...
Connecting Your Content: How to Save Time and Improve Content Quality through...
 

Recently uploaded

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

IWMW 1997: Database-WWW Integration

  • 1. 16-17th July 1997Running an Institutional Web Service Database-WWW Integration Brenda Lowndes Computing Services Department The University of Liverpool
  • 2. Database-WWW Integration • What is Database-WWW Integration? • Why integrate a database with the Web? • How is data integrated? • What tools are available?
  • 3. What is Database Integration? • Using the information in a database to create Web pages • Using a Web browser to access data in a database
  • 4. Why Use a Database to Produce Web Pages? • Institutional data is usually stored in a database. • Data is being replicated in HTML pages – Duplication of data and effort – Inconsistencies in the data – Difficult to merge updates • Web pages can be updated automatically whenever the database is updated
  • 5. Why Use the Web to Access Data? • Familiar interface • Data can be integrated with other information in an institution’s web pages • Platform and vendor independent front-end • Client machine does not need database networking software • Information can be made available to anyone on the Internet
  • 6. How is Data Accessed? • Relational Databases – HTML pages are generated from the database • statically • dynamically – Java and JDBC downloaded and run on the client machine or on the server • Library catalogues, Z39.50 servers, other free text search and retrieve
  • 7. Static Access • A program runs offline to produce the HTML pages • Pages copied into web server directories • Can be automated and scheduled to run – at specific times – triggered by a database update
  • 8. Producing Static HTML Pages • Any program that can access the database and output HTML – programming language and embedded SQL – report writers – database scripting language • Database and Web development software provides a ‘Save as HTML’ option.
  • 9. When should you use Static Access? • Non volatile data • Fixed or small number of pages • Predefined requests to the database – No ad-hoc queries
  • 10. Dynamic Access • HTML pages are generated from the database when the page is requested • Data always up to date • HTML forms can be used to define specific data that is to be retrieved • Many different pages can be generated
  • 11. Pages are created by: • Running a simple program on the server which outputs HTML • Extensions to the server which embed data extracted from the database into an HTML template file • Server-side scripts which access the database and output HTML
  • 12. Using a Program on the Server • Typically a series of print statements that output the whole HTML page • Usually run as a cgi program • Written using – DBPerl – Embedded SQL – DBMS report writers – DBMS scripting language
  • 14. Running a Program HTML CGIWeb Server Database Networking Software Database Networking Software Database Client Web Client
  • 15. Running a Program HTML CGIWeb Server ODBC Driver Database Networking Software Database Networking Software
  • 16. Template Files • Template specifies – where the database is – what data is required – what HTML is output • Process can be server filter or extension, plug in or cgi script
  • 17. HTML Templates HTML Server ExtensionWeb Server Database Networking Software HTML Template
  • 18. Internet Database Connectivity • Microsoft’s IDC is an extension of their Internet Information Server • Uses two files – .IDC file provides information about the database and the SQL queries used – .HTX file provides the HTML template into which the data from the database is embeddded
  • 19. •Advantages of Using Templates • Pages easier to write than full programs • Requires only a knowledge of HTML and how to specify an SQL query • Web development tools from Microsoft and other suppliers often automate the process
  • 21. Stateless Connection • Previous access methods do not maintain a session between the server and the database • The client requests the data • The server – connects to the database – produces the HTML – delivers the page to the client – disconnects from the database
  • 22. Maintaining a Connection • Many servers now can maintain a session between subsequent requests from the client • These servers can maintain a connection to the database • Can define a record set and scroll through records • Database connection can be closed by a request or timed out after a defined period of inactivity or when the server is shut down
  • 23. Java and JDBC • JDBC is a Java API for executing SQL statements • JDBC statements in a Java applet are used to access virtually any relational database • The Java applet is downloaded to the client • The client establishes the connection with the database server
  • 24. Java and JDBC Java Applet Web Server Java Applet
  • 25. Java and JDBC Java Applet Web Server Java Applet Java JDBC Java Applet
  • 26. What Tools are Available? See: http://www.liv.ac.uk/~qq48/publications/html/dbweb.html

Editor's Notes

  1. Currently, database integration with the Web appears to be one of two things Constructing Web pages from data stored in a database Using Web browsers and software on the Web server to retrieve and update data in a database
  2. To avoid duplication of effort and prevent inconsistencies, data should be stored in only one place. It is easier to produce HTML pages from data stored in a database than to produce a database from data in HTML! If the Web page is refreshed whenever the data in the database changes or if the database is accessed dynamically, the most up to date data is always available from the Web page.
  3. The Web browser has become one of the most widely used pieces of software. Using a Web browser, staff in an institution are able to access data using a familiar interface. The data appears in the Web pages without the user knowing where the data has come from. By accessing the data using a Web browser, the data is delivered to the user as just another HTML page. Access to the data can be controlled. Data can be made available only via an intranet or it can be made available to anyone on the Internet..
  4. Web browsers are being used as the client software. This provides a front-end to the database that is independent of the database vendors client software. This provides a platform-independent front-end. The Web server acts as the database client. The Web client does not access the database directly and does not need to have the database networking software installed.
  5. Only discussing access to data in relational databases here.
  6. Database systems and Web development software provide the tools and wizards to automate and schedule the page updates.
  7. Microsoft Access will generate HTML pages based on tables, forms, reports and queries. It also provides simple ‘switchboard’ pages to connect the pages together. Most of the well-known Web development packages will generate static pages from an associated database.
  8. When using static pages, all the requests to the database must be anticipated. It is not possible to build up a query and select only those records in the database that match the query.
  9. Queries can be built up from information entered on an HTML form. The data retrieved from the database is then embedded into the HTML returned.
  10. Perl often used to write cgi-scripts. DBPerl is an library of functions that can be called from Perl to access data in a database. It incorporates ingperl, oraperl etc. Some DBMS scripting languages provide higher level functions to generate HTML code.
  11. Configuration when the database is available on the Web server. The database does not need to be on the Web server but must be in a directory (or share) accessible from the server.
  12. Configuration when database is on a separate database server. Database client networking software must be installed on the Web server. The Web client does not require database client software or networking.
  13. The Web server may be configured to access a specific database server. (e.g. an Oracle server)
  14. Amore general solution uses ODBC to connect the Web server to the database server. The Web server is able to access any database, if it has the appropriate ODBC driver installed. Some, but not all ODBC drivers also require the database networking software to be installed