
ColdFusion MX 7 Getting Started Experience Tutorial Page 15 of 47
Figure 21. Complete row of
data inserted
11. Switch to Code view to review how the data you entered looks with the additional HTML. The HTML that was inserted
in the first and third rows looks different from the HTML that you inserted in the second row. One way is not better
than the other, and both display the same way in the browser.
Manually adding a row of data is not difficult, but it can be very time consuming if you are managing a lot of
information and that information changes frequently. The task becomes even more tedious if you are adding only one
or two artwork pieces, but you want to keep items alphabetized. This task requires you to not only insert rows, but
also to move all the data downstream from cell to cell to make room for the new pieces.
Storing information in a database and using the power of ColdFusion MX 7 to retrieve and display this data ensures
that the time you would spend managing your HTML files is freed for other tasks.
Learning Point: Database interfaces not required
It is okay if you do not have Microsoft Access installed on your computers. If you want to create or modify databases, you
will need an interface for this purpose. However, ColdFusion can connect to each of these databases without the need for
a visual interface. More information about database drivers is available later in this tutorial.
12. Analyze the HTML display and its relationship to the tables stored in the database.
Figure 22. HTML data
relationship to tables and
columns in the database
Kommentare zu diesen Handbüchern