ColdFusion MX: From Static to Dynamic in 10 Steps

Team-Fly    

ColdFusion® MX: From Static to Dynamic in 10 Steps

By Barry Moore

Table of Contents
Step 3.  Databases and SQL

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.


    Team-Fly    
    Top
     

    Категории