Chapter Seven – Database Processing Applications
TEACHING SUGGESTIONS
• This chapter introduces the advanced topics of database processing over the Web,
XML, and JSON. There is more information on each of them in David M. Kroenke
and David J. Auer, Database Processing: Fundamentals, Design, and
Implementation (14th Edition), Upper Saddle River: Prentice Hall (2016).
• See Online Appendix I, “Getting Started with Web Sites, PHP, and the NetBeans
IDE” for information on setting up the Microsoft IIS Web server, PHP, and the
NetBeans IDE. Make sure that all components are installed correctly before
attempting the material in this chapter!
• See Online Appendix K, “Big Data” for more information on XML and JSON.
• The use of Web access to databases is critical to contemporary Web sites. Have
your students do the end of the chapter work on Web access to databases.
• Demonstrate in class how to create a System DSN. All workstations have an ODBC
Data Source Administrator available, so you should be able to do this with only a
notebook or workstation in your classroom. Note the possibility of two programs
existing—one for 32 bit programs and one for 64-bit programs as noted in the text.
Be sure you are using the correct version! If possible, assign each of your students
the task of creating their own System DSN.
• This chapter is basically divided into two major parts. The first is a mostly theoretical
discussion of database access tools such as ODBC and ADO.NET. The second is a
practical, hands-on introduction to Web database applications using PHP. This
second part introduces basic PHP constructs the student needs to display database
information on Web pages.
• The text does not include any introduction to HTML. Check to see what level of
expertise your students have with HTML. If the overall level is low, consider
introducing HTML before covering PHP (See http://www.w3.org/MarkUp/Guide/ for
an introduction, and http://www.w3.org/MarkUp/Guide/Advanced.html for more
advanced topics.) A good HTML project is to have your students create—for each
database project you assign—a project HTML page to link to each of the Web pages
asked for in the project. If you assign more than one database project, you can also
have them create a master HTML page to link to each of the project HTML pages.
• If you have time, talk more about database system security. The text uses the user
login and database account created in Chapter 6 to access the SQL Server 2016
database. Be sure that you have created the necessary accounts and granted the
correct permissions!