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

Trying It Yourself

Codegen is OK for some tasks (and is wonderful for rapid prototyping), but more often than not it won’t be enough. This is why most of this book discusses coding. To give you a taste of what’s to come, try this small (and very simple) application. I won’t go into the details of the code itself; for now, concentrate on creating and executing CFM files so they work. If you can get all these to function, you’ll have a much easier time working through the book.

The bday application is really simple; it prompts you for your name and date of birth and calculates your age, using simple date arithmetic. The application is made up of two files:

  • bday1.cfm (shown in Listing 4.1) is the form that prompts for the name and date of birth. ...

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