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

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.

De-obfuscating javascript code in Chrome Developer Tools

I had blogged about JavaScript debugging with Chrome Developer Tools  some time back, wherein I have explained how these developer tools can help in debugging javascript code. Today Google Chrome 12 was released and my Chrome browser was updated to this version. As with every release, there have been some improvements made on performance, usability etc,. One feature that stood out for me is the ability to De-obfuscate the javascript code. What is Minification? Minification is the process of removing unnecessary characters such as white spaces, comments, new lines from the source code. These otherwise would be added to make the code more readable. Minifying the source code helps in reducing the file size and thereby reducing the time taken to download the file. This is the reason why most of the popular javascript libraries such as jQuery are minified. A minified jQuery file is of 31 KB in size where as an uncompressed one is about 229 KB. Unfortunately, debugging minified javascript f

On GraphQL and building an application using React Apollo

When I visualize building an application, I would think of using React and Redux on the front-end which talks to a set of RESTful services built with Node and Hapi (or Express). However, over a period of time, I've realized that this approach does not scale well when you add new features to the front-end. For example, consider a page that displays user information along with courses that a user has enrolled in. At a later point, you decide to add a section that displays popular book titles that one can view and purchase. If every entity is considered as a microservice then to get data from three different microservices would require three http  requests to be sent by the front-end app. The performance of the app would degrade with the increase in the number of http requests. I read about GraphQL and knew that it is an ideal way of building an app and I need not look forward to anything else. The GraphQL layer can be viewed as a facade which sits on top of your RESTful services o