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 The Web Browser Software that lets users navigate (browse) Web Located in client computer End-user interface to World Wide Web Interprets HTML code received from Web server Presents different page components in standard way
14 3 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel The Web Browser (continued)
14 4 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Client-Side Extensions Add functionality to Web browser Following three general types: –Plug-ins –Java and JavaScript –ActiveX and VBScript
14 5 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Using a Web-to-Database Production Tool: ColdFusion Web application server –Middleware application that expands Web server functionality by linking it to wide range of services –Provides consistent run-time environment for Web applications
14 6 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Using a Web-to-Database Production Tool: ColdFusion (continued) ColdFusion application middleware can be used to: –Connect to and query database from Web page –Present database data in Web page, using various formats –Create dynamic Web search pages –Create Web pages to insert, update, and delete database data
14 7 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Using a Web-to-Database Production Tool: ColdFusion (continued) ColdFusion application middleware can be used to (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 represent business rules
14 8 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel How ColdFusion Works
14 9 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel The RobCor Sample Database
14 10 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Creating a Simple Query with CFQUERY and CFOUTPUT
14 11 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Creating a Simple Query with CFQUERY and CFOUTPUT (continued)
14 12 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Creating a Simple Query with CFQUERY and CFOUTPUT (continued)
14 13 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Creating a Simple Query with CFQUERY and CFOUTPUT (continued)