• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 9. other functions

Lesson 9. other functions

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


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint