Chapter 22 Building User-Defined Functions
IN THIS CHAPTER
Thinking About Extending CFML 3
Functions Turn Input into Output 4
Creating Libraries of Related UDFs 13
Creating General-Purpose UDFs 18
Sharing UDF Libraries with Others 21
This chapter introduces you to the world of user-defined functions (UDFs). You can create your own functions to do just about anything you can think of. User-defined functions are easy to write and even easier to use. You use them just like ColdFusion’s built-in functions.
Thinking About Extending CFML
Throughout this book, you have been learning how to use CFML’s built-in tags and functions to produce dynamic Web pages. You have used tags like <cfquery>
and <cfoutput>
to display information ...
Get Adobe ColdFusion 9 Web Application Construction Kit, Volume 2: Application Development 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.