The School for Champions is an educational website that shows you how to achieve your dreams.

School for Champions

SfC Home > ColdFusion >

Explanation of what steps to take to develop a project in ColdFusion. Also refer to project management, software, flowchart, coding, programming, database, Ron Kurtus, School for Champions. Copyright © Restrictions

ColdFusion Development Steps

by Ron Kurtus (revised 15 March 2001)

In developing any software project, you should follow good project management methods and do sufficient up-front planning. This will make the programming easier and will help to minimize problems later on. This is also true for developing a project in ColdFusion.

Questions you may have include:

  • What are the major steps you should follow?
  • What are the details of these steps?
  • What are the benefits of following such a scheme?

This lesson will answer those questions. There is a mini-quiz near the end of the lesson.

Major steps

The major steps to follow in developing a ColdFusion project are:

  1. Thoroughly define the requirements
  2. Set up your database
  3. Flowchart your screens
  4. State actions for each page and input code
  5. Test and trouble-shoot
  6. Format the pages to look nice
  7. Deliver on the Web

Details of steps

The following details each step.

1. Thoroughly define the requirements

Your goal is to satisfy the need of your customer or the user. Some projects consist of only one requirement, such as when the company needs a listing of employee records for human resources to administer. That is pretty straightforward.

In other cases, the desire is complex-like in the case of e-commerce. In such a situation, you need to outline that objective and its requirements into smaller pieces. For example in e-commerce, steps may be listing the products, using a shopping cart, and purchasing the product. You should then define each as a mini-project with separate specifications.

2. Set up your database

ColdFusion usually accesses a server database for information used in populating a page. The database may already be in existence or you will set up your database as part of the coding process.

You need to know the names of the tables you will use in your database, as well as the field names. You also need to note the type of fields, because that influences some of the ColdFusion coding punctuation.

Often, it is necessary to break a table into several relational tables. You must also know the primary and foreign keys of relational tables. It is essential to document the names and types of your database tables and fields as an aid for writing your ColdFusion code and SQL instructions.

3. Flowchart your screens

Make a flowchart of your screens and state what each function does.

For example, if the goal of the project was to provide a way for people to find company employee information online, the screens would be:

  1. Welcome screen with choices of finding employee by name or department.
  2. Department screen with list of employees, with option of selecting one for details.
  3. Employee screen, with option to check for details.
  4. Detail screen for employee.

4. Tell what actions are taken in each page

From the flowchart, take each page and tell what actions are taken. For example, the Department screen queries the database for a list of employees in the designated department. Each employee name provides a link to a Details page.

You can then add the code for these specific actions. Doing it in this manner gives you a better picture of what you are to code and minimizes coding errors.

5. Test and trouble-shoot

Although you can try to test the whole project, it is often easier to check out each snippet of code, one at a time, to make sure the coding and database access is correct.

6. Format the pages to look nice

You can format the pages to make them pleasing to use, as well as to conform to the company look. You can add color, images and such.

7. Deliver on the Web

Finally, you must put your database and files on the Web and try them out in the real world. You need to have your Web administrator set up your database for use with a ColdFusion server.

Benefits

Following a systematic approach helps you avoid the pitfalls of spending excess time on trouble-shooting. In a complex project, it is essential to maintain a good overview so that you do not lose control of the coding process.

Summary

It is important to plan things out before you start coding. You should establish the project requirements, flowchart the screens, set up your database, and then add coding. Finally, you test and format the page. You will benefit by shortening the time required to develop the project, as well as maintaining better control over the process.

Answers to Readers' Questions


Be methodical in your approach


Resources

The following resources provide information on this subject.

Websites

ColdFusion Resources

Books

Top-rated books on ColdFusion

Miscellaneous


Mini-quiz to check your understanding

1. What is a very important first step?

Purchase a new computer

Format you pages

Define the requirements

2. Why is a flow chart handy?

It is good for marketing

It allows you to picture your navigation

It is a substitute for good coding

3. Why is formatting pages to look nice one of the last steps?

It is the most important step

Organization of the page may change during the coding process

Because you really don't need to bother with it

If you got all three correct, you are on your way to becoming a Champion in ColdFusion Development. If you had problems, you had better look over the material again.


What do you think?

Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. We will try to get back to you as soon as possible.


Share link

Feel free to establish a link from your website to pages in this site.

Or use our form to send this link to yourself or a friend.


Students and researchers

The Web address of this page is
www.school-for-champions.com/coldfusion/developsteps.htm. Please include it as a reference in your report, document, or thesis.


Where can you go from here?

School for Champions

ColdFusion topics

ColdFusion Development Steps

The School for Champions helps you become the type of person that can be can be called a Champion.