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

Chapter 20. Building Reusable Components > Custom Tags That Process Data

Custom Tags That Process Data

So far, this chapter has concentrated on creating custom tags that display information, such as the <CF_ShowMovieCallout> custom tag. Many of the custom tags you will write are likely to be similar to <CF_ShowMovieCallout> in that they will be in charge of wrapping up several display-related concepts (querying the database, including formatting, outputting the information, and so on).

However, you can also create custom tags that have different purposes in life: to process or gather information. This type of custom tag generally doesn't generate any HTML to be displayed on the current page. Instead, these tags just perform some type of processing, often returning a calculated result to the calling template.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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