List of Topics

SfC Home > Web Design > SQL > ColdFusion >

 

ColdFusion Development Steps

by Ron Kurtus (revised 6 May 2012)

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:

This lesson will answer those questions.



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 troubleshoot
  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 troubleshoot

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.


Be methodical in your approach


Resources and references

Ron Kurtus' Credentials

Websites

ColdFusion Resources

Books

Top-rated books on ColdFusion


Questions and comments

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


Share

Click on a button to bookmark or share this page through Twitter, Facebook, email, or other services:

 

Students and researchers

The Web address of this page is:
www.school-for-champions.com/coldfusion/
development_steps.htm

Please include it as a link on your website or as a reference in your report, document, or thesis.

Copyright © Restrictions


Where are you now?

School for Champions

ColdFusion topics

ColdFusion Development Steps




ColdFusion topics

Basics

Development methods

Specific applications

Also see



Let's make the world a better place

Be the best that you can be.

Use your knowledge and skills to help others succeed.

Don't be wasteful; protect our environment.

You CAN influence the world.





Live Your Life as a Champion:

Take care of your health

Seek knowledge and gain skills

Do excellent work

Be valuable to others

Have utmost character

Be a Champion!



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