O'Reilly logo

Adobe ColdFusion 9 Web Application Construction Kit, Volume 2: Application Development by 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

Chapter 22 Building User-Defined Functions

IN THIS CHAPTER

Thinking About Extending CFML 3

Functions Turn Input into Output 4

Building Your First UDF 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 ...

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