Accessing Databases

In the past few chapters, you created and executed ColdFusion templates. You worked with different variable types, conditional processing, code reuse, and more.

But this chapter is where it starts to get really interesting. Now it’s time to learn how to connect to databases to create complete dynamic and data-driven pages.

Note

The examples in this chapter, and indeed all the chapters that follow, use the data in the ows data sources and database. These must be present before continuing. And I’ll remind you just this once, all the files created in this chapter need to go in a directory named 10 under the application root (the ows directory under the Web root).

For your first application, you will create a page that lists ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.