O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Single-Tier Applications

The problem with the code in Listing 11.1 (and indeed, all of the code written in the last chapter) is that the presentation code is closely tied to the data access code. Developers refer to this type of application as being single tiered. Basically there is one layer or tier to the application, and it contains everything from database code to application logic.

The processing of the guessing game in Chapter 9, “Programming with CFML,” is an example of application logic.

For simple applications, this may not be a problem. But as applications grow in complexity and size, so does the likelihood of something breaking later when you least expect it. Too many applications have been broken by simple changes in one part of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required