ColdFusion 8 and LiveCycle Data Services: Part 2

Hi all,

In the 1st part of this series we took a look a defining the project and in this part we can to dive in and setup our project. I will be using Flex builder for this project.

Requirements

To complete this tutorial you will need to install the following software and files:

Adobe Flex Builder 3 or Adobe Flex Builder Plugin for Eclipse and Adobe ColdFusion 8

Note: This article uses the integrated LiveCycle Data Services that are installed with ColdFusion 8.

Creating the project:

Start by choosing File > New > Flex Project (see Figure 1).

Use the New Flex Project wizard (see Figure 2) to set up the project.

Project name and location:

You may type any name for the project. In this example, the project is named “UserManager”. You may also change the location of the project – where are all your files are stored – from the default presented to you.

Application type:
For the Application type, select Web Application, which is the default.

Server technology:
For the application server type select ColdFusion. Make sure Use remote object access service is selected and LiveCycle Data Services is selected.

Click Next to proceed to ColdFusion server setup (see Figure 3). If you are using Microsoft Internet Information Server (IIS) or Apache with your ColdFusion install, you will need to specify a different web root. I am using with IIS.

Finally you should setup the output folder URL. In my case it is my web root plus the debug folder. This is because when you compile an application it will move all of the necessary files over to your debug folder. (see Figure 4)

Finally we need to setup the folder structure for our application.

It is a simple structure. (see Figure 5)

  • assets - holds our style sheets and any images needed
  • br/com/tofinha - main folder will hold a few Views and VO
  • cfcs - will hold a few ColdFusion components

That is for this step. In the part 3 (tomorrow the night), we began to set up our layout and database.

Thanks!

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Chris's Gravatar Do you know if you can do this with Railo by installing the LCDS Express version?
# Posted By Chris | 1/15/09 6:53 PM
Tofinha's Gravatar Hi Cris,

I don't make use of Railo, but maybe it is possible.
Considering that Railo can be installed under a server J2EE and LCDS is a J2EE, I believe that it is possible the integration. But in this case it would be with an application Java
# Posted By Tofinha | 1/15/09 7:24 PM
Chris's Gravatar Thanks Tofinha...When you are done with the series, I will try it with Railo and post my results.
# Posted By Chris | 1/15/09 7:27 PM
Tofinha's Gravatar very good Chris!
would like to know the results of this integration! :-D
# Posted By Tofinha | 1/15/09 7:43 PM
Paul Kukiel's Gravatar With Railo 3.1 and BlazeDS integration I imagine Railo will be able to interact with Flex and push data via AMF http://www.railo.ch/blog/index.cfm/2008/12/7/Railo...
# Posted By Paul Kukiel | 2/14/09 4:36 AM
Tofinha's Gravatar Yes Paul,
The integration between the two will be possible, since they are under the platform J2EE. :-D
# Posted By Tofinha | 2/15/09 11:11 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.000. Contact Blog Owner