O'Reilly logo

Inside ColdFusion™ MX by Robi Sen, Neil Ross, John Cummings

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

Chapter 5. Reusing Code

The more experienced you become with developing ColdFusion-based web applications, the more you realize the need for convenient, quick ways to put together your code so that it can be reused easily and frequently. Fortunately, ColdFusion gives you different choices in how you can bring prewritten ColdFusion Markup Language (CFML) code into new or existing applications.

In this chapter, we discuss the different ways in which ColdFusion enables you to create sections of code that are portable and easily reused. We also look at some examples of putting these segments of code into existing CFML applications.

CFINCLUDE

The CFINCLUDE tag will likely be your first encounter with code reuse when developing ColdFusion applications. ...

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