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. ...

Get Inside ColdFusion™ MX 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.