In this step, we looked at several concepts that will help us create data-driven web pages. By using ColdFusion Administrator and JDBC/ODBC, we can connect to just about any type of database. After we have established a connection, we can use <CFQUERY> tags in conjunction with SQL to request information from a data source. Finally, we can output that information in our web pages by using the ubiquitous <CFOUTPUT> tag. There, it wasn't as hard as you thought, was it? In the next step, we will examine how to control the flow of our application using conditional logic. |