Early in this chapter we discussed Projects, Version Control, and Remote Development all Studio tools that are intended to help you with the maintenance and organization of your applications. In this section, we will further ‘that discussion by considering search-and-replace functionality and document ‘weight.
Extended Search and Replace
The tools in the Search menu bar are helpful with site maintenance, but the Extended Search and Replace function is definitely the king of the group. Using this function, you can easily search and replace not only items on one page of your application, but items on every page of your project or site because Extended Search and Replace will recursively search through all the difectories you indicate and make the appropriate changes.
In addition, Extended Search and Replace allows the use of Regular Expressions, which provide a powerful mechanism for performing pattern matching in your searches. To use Extended Search and Replace. select Searche-Extended Replace from the menu bar and then follow the prompts in the dialog box.
The term document weigh! refers to how long it takes for a page and all its associated files to do”vriload. Studio has a feature that will calculate the download time based on different modem speeds. To use it, follow these steps:
1. Open a file in Studio.
2. Select Tools>Doc\from the menu bar. You will be presented with a dialog box similar. Notice that the top pane lists all the files that are being downloaded, and the bottom pane gives you the rile sizes for all the files and the estimated download times over different modem speeds.
Custom tags are arguably the most powerful feature of ColdFusion Application Server. so it is only appropriate that Studio allow customization of its own interface to accornmodate them-and so it does. In our earlier discussion of the Help tab, we mentioned that Studio enables developers to create their own Help files and add them to the Help tab in the Reference Tree and the Search interface. Studio goes even further, enabling you to also create your own Tag Editors, customize the Tag Chooser and Expression Builder, and even build your own wizards .
This topic is covered extensively in the Studio Help files. You can access those files by clicking the Help tab and choosing the Customizing the Development Environment book.
Where Do We Go from Here?
The next chapter looks at how to send e-mail usingColdFusion tags. This powerful feature of ColdFusion enables the creation of e-mail messages from within ColdFusion templates. This ability can be usedfor numerous purposes including regular database reports, confirmation messages when users submit special forms, and notifications sent to administrators or Web masters when certain problems or activities occur. Sending e-rnail is done with the CFMAIL tag, which is the focus of the next chapter.