14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Lecture plan Information retrieval (from week 11)
.NET C RYSTAL R EPORTS …Vishal Kumar.. I NTRODUCTION T O C RYSTAL REPORT :- For creating interactive reports that can be integrated into a wide range.
Chapters 14 & 15 Internet Databases. E-Commerce  Bringing new products, services, or ideas to market, supporting and enhancing business operations 
Chapter 10 ADO. What is ADO? ADO is a Microsoft technology ADO stands for ActiveX Data Objects ADO is a programming interface to access data in a database.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
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.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Chapter 14 Database Connectivity and Web Technologies
14 Chapter 14 Databases and The Internet Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Blue Group (ADO) 3/10/98 Universal Data Access with ActiveX Data Objects The Blue Group *Jennifer Kochan *Rebecca Orozco *Chris Papandria *Alicja Stanczak.
Objective In this session we will discuss about : What is ADO. NET ?
Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.
Web-based Software Development - An introduction.
CIS 764 – Presentation Somil Chandwani.  With Microsoft Data Access Components (MDAC), developers can connect to and use data from a wide variety of.
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
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.
Database Systems: Design, Implementation, and Management Tenth Edition
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.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
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.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Fundamentals of Database Chapter 7 Database Technologies.
A Simple Introduction. What is ADO.net? First the word ADO stands for ActiveX Data Objects And it is an integral part of.Net Framework of Microsoft hence.
Databases and Data Access  Introduction to ADO.NET  ADO.NET objects  ADP.NET namespaces  Differences between ADO and ADO.NET.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
Universal Data Access and OLE DB. Customer Requirements for Data Access Technologies High-Performance access to data Reliability Vendor Commitment Broad.
Active Server Pages and Application Service Providers Architecture for 2000 and beyond Krishen Kota Denali Technologies
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Module 9: Accessing Relational Data Using Microsoft Visual Studio.NET.
What is database?  Any Method for access info into Application from DataBase?  ODBC is standard for Accessing Data.  Problem with ODBC:  Information.
How to Connect to Database ODBC (Open Database Connectivity) ADO (ActiveX Data Object) ASP Code To Connect to Database Recordset Object Navigating through.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Introduction to ADO.NET ADO.NET - Lesson 01  Training time: 10 minutes  Author:
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC, OLE DB, ADO, and ASP Part.
Copyright © Curt Hill Connectivity Communicating with the Database.
14 1 Chapter 14 Web Database Development Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
WEB SERVER SOFTWARE FEATURE SETS
Connectivity Solutions from DataDirect™ John Goodson Vice President, DataDirect, R&D.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
ADO.NET Architecture MIS3502: Application Integration and Evaluation David Schuff Adapted from material by Arnold Kurtz, David.
ODBC : Open Database Connectivity SNU OOPSLA Lab. October 2005.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
ADO .NET from. ADO .NET from “ADO .Net” Evolution/History of ADO.NET MICROSOFT .NET “ADO .Net” Evolution/History of ADO.NET History: Most applications.
Chapter 10 1 Figure 10-1: Database-enabled intranet-internet environment.
Integrating Data Lesson 6.
Web-based Software Development - An introduction
Accessing the Database Server: ODBC, OLE DB, and ADO
Database Connectivity and Web Technologies
Chapter 15 Database Connectivity and Web Technologies
ADO.NET Accessing Databases in VS.NET
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 10 ADO.
Database Connectivity and Web Development
Database Connectivity and Web Development
Presentation transcript:

14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

14 2 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel In this chapter, you will learn: About the different database connectivity technologies How Web-to-database middleware is used to integrate databases with the Internet The first steps in building a Web-based database front end using Macromedia ColdFusion What Extensible Markup Language (XML) is and why it is important for Web database development

14 3 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Database Connectivity Refers to mechanisms through which application programs connect and communicate with data repositories Database connectivity software is also known as database middleware Data repository, also known as data source, represents the data management application that will be used to store data generated by application program

14 4 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Native SQL Connectivity Refers to connection interface that is provided by database vendor and is unique to that vendor Best example of that type of native interface is Oracle RDBMS –To connect client application to Oracle database, you must install and configure Oracle’s SQL*Net interface in client computer

14 5 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Native SQL Connectivity (continued)

14 6 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO Open Database Connectivity (ODBC) –Microsoft’s implementation of a superset of SQL Access Group Call Level Interface (CLI) standard for database access –Probably most widely supported database connectivity interface –Allows any Windows application to access relational data sources, using SQL via standard application programming interface (API)

14 7 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued) Data Access Objects (DAO) –Object-oriented API used to access MS Access, MS FoxPro, and dBase databases from Visual Basic programs –Provided an optimized interface that exposed functionality of Jet data engine to programmers –DAO interface can also be used to access other relational style data sources

14 8 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued) Remote Data Objects (RDO) –Higher-level object-oriented application interface used to access remote database servers –Uses lower-level DAO and ODBC for direct access to databases –Was optimized to deal with server-based databases, such as MS SQL Server, Oracle, and DB2

14 9 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued)

14 10 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued) Basic ODBC architecture has three main components: –High-level ODBC API through which application programs access ODBC functionality – Driver manager that is in charge of managing all database connections – ODBC driver that communicates directly to DBMS

14 11 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued)

14 12 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ODBC, DAO, and RDO (continued)

14 13 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel OLE-DB Object Linking and Embedding for Database Database middleware that adds object-oriented functionality for access to relational and nonrelational data Composed of series of COM objects that provide low- level database connectivity for applications OLE-DB model is better understood when you divide its functionality into following types of objects: –Consumers –Providers

14 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel OLE-DB (continued)

14 15 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel OLE-DB (continued) OLE-DB did not provide support for scripting languages ActiveX Data Objects (ADO) provides high- level application-oriented interface to interact with OLE-DB, DAO, and RDO ADO provides unified interface to access data from any programming language that uses the underlying OLE-DB objects

14 16 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel OLE-DB (continued)

14 17 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel OLE-DB (continued)

14 18 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ADO.NET ADO.NET is data access component of Microsoft’s.NET application development framework Introduced two new features critical for development of distributed applications: DataSets and XML support –DataSet is disconnected memory-resident representation of database –DataSet is internally stored in XML format and data in DataSet can be made persistent as XML documents

14 19 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ADO.NET (continued)

14 20 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel ADO.NET (continued) ADO.NET comes with two standard data providers: –Data provider for OLE-DB data sources –Data Provider for SQL Server No matter data provider, it must support set of specific objects in order to manipulate data in data source –Connection –Command –DataReader –DataAdapter –DataSet –DataTable

14 21 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Internet Databases Web database connectivity allows new innovative services that: –Permit rapid response to competitive pressures by bringing new services and products to market quickly –Increase customer satisfaction through creation of Web-based support services –Yield fast and effective information dissemination through universal access from across street or across globe

14 22 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Internet Databases (continued)

14 23 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Web-to-Database Middleware: Server-Side Extensions Also known as Web-to-database middleware Program that interacts directly with Web server to handle specific types of requests Provides its services to Web server in way that is totally transparent to client browser

14 24 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Web-to-Database Middleware: Server-side Extensions (continued)

14 25 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Web Server Interfaces Two well-defined Web server interfaces: –Common Gateway Interface (CGI) – Application programming interface (API)