The School for Champions is an educational website that shows you how to achieve your dreams.
![]() |
|
|
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 Stepsby 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:
This lesson will answer those questions. There is a mini-quiz near the end of the lesson. Major stepsThe major steps to follow in developing a ColdFusion project are:
Details of stepsThe following details each step. 1. Thoroughly define the requirementsYour 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 databaseColdFusion 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 screensMake 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:
4. Tell what actions are taken in each pageFrom 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-shootAlthough 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 niceYou 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 WebFinally, 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. BenefitsFollowing 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. SummaryIt 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 ResourcesThe following resources provide information on this subject. WebsitesBooksMiscellaneousMini-quiz to check your understanding1. What is a very important first step? 2. Why is a flow chart handy? 3. Why is formatting pages to look nice one of the last steps? 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 linkFeel 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 researchersThe Web address of this page is Where can you go from here?
|
The School for Champions helps you become the type of person that can be can be called a Champion.