This article, the second of two parts, explains how to use ColdFusion 6.1 in conjunction with Dreamweaver MX 2004 to build dynamic web sites. It is excerpted from chapter one of the book ColdFusion Web Development with Dreamweaver MX 2004, written by Jen and Peter deHaan et al. (Apress, 2004; ISBN: 1590592379).
Welcome to Coldfusion MX 6.1, concluded - Data and Services (Page 2 of 5 )
The next major section, Data and Services, has four different areas. You use these to create data sources, assign aliases to web services, and set up the Verity search engine (described shortly).
This is where you define your data sources for each database for this server. A data source is essentially an alias (that you define on your server) that allows you to communicate with your database.
ColdFusion MX 6.1 ships with an indexing engine called Verity, which allows you to build a search engine for your web site. Verity lets you index MS Word documents, Adobe PDFs, databases, and most other document types. For more information on Verity, check out Macromedia’s online documentation athttp://livedocs.macromedia.com/ coldfusion/6.1/htmldocs/indexseb.htm#wp1160419.
Verity K2 Server
Macromedia ships with a limited version of Verity’s K2 Server, which is used to index and search documents within a site. Using Verity K2 Server, you can create “collections” of documents (such as MS Word documents or Adobe PDFs), search the collection(s) for a combination of words, and display the results within your ColdFusion MX 6.1 pages sorted by a ranking generated by Verity, and much more. You can find more information on Verity and the K2 Server atwww.verity.com.
This is where you can set up aliases for your commonly used web services. Instead of always typing the URL to the web service you want to use, you can simply register it in this section. For example, you can set up an alias called GoogleSearch for the URLhttp://api.google.com/GoogleSearch.wsdl. We cover web services in detail in Chapter 10.