Entries Tagged as CFEclipse
Second ColdFusion Tutorial for Web Designer Magazine
March 28, 2008 · 4 Comment s
I've only just managed to pick up March's edition of Web Designer, and it has the second of my ColdFusion tutorials; The Basics of ColdFusion Coding.
Not very interesting for the seasoned ColdFusion developer, but then these tutorials aren't for you (though be sure to pick up the mag anyway, and give it support. If we want ColdFusion to have more exposure in the non-CF press, then we as a community need to increase their sales. No, I wasn't paid to say that heh). These tutorials will hopefully tap into some of the other development communities, and at the very least, offer some exposure of ColdFusion to them. If a few decide to give ColdFusion a go - not to necessarily dump their existing skills in favour, but more to give them another tool in their belt - then it's a job well done.
My third tutorial, due April, exposes some of the new features of ColdFusion 8 including; PDF Interaction, Image Manupulation and Presentations on Demand.
Oh yeah, CFEclipse also gets a good deal of exposure in the tutorial.
→ 4 Comment s Tags: ColdFusion · CFEclipse · Fuzzy Orange
Snip... snip... snip
October 03, 2007 · 4 Comment s
Snip-a-thon 2007 is underway, and there's plenty of prizes up for grabs if you join in.
It's quite simple, just head over to Todd Sharp's blog entry and follow the instructions to get involved.
I use quite a few snippets so hopefully I'll sneak in front of Scott Stroz...
→ 4 Comment s Tags: ColdFusion · CFEclipse
Using SVN to assist in commenting your code
July 18, 2007 · 9 Comment s
I'm quite heavy handed when it comes to commenting my code.
As well as inline comments, I always have a config comment at the top of every file.
In addition to basic information such as Author, Filename, when the file was created, I use Subversion to get information such as: the current revision, when was the file last updated, who updated the last file.
To automate the process, I have a CFEclipse snippet that is saved as a template (require separate ones for both CFM and CFC files). So when I create a new file, I create it from the template, and this runs the snippet automatically, prompting me to fill in certain information. You can see the snippet below.
<span class='comment'></span>
Once I commit this file to Subversion, the Subversion properties are populated, meaning I end up with something like below.
<!---
Filename: weatherProxy.cfc
Creation Date: 18/July/2007
Original Author: Andy Allan
Revision: $Rev: 45 $
$LastChangedBy: allana $
$LastChangedDate: 2007-07-18 12:24:59 +0100 (Wed, 18 Jul 2007) $
Description:
This is our proxy CFC, which in turn calls the Yahoo weather CFC as part of Ray Camden's Yahoo API package.
The component works by first being init'd, recieving a list of towns to which we have to retireve weather. At the moment this is passed in, but in time we will retrieve this information from a database as it will match all the locations for the company.
On init, we call getWeather() passing it the list of towns, and this method loops through the towns returning the weather data for each and storing in an Application
variable structure.
We then use getMyWeather() which accepts a town as an argument to return the weather data specfic to that town.
Methods:
init: This is our constructor method, which MUST be called before any other method. It takes a single
argument <span class='cc_value'>"datasource"</span> and returns itself.
getWeather: private function that loops through all the companies locations, getting their weather data and storing the data in an Application structure.
getMyWeather: method which returns the weather for a specific town.
--->
To get Subversion to actually populate your comments you need to assign a new property to every file/folder in your application.
You can either do this by running the following command:
propset -R svn:keywords <span class='cc_value'>"Rev LastChangedDate LastChangedBy"</span> /pathToFiles/trunk
Or from within CFEclipse, simply right click your Project folder and choose "Team" > "Set property" and then add the new property as indicated in the image below.
With every commit, you'll now see the most up to date Subversion information directly in your comments.
→ 9 Comment s Tags: ColdFusion · Subversion · CFEclipse
CFEclipse 1.3.x Goodness
March 06, 2007 · No Comments
→ No Comments Tags: CFEclipse
CFEclipse and Fusion Debug
February 20, 2007 · 3 Comment s
Looks like I wasn't clear, but yeah, just to confirm, if you buy Fusion Debug then you get Eclipse 3.2 and CFEclipse 1.3 as part of the installer.
Of course, if you download the 30 day trial, you still get Eclipse and CFEclipse and FD will expire after the 30 days.
→ 3 Comment s Tags: CFEclipse · Fusion Debug
CFE: The infection is spreading
January 26, 2007 · No Comments
→ No Comments Tags: ColdFusion · CFEclipse
The wait is almost over ...
January 26, 2007 · 4 Comment s
→ 4 Comment s Tags: ColdFusion · CFEclipse
Something Wicked This Way Comes ...
January 23, 2007 · 6 Comment s
→ 6 Comment s Tags: ColdFusion · CFEclipse