|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
After you have all the scheduling parameters entered, click the Create button to schedule the task. If you need to modify the task later on, click the task name from the main Tasks page and make the edits on the Edit Scheduler Task page (which looks exactly like the page in Figure 34.13). When youre done making your changes, click the Update button to apply them.
Using the Verity Search EngineColdFusion comes bundled with a version of the popular Verity search engine, making it easy to set up searchable sets of documents. In Verity vernacular, these sets of documents are called collections, and you can create your own collections from the ColdFusion Administrators Verity page (see Figure 34.14). The Verity page is divided into two parts. The top part shows any existing Verity collections and enables you to perform different operations on those collections. The most common task is to index a collection. When you click the Index button, you get the option of specifying (by file extension) which type of files you want to index, the directory you want to index, and whether you want to recursively index subdirectories. When Verity indexes a collection, it examines the contents of each file and builds a database to support search engine queries against those files. The lower part of the Verity page enables you to create a new Verity collection. To do this, you type in a name for the collection, specify the directory where ColdFusion should store the collection, and provide a language context for the collection.
Registering AppletsColdFusion works well with Java applets, but only after you have registered the applet with the ColdFusion Administrator. To do this, go to the Applet page in the Administrator, type in a name for the applet, and click the Register New Applet button. When you do, youll see the page shown in Figure 34.15. The information you have to provide on the Register New Applet page may look familiar to you if you use the <APPLET> tag a lot. The values for the CODE, CODEBASE, METHOD, HEIGHT, WIDTH, VSPACE, HSPACE, and ALIGN attributes are exactly what you would put in the corresponding fields on the registration page. ColdFusion will use this information to write out an <APPLET> tag for you. The text entered in the Java Not Supported Message is exactly what you might specify in an ALT attribute, except what you enter through the ColdFusion Administrator can be marked up with HTML code. In the applet parameters section, you can specify the parameter/value pairs that get passed to the applet. This is analogous to using the <PARAM> tag to pass parameters to an applet placed with the <APPLET> tag. Stopping and Starting ColdFusionOne other important piece of ColdFusion administration that does not appear as an option in the main Administrator interface is stopping and starting the ColdFusion Application Server. Occasionally, youll need to stop the Application Server to update a database file or to refresh the service in the event of a crash. To do this, direct your browser to http://127.0.0.1/CFIDE/administrator/startstop.html. This will load an HTML page with an embedded Java applet that will present you with buttons that stop and start the Application Server (see Figure 34.16).
The ColdFusion Markup Language (CFML)Now that you are familiar with the basics of ColdFusion administration, you can begin to learn CFMLthe language used to develop ColdFusion applications. Two important things to remember about CFML are
As you read earlier, CFML also comes with more than 175 functions for processing specific data structures. These functions are used within tags and make ColdFusion application development that much easier. The next two major sections look at the most useful CFML tags and functions in the context of common tasks you would need to code when developing a ColdFusion application. Documentation covering every CFML tag and function can be found in ColdFusions built-in help and reference material (http://127.0.0.1/CFDOCS/index.html) or in the Help section of the ColdFusion Studio Resource Tab.
CFML TagsCFML tags are similar to HTML tags in that
One thing common to all CFML tags is that the keyword for each tag always begins with the letters CF. This is especially important to remember because some CFML tags, such as <CFFORM> and <CFTABLE>, would be reduced to regular HTML tags if you left the CF off the keywords. The next several sections examine many of the useful tags that make up CFML, including
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |