Docsity

Web Database Development - Database Management and Design - Lecture Slides, Slides of Introduction to Database Management Systems

Partial preview of the text

Download Web Database Development - Database Management and Design - Lecture Slides and more Slides Introduction to Database Management Systems in PDF only on Docsity!

Web Database Development

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

Characteristics and Benefits

of Internet Technologies

Typical Uses of Internet Databases

  • Share information businesses are willing to make public
  • Shared information is likely to be based on non-critical data
  • Provide marketing and customer support
  • Provide corporate information to users inside the company (intranets)
  • Provide relevant information to users of another company with which the company does business (extranets)
  • Develop applications

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 the Web server in a way that is totally transparent to the client browser

Web-to-Database

Middleware (ColdFusion)

Windows Applications Use

ODBC to Access Databases

Web-to-Database

Middleware Uses ODBC

to Access Databases

Client-side Extensions

  • Client-side extensions
    • Add functionality to Web browser
    • Three general types:
      • Plug-ins
      • Java and JavaScript
      • ActiveX and VBScript

Using a Web-to-Database

Production Tool: ColdFusion

  • Web application server:
    • Middleware application that expands Web server functionality by linking it to a wide range of services
    • Provides consistent run-time environment for Web applications

Using a Web-to-Database

Production Tool: ColdFusion

(continued)

  • Define required and optional relationships
  • Define required and optional form fields
  • Enforce referential integrity in form fields
  • Use simple and nested queries and form select fields to representDocsity.com

How ColdFusion Works

A Simple Query Using

CFQUERY and CFOUTPUT

The rc-1.cfm Script

Output

(Vertical Listing)