The Setup Directory

In this lesson of the Courseware tutorial, you will learn...
  1. To create the Setup directory.

Setup Files

The Setup directory shoud contains the following files:

  1. Course descriptor
  2. ReadMe.html

Course Descriptor

There should be one course descriptor for each class that can be created from these class files. For example, if there could be an introductory class, intermediate class, and advanced class, then there should be three course descriptors. A course descriptor is an HTML file that follows a very specific structure. The demo below shows how it is formatted.

Code Sample: SetupDirectory/Demos/CFM101.html

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Introduction to ColdFusion 8 Training</title>
  <meta content="Webucator" name="Vendor" />
  <meta content="CFM101" name="CourseID" />
  <meta content="CFM101" name="VendorCourseID" />
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  <link href="Helpers/courseOutline.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="Helpers/courseOutline.js">
   <!---->
  </script>
 </head>
 <body>
  <div id="Overview">
   <p>Introduction to ColdFusion 8 Training is an introductory ColdFusion class for Web designers who are brand new to ColdFusion. This ColdFusion training class assumes no prior server-side Web development experience.</p>
  </div>
  <ul id="Goals">
   <li>Learn how ColdFusion 8 works</li>
   <li>Learn the basics of ColdFusion Markup Language (CFML)</li>
   <li>Learn to pass variables from page to page in ColdFusion</li>
   <li>Learn to process form data in ColdFusion</li>
   <li>Learn to write reusable code</li>
   <li>Learn / Review basic SQL</li>
   <li>Learn to manipulate database data with ColdFusion</li>
   <li>Learn to manage sessions with ColdFusion</li>
  </ul>
  <ul id="Prerequisites">
   <li class="Required">HTML</li>
   <li class="Useful">SQL</li>
   <li class="Useful">JavaScript</li>
   <li class="Useful">CSS</li>
  </ul>
  <ol id="Outline">
   <li>ColdFusion Basics<ol>
     <li>How ColdFusion Works<ol>
       <li>ColdFusion Application Server</li>
       <li>ColdFusion Markup Language</li>
      </ol>
     </li>
     <li>ColdFusion Variables<ol>
       <li>Variable Names</li>
       <li>Variable Prefixes and Scope</li>
       <li>Using &lt;cfoutput&gt;</li>
       <li>Passing Variables on the URL</li>
       <li>ColdFusion Comments</li>
      </ol>
     </li>
     <li>HTML Forms and ColdFusion Variables<ol>
       <li>How HTML Forms Work</li>
       <li>A Sample HTML Form</li>
      </ol>
     </li>
     <li>Built-in Functions<ol>
       <li>ColdFusion Function References</li>
       <li>Date &amp; Time Functions</li>
       <li>Pound Sign Usage</li>
      </ol>
     </li>
     <li>Arithmetic and String Operators</li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Flow Control<ol>
     <li>Conditional Processing<ol>
       <li>If-Else if-Else Blocks</li>
       <li>Switch Blocks</li>
       <li>Decision and Boolean Operators</li>
       <li>Short-circuiting</li>
       <li>Condition Examples</li>
      </ol>
     </li>
     <li>Redirection Using &lt;cflocation&gt;</li>
     <li>isDefined() and &lt;cfparam&gt;</li>
     <li>Loops<ol>
       <li>Index Loops</li>
       <li>Conditional Loops</li>
       <li>List Loops</li>
       <li>Other Types of Loops</li>
       <li>&lt;cfbreak&gt;</li>
      </ol>
     </li>
     <li>&lt;cfsavecontent&gt;</li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Lists and Arrays<ol>
     <li>Lists<ol>
       <li>List Functions</li>
      </ol>
     </li>
     <li>One-dimensional Arrays<ol>
       <li>Creating Arrays</li>
       <li>Reading from Arrays</li>
       <li>Looping through Arrays</li>
       <li>Array Functions</li>
      </ol>
     </li>
     <li>Two-dimensional Arrays<ol>
       <li>Reading from Two-dimensional Arrays</li>
       <li>Looping through Two-dimensional Arrays</li>
      </ol>
     </li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Form Validation<ol>
     <li>&lt;cfform&gt; Basics</li>
     <li>Auto-generated Form Validation<ol>
       <li>Form Validation with &lt;cfform&gt;</li>
       <li>Server-Side Validation without &lt;cfform&gt;</li>
      </ol>
     </li>
     <li>Masking Input Values</li>
     <li>Custom Server-Side Form Validation<ol>
       <li>IsValid()</li>
      </ol>
     </li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Database Access and Authentication<ol>
     <li>A Database-less Login Form</li>
     <li>&lt;cfquery&gt;</li>
     <li>Outputting Database Data</li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Reusing Code and Writing Functions<ol>
     <li>Including Files<ol>
       <li>A Note on Security</li>
      </ol>
     </li>
     <li>Application.cfm and OnRequestEnd.cfm</li>
     <li>User-defined Functions<ol>
       <li>Defining and Calling Functions</li>
      </ol>
     </li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Session &amp; Application Management<ol>
     <li>Sessions<ol>
       <li>Configuring Sessions</li>
       <li>The &lt;cfapplication&gt; Tag</li>
       <li>Basics of Structures</li>
       <li>Session Example</li>
      </ol>
     </li>
     <li>Cookies</li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Working with Files and Directories<ol>
     <li>Using &lt;cffile&gt;<ol>
       <li>Reading from a File</li>
      </ol>
     </li>
     <li>Writing and Appending to Files<ol>
       <li>Uploading a New File</li>
      </ol>
     </li>
     <li>File Functions</li>
     <li>Using &lt;cfdirectory&gt;<ol>
       <li>Listing Directory Contents</li>
      </ol>
     </li>
     <li>Directory Functions</li>
     <li>Conclusion</li>
    </ol>
   </li>
   <li>Sending Email with ColdFusion<ol>
     <li>Configuring Settings<ol>
       <li>Mail Server Settings</li>
       <li>Mail Spooling Settings</li>
       <li>Mail Logging Settings</li>
       <li>Mail Character Set Settings</li>
      </ol>
     </li>
     <li>Using &lt;cfmail&gt;<ol>
       <li>Sending Email as HTML</li>
       <li>Attaching Files</li>
      </ol>
     </li>
     <li>Conclusion</li>
    </ol>
   </li>
  </ol>
  <div id="Book">
   <h1>Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started</h1>
   <ol id="Authors">
    <li>Ben Forta</li>
    <li>Raymond Camden</li>
    <li>Charlie Arehart</li>
   </ol>
  </div>
  <div id="Setup">
   <ol id="Software">
    <li class="Standard">OS-Either</li>
    <li class="Standard">AppServer-CFAS</li>
    <li class="Standard">Editor-ColdFusion</li>
    <li class="Standard">Database-Any</li>
    <li class="Standard">Browser-Any</li>
   </ol>
   <span id="ClassFiles">Webucator</span>
  </div>
 </body>
</html>

Read Me

The ReadMe.html file has instructions for how to get started with setup. This is where people setting up for class will go after they have properly installed all the software needed for class. It should tell people where to put the class files and how to set them up and how to run tests to make sure setup has been done correctly.

If the class can be broken up into different classes, the ReadMe.html file should explain what needs to get done for each class.

This file should be valid XHTML Strict, but there are no other restrictions. There is no need to try to make it look pretty.

The Setup Directory Conclusion

In this lesson of the Courseware tutorial, you have learned to create the Setup directory.

To continue to learn Courseware go to the top of this page and click on the next lesson in this Courseware Tutorial's Table of Contents.

Use of this website implies agreement to the following:

Copyright Information

All pages and graphics on this Web site are the property of Webucator, Inc. unless otherwise specified.

None of the content on this website may be redistributed or reproduced in any way, shape, or form without written permission from Webucator, Inc.

No Printing or saving of web pages

This content may not be printed or saved. It is for online use only.


Linking to this website

You may link to any of the pages on this website; however, you may not include the content in a frame or iframe without written permission from Webucator, Inc.


Warranties

This website is provided without warranty of any kind. There are no guarantees that use of the site will not be subject to interruptions. All direct or indirect risk related to use of the site is borne entirely by the user. All code and explanations provided on this site are provided without warranties to correctness, performance, fitness, merchantability, and/or any other warranty (whether expressed or implied).

For individual private use only

You agree not to use this online manual to deliver or receive training. If you are delivering or attending a class that is making use of this online manual, you are in violation of our terms of service. Please report any abuse to courseware@webucator.com. If you would like to deliver or receive training using this manual, please fill out the form at http://www.webucator.com/Contact.cfm.