15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Chapters 14 & 15 Internet Databases. E-Commerce  Bringing new products, services, or ideas to market, supporting and enhancing business operations 
DT228/3 Web Development WWW and Client server model.
9 Review Hachim Haddouti. 9 2 Hachim Haddouti and Rob & Coronel, Final Review How modern databases evolved from files and file systems File Systems vs.
1 Chapter 12 Working With Access 2000 on the Internet.
Chapter Concepts Review Markup Languages
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
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.
Introduction to Web Database Processing
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Technologies for EC/EB Walt Scacchi FEMBA 290 Winter 2003.
Copyright © 2002 Pearson Education, Inc. Slide 4-1 Choosing the Hardware for an E-commerce Site  Hardware platform  Refers to all the underlying computing.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Introduction to Web Interface Technology (CSE2030)
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 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.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Web-Enabling the Warehouse Chapter 16. Benefits of Web-Enabling a Data Warehouse Better-informed decision making Lower costs of deployment and management.
Client-Server Processing and Distributed Databases
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 13 Slide 1 Application architectures.
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
Web Design Scripting and the Web. Books on Scripting.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Database Systems: Design, Implementation, and Management Tenth Edition
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
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
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.
Introduction to Internet Programming (Web Based Application)
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
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.
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
Implementation - Part 2 CPS 181s March 18, Pieces of the Site-building Puzzle Page 180, figure 4.1.
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.
1 CS122B: Projects in Databases and Web Applications Spring 2015 Notes 03: Web-App Architectures Professor Chen Li Department of Computer Science CS122B.
_______________________________________________________________________________________________________________ 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 Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
DB MidWare CSIS 4490 N-Tier Client/Server Dr. Hoganson Database Middleware Early client/server database systems –Two tier –Server does business logic (data.
14 1 Chapter 14 Web Database Development Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Introduction and Principles Web Server Scripting.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Database Connectivity and Server-Side Scripting Chapter 12.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Lect5.ppt - 02/23/06 CIS 4100 Systems Performance and Evaluation Lecture 6 by Zornitza Genova Prodanoff.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Chapter 10 1 Figure 10-1: Database-enabled intranet-internet environment.
Chapter 15 Database Connectivity and Web Technologies
Lecture 1: Multi-tier Architecture Overview
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Database Connectivity and Web Development
Database Connectivity and Web Development
Database Connectivity and Web Development
Presentation transcript:

15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 2 In this chapter, you will learn: How Internet databases are typically used About the architecture of Web-to-database middleware How Web-to-database middleware (ColdFusion) is used to integrate databases with the Internet What special considerations govern Web database development

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 3 Web Database Connectivity Allows rapid response to competitive pressures –New services –New products Customer support enhanced Fast effective information dissemination –Universal access –Local –Around the globe

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 4 Typical Uses of Internet Table 15.2

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 5 Characteristics/Benefits of Internet Technology Hardware & software independence –Cost savings –Uses existing equipment –Platform independence and portability –No need for multiple platform development Common simple user interface –Reduced training –Reduced support

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 6 Characteristics/Benefits of Internet Technology (con’t.) Location Independence –Global access through Internet –Reduced costs for dedicated connections Rapid development at manageable costs –Development tools –Low entry costs –Available software & access tools

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 7 Web-to-Database Middleware Server-side extension –Interacts directly with Web server –Handles specific requests –Also known as Web-to-database middleware –Examples ColdFusion CGI API

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 8 Web-to-Database Middleware Figure 15.1

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 9 Web Server Interfaces Common Gateway Interface (CGI) –Uses script files to connect to database –Perl, C++, VB Application Programming Interface (API) –Newer and more efficient –Uses DLLs –Memory resident and faster –Well known APIs Netscape (NSAPI) Internet Server API from Microsoft (ISAPI) WebSite API from O’Reilly (WSAPI)

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 10 API and CGI Web Server Interfaces Figure 15.2

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 11 Web-to-Database Middleware Connection Methods Native SQL access middleware Use services of Open Database Connectivity (ODBC) Use Object Linking and Embedding Database (OLE DB) interface with Windows ODBC most common

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 12 ODBC to Access Databases Figure 15.3

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 13 Web-to-Database Middleware Uses ODBC to Access Databases Figure 15.4

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 14 Web Browser Located on the client computer End user Web interface Interprets HTML code received from Web server Presents page components in a standard way Client-side extensions –Plug-ins –Java and JavaScript –ActiveX and VBScript

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 15 ColdFusion Web application server Uses –Connect and query database from Web page –Present database data in a Web page –Create dynamic Web search pages –Create Web pages to insert, update, and delete data –Define required and optional relationships –Define required and optional form fields –Enforce referential integrity in form fields –Use simple and nested queries to represent business rules

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 16 How ColdFusion Works Figure 15.5

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 17 How ColdFusion Works Server-side markup language –HTML extensions –ColdFusion Markup Language (CFML) Executed in interpreter mode Contain HTML, CFML May contain Java, JavaScript, or VBScript Client browser requests.cfm page from Web Server –ColdFusion application server executes.cfm script –Sends resulting output in HTML to Web Server –Web server sends to client browser

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 18 ColdFusion Tags CFQuery –Queries a database CFOutput –Displays data returned by query CFTable –Displays data in Tabular format

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 19 ColdFusion Dynamic Query Create script to generate form with criteria used in database search Create script to execute query and display results –Uses ColdFusion tags –Uses HTML

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 20 The Web as a Stateless System Web server does not know status of any client at any given time Request-reply model of communication Browser concerned only with current page Data processing requires additional software –Java, JavaScript, VBScript

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 21 INSERTs and UPDATEs with ColdFusion CFINSERT Tag –Adds records to database –Parameters DATASOURCE TABLENAME CFUPDATE Tag –Updates selected database contents –Parameters DATASOURCE TABLENAME

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 22 DELETEs with ColdFusion CFQUERY Tag –Uses SQL DELETE Statement –Parameters DATASOURCE TABLENAME

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 23 Internet Database: Special Considerations Involve more than just database-enabled Web applications Issues important to corporate databases –Data security –Transaction management –Client-side data validation –Operational and management challenges Database applications development most affected by Internet

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 24 Supported Data Types Integrated data from multiple sources –Word-processor documents –Pictures –Sounds –Movies Methods for storing and extracting data objects Overhead created by storage Client browser support of object being accessed Size of database considering multimedia and other data

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 25 Data Security Web Server Level –Secure transactions using encryption –TCP/IP protocol level –Firewalls RMDBS Vendors –Login authentication –Restrict access to particular SQL commands Web-to-database middleware –End user restrictions –Designer created algorithms Must support e-commerce applications

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 26 Transaction Management Concept is foreign to Web Dilemma created by request-reply model –Web cannot maintain open line between client and database –Recovery requires client maintain open communications Designers must ensure proper transaction management support at database server level ColdFusion uses CFTRANSACTION tag for transaction management support

15 Database Systems: Design, Implementation, & Management, 5 th Edition, Rob & Coronel 27 Denormalization Web forms –Cannot use multiple data entry lines –1:M relationships problematic Solutions –Web programming languages –Java, JavaScript, VBScript