22 March 2010
This tutorial is intended for:
In Part 1, you learned how to set up a ColdFusion data source and Flash Builder project. In this section, you will generate the ColdFusion components (CFCs) using ColdFusion Builder. This section is optional, as you can use the CFCs provided in the next section to import into the Flash Builder Data Service. You can skip to the next section, or continue to see how easy it is to generate Object-relational mapping (ORM) components. In Part 3, you will set up a Flash Builder data service project with ColdFusion for use with the Fictitious Sales Planner sample application.
In this section, you will register the local ColdFusion Server with ColdFusion Builder. This will allow you to access all the data sources on the server from within ColdFusion Builder.
You should be able to ignore the Context Root and Application Server Name fields. These are only needed if using ColdFusion deployed on a J2EE server.
If you did not specify an RDS username when installing, then the default user name is admin.
The Server Settings window should appear as shown in Figure 2.
Note: This step is not available on the MAC version of ColdFusion Builder.
ColdFusion Builder makes it easy for developers to manage the entire ColdFusion development cycle from concept to production in one easy-to-use tool. In this section you will create a project to hold all the files for the FictitiousSalesPlanner application.
(/Applications/ColdFusion9/wwwroot/ on Mac)
Create a new folder inside the Document Root named F4CF_FictitiousSalesPlanner as shown in Figure 4.
You can generate the data management services for this application using the ColdFusion Builder CFC Generator. The code will use object-relational mapping (ORM) which will manage the database logic and connectivity without writing any SQL.
Note: For Mac users, if this page appears blank, then close it, navigate to Preferences > ColdFusion > Extensions and check the box next to Use Mozilla browser for extensions. Click Apply. Click OK. Then repeat from Step 3.
In this section, you have learned how to generate the ColdFusion components (CFCs) using ColdFusion Builder. In Part 3, you will set up a Flash Builder data service project with ColdFusion for use with the Fictitious Sales Planner sample application.