Macromedia Coldfusion MX 7 Web Application Construction Kit
Of course, you can download and use UDF function libraries that other people have written. Just save the .cfm file that contains the functions to an appropriate place on your server's drive, then include the file with <cfinclude>, just like the other examples in this chapter. You can also share your own general-purpose UDF libraries with others for fun or profit. One place to exchange UDF function libraries is the Macromedia Developer Exchange, at http://www.macromedia.com/cfusion/exchange/index.cfm. Another great place to find or share user-defined functions is the Common Function Library Project, at http://www.cflib.org. CFLib currently has over 800 UDFs released. (Figure 22.3). Figure 22.3. The Common Function Library Project's Web site is another great place to find user-defined functions.
|