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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access