Lesson 9. other functions

I l @ ve RuBoard

As you know by now, functions are capable of performing many different tasks in ColdFusion. They can be used to format and manipulate dates and strings, check for the existence of variables, create and manipulate complex variables , perform mathematical operations, and a slew of other duties .

In this lesson, you're going to go back into some of the earlier lessons to apply different functions on different pieces of the project. Obviously the project files are fine without these functions, but the functions will enhance the templates. You will use functions that perform operations visible to users, for improving the appearance of your site. You will also use functions that perform behind-the-scenes operations that the user is not aware of, but that streamline your code on the back end.

The Expression Builder gives you access to every function available to ColdFusion.

WHAT YOU WILL LEARN

In this lesson you will:

  • Use the trim function to remove excess white space

  • Use the round function to round off numerical values

  • Display dynamic messages

  • Explore how various functions can add timesaving features to your management operations and customer-friendly processes to your front-end Web site

APPROXIMATE TIME

This lesson will take approximately 40 minutes to complete.

LESSON FILES

Starting Files:

Lesson9\Start\productinsert.cfm

Lesson9\Start\productinfo.cfm

Lesson9\Start\productinsertform.cfm

Completed Files

Lesson9\Complete\productinsert.cfm

Lesson9\Complete\productinfo.cfm

Lesson9\Complete\productinsertform.cfm

I l @ ve RuBoard


Macromedia ColdFusion 5. Training from the Source
Macromedia ColdFusion 5 Training from the Source (With CD-ROM)
ISBN: 0201758474
EAN: 2147483647
Year: 2002
Pages: 99
Authors: Kevin Schmidt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net