Web to Database Connectivity Tools Frank Cervone Assistant Director for Systems DePaul University Libraries Access ‘98 October 3, 1998.

Slides:



Advertisements
Similar presentations
The Web: an architectural view. Browser Render HTML Get URL Send HTML Get HTML file HTTPD File System The primitive Web model.
Advertisements

Lecture plan Information retrieval (from week 11)
Adding Dynamic Content to your Web Site
W EB A PPLICATION D EVELOPMENT A PPLICATION T O B IO -I NFORMATICS -III Vicky Khanna M-Tech Bioinformatics.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
1 C. Shahabi Application Programming for Relational Databases Cyrus Shahabi Computer Science Department University of Southern California
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
DT228/3 Web Development Databases. Database Almost all web application on the net access a database e.g. shopping sites, message boards, search engines.
Integration case study Week 8 – Lecture 1. Enrolment request (Workstation) Application server Database server Database New University Student Record System.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
14 Chapter 14 Databases and The Internet Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
CIS 365 Vandana Janeja Nov 27 th 2001 Connecting Cobol programs to Other Languages- Visual Basic, Java,HTML.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Web Integration to an Appx Backend Server. Unix web servers + CGI Win2K web servers + ASP Win2K web servers + ODBC Processing requests Generating HTML.
Web-based Software Development - An introduction.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
1 Section 6 Embedded SQL. 6-2 CA306 Embedded SQL Section Content 6.1Embedded SQL 6.2Java Database Connectivity 6.3Web Databases.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Student Learning Environment on the World Wide Web l CGI-programming in Perl for the connection of databases over the Internet. l Web authoring using Frontpage.
Fundamentals of Database Chapter 7 Database Technologies.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Java CGI Lecture notes by Theodoros Anagnostopoulos.
2-1 WEB DATABSE INTERFACING Colorado Technical University IT420.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
CSS/417 Introduction to Database Management Systems Workshop 4.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 6 Server-side Programming: Java Servlets
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Database Connectivity and Server-Side Scripting Chapter 12.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
Introduction to CGI PROG. CGI stands for Common Gateway Interface. CGI is a standard programming interface to Web servers that gives us a way to make.
Lesson 11. CGI CGI is the interface between a Web page or browser and a Web server that is running a certain program/script. The CGI (Common Gateway Interface)
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Internet/Web Databases
Web-based Software Development - An introduction
DEPTT. OF COMP. SC & APPLICATIONS
Accessing the Database Server: ODBC, OLE DB, and ADO
Server-Side Application and Data Management IT IS 3105 (Spring 2010)
Web Browser server client 3-Tier Architecture Apache web server PHP
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Java API for Database Connectivity
Presentation transcript:

Web to Database Connectivity Tools Frank Cervone Assistant Director for Systems DePaul University Libraries Access ‘98 October 3, 1998

Introduction Databases Database APIs Programming Languages Access Models

Databases Flat files Relational databases Object-oriented databases

Flat Files Simple implementation –regular text –basic encoding –word, excel files

dbm Files UNIX/gnu library of routines that manage data files containing key/data pairs read, write, delete by key nonsorted traversal of all keys

dbm File Example There is no inherent mechanism for ensuring data consistency

Relational Databases Most common data management scheme Data is organized into two-dimensional tables of rows and columns –Data is decomposed to its simplest form –Normalization reduces data inconsistency –Referential integrity

Relational Database Example Student Table Course Table Enrollment Table

Object-oriented Databases Can mean many things Data exists as objects –each object encapsulates data (attributes) methods (procedures) is a member and instance of a class of objects may be a subset of a class and inherit characteristics of the superclass

Object-oriented Example Students Courses

Database APIs Native-interface ODBC JDBC CORBA

Native Interface Low-level interface Direct call from a program to an access method to retrieve data Typically only used directly when accessing flat files Often used from compiled programming languages

ODBC Open Database Connectivity Standard method for applications to request database information from other applications (i.e., database servers) Common interface and language (SQL) to disparate database systems Examples: Oracle, MS-SQL Server, MS-Access, DB2

ODBC Example Application MS-Access Driver Driver Manager MS-Access Database Oracle Driver Oracle Database MS-SQL Driver MS-SQL Database

JDBC™ Java Database Connectivity Interface to ODBC for Java programs Standard method for Java programs to request database information from other applications (i.e., database servers) Common interface and language (SQL) to ODBC-compliant database servers

CORBA Common Object Request Broker Architecture Standard method for requesting objects from object-oriented database servers Adoption has been slow, but is growing

Programming Languages Java C and/or C++ PERL/CGI VBScript/ASP

CGI Common Gateway Interface A standard programming interface to web server applications These applications act as gateways between the web server and the database

CGI Overview Client Web Browser Web Server Program or Script Database

CGI Details Browser sends URL request with embedded CGI program name Web server set environment variables, executes program, and passes form data via STDIN Program examines environment variables, reads STDIN, performs requested functions, calls database Database receives request from program and retrieves data

CGI Details Continued Database returns data to calling program Program acts on returned data –HTML page, text page, redirect command –sends results to web server via STDOUT Web server creates HTTP-formatted result Browser displays web page

CGI Interaction Client Web Browser Web Server Program or Script Database HTTP CGI ODBC

Using Databases from the Web CGI program –C, C++ –PERL Intermediate program –mSQL/Lite Database with web support –FileMaker Pro Special web server –VBScript/IIS –ColdFusion

Displaying the Data CGI program - –generates the web page on the fly Database with web support –page is generated by database program Intermediate program/Special web server - –page is interpreted and a new one is generated in its place

Interpreted Page Example <% set conn=server.createobject(“adodb.connection”) conn.open “DSN=Students;uid=master;pwd=test” set result=conn.execute(“select * fromenrollment”) response.write “ ” for I=0 to howmanyfields response.write “ ” & result(i).name & “ ” next response.write “ ”.. (etc.)

Scenarios FileMaker Pro MS-IIS/VBScript mSQL/Lite ColdFusion/Oracle

Suggestions Understand your current needs Project for your future plans Keep server diversity to a minimum Hire/train appropriate personnel