The Adventures of a Notes Developer In The World Of ColdFusion II – ConfigurationFebruary 6, 2009
Last week I started this small saga and after a busy week with little chance to blog, it’s time to proceed onwards.
Despite the poor IDE (more on that later) Notes Developers have it easy when they start: A Notes client installation includes the Designer client as they’re linked together. After doing any development, we can simply preview it on the client or even on a web browser, which all OSs include. This doesn’t seem to be as simple on the ColdFusion world: to develop, you need a client and a server, and get them to work together.
Now, I’m not certain if Adobe’s Dreamweaver makes this easier, as our company doesn’t use it (and it’s a bit pricey for me to have it at home), but the solution we’re currently using needs appropriate placing of a few puzzle pieces together.
One of the ways of developing in ColdFusion is by using Eclipse. Notes Developers who are already deep in the ND8 world are surely more familiar with it than I am and, if still living in the world of ND7 or ND6 (or God forbid R5), gives the chance of trying this pretty and highly flexible IDE.
Eclipse works with several programming languages with the usage of plugins. Yes, there is one for Lotusscript too, but that’s a bit beyond the point of this blog post. There is indeed one for ColdFusion (http://www.cfeclipse.org/) so after having this one added to Eclipse, you should be ready to go on the IDE side.
Now, when you finish your development, you’ll need a server to test your changes against. I was recommended ColdFusion Developer Edition which can be downloaded from Adobe and is free as long as, if I’m not mistaken, configured for single server only – asks you for a serial otherwise.
After properly configured (and I’m afraid I can only be of minimal help here as I was much handheld through this part of the process), you should be ready to go! Biggest point to note is that your ColdFusion local server should be running on port 8500 so make sure when testing via your browser or browser view within Eclipse, that you point to said port. Example: http://localhost:8500/index.cfm . Also note that your cfm files should be on the wwwroot folder of your ColdFusion installation, normally something like D:/ColdFusion/wwwroot/index.cfm
As a side note, we use Subversion as source control and it seems to integrate wonderfully with Eclipse – but I won’t go through it here, at least not yet.
So we have everything ready to start, but what about the ColdFusion code itself? That will be the topic of the next blog post in this series.