Skip to main content

ColdFusion Builder - Project Support

ColdFusion Builder is a brand new IDE from Adobe for building ColdFusion applications. ColdFusion Builder is based on Eclipse and can be downloaded from http://www.adobe.com/products/coldfusion/buy/#cfb.

In this series I will be explaining about creating Projects/Applications in ColdFusion Builder. CF Builder provides wizards for creating projects. It also provides wizards for creating CFCs, CFMs and CF Interfaces. I would like to cover the latter in the next post. In this post I will be explaining the project creation with CF Builder.



To get started with creating Projects switch to ColdFusion perspective. The project creation wizard can be invoked from four places:

  • Start page -> ColdFusion project.
  • File -> New -> ColdFusion project
  • Clicking New ColdFusion project Icon on the toolbar.
  • Right click Navigator view and select New -> ColdFusion Project.
The 'New ColdFusion project' page is as shown below:


Enter your 'Project Name' as say 'ProjectTest'. By default the project location would point to the current workspace location. De-select 'Use Default Location' and specify a location under webroot of your ColdFusion Server in this case it would be 'C:\ColdFusion9\wwwroot\ProjectTest'. Here I have created a folder under  webroot by name 'ProjectTest'. Click on next to continue.

The Server details page allows the user to associate a server with the project. Once the server is associated with the project Sample URL field will be populated (this is not editable). Therefore make sure you create a project within the webroot of your ColdFusion server. There are various workflows involved in adding a new server/associating a server to the IDE such as adding a remote server, specifying virtual hosts and virtual directory which I would like to cover in coming posts. In this post I will associate the project with an already added server.



Here I have associated a localhost server whose server home is 'C:\ColdFusion9' and webroot is 'C:\ColdFusion9\wwwroot'. Since the project is under the webroot the Sample URL is populated with 'http://localhost:8500/projecttest'. There is also an option provided for specifying an external browser. The specified external browser would be invoked when the project is run. Click on Next and you will be prompted to specify Linked folder.

A link folder allows you to associate external files within a project. Say you have created a project outside webroot (c:\NewProject) and would like to make files inside webroot(c:\ColdFusion9\wwwroot\cfc) to be available to this project.


You can select 'Use Link Folder Name to Resolve CFCs' to see a list of CFCs present in the link directory in content assist. The CFM/CFC files from the webroot can be run within the IDE by switching to one of internal browsers.







Comments

  1. That's nice. I always wanted to learn more about the Coldfusion builder. It's great that you've shared your knowledge about it. Thanks a lot for sharing.

    web design Perth

    ReplyDelete
  2. I tried that tool before and it helped me build different programs I needed. Since it's new, I think it still has some flaws or issues. That's fine, but they should try to resolve them immediately.

    long island advertising agencies

    ReplyDelete
  3. Building programs is easy with the help of this tool. I suggest you try it because it can help in a lot of ways.

    web design cleveland

    ReplyDelete
  4. With ColdFusion Builder 2, improvements have been made in Code Assist and Code Folding. It now contains developer productivity features such as improved Quick Fix, and Advanced Find and Replace.

    ReplyDelete
  5. I am new to ColdFusion and this is definitely very interesting to me. I will implement it as soon as I can.

    ReplyDelete
  6. We use Cold Fusion regularly at our Long Island advertising agency and look forward to v10. The whole "project mentality" is new to me... I started way back on v3 and got on fine without CFC's all these years. Time to learn OOP and frameworks!

    ReplyDelete
  7. Coldfusion applications can now be created with ease through ColdFusion Builder. Thanks for sharing this tutorials. I have learned a lot.

    ReplyDelete
  8. Make sure you create a project within the webroot of your ColdFusion server. It won't work unless it's in the main server.
    You can also use free SEO tools online.

    ReplyDelete

Post a Comment

Popular posts from this blog

File upload and Progress events with HTML5 XmlHttpRequest Level 2

The XmlHttpRequest Level 2 specification adds several enhancements to the XmlHttpRequest object. Last week I had blogged about cross-origin-requests and how it is different from Flash\Silverlight's approach .  With Level 2 specification one can upload the file to the server by passing the file object to the send method. In this post I'll try to explore uploading file using XmlHttpRequest 2 in conjunction with the progress events. I'll also provide a description on the new HTML5 tag -  progress which can be updated while the file is being uploaded to the server. And of course, some ColdFusion code that will show how the file is accepted and stored on the server directory.

Server sent events with HTML5 and ColdFusion

There are several ways to interact with the server apart from the traditional request\response and refresh all protocol. They are polling, long polling, Ajax and Websockets ( pusherapp ). Of all these Ajax and Websockets have been very popular. There is another way to interact with the server such that the server can send notifications to the client using Server Sent Events (SSE) . SSE is a part of HTML5 spec:  http://dev.w3.org/html5/eventsource/

Adding beforeRender and afterRender functions to a Backbone View

I was working on a Backbone application that updated the DOM when a response was received from the server. In a Backbone View, the initialize method would perform some operations and then call the render method to update the view. This worked fine, however there was scenario where in I wanted to perform some tasks before and after rendering the view. This can be considered as firing an event before and after the function had completed its execution. I found a very simple way to do this with Underscore's wrap method.