CFWheels – Find Through Association

CFWheels – Find Through Association

Posted by on Feb 6, 2011 in CFWheels, ColdFusion, Development | 0 comments

When I first started learning CFWheels, I was so enamored with how simple it was to retrieve data from the database using the built-in ORM that I would code for days without taking full advantage of how much cleaner and simpler my code really could be. The more I worked with the ORM in Wheels, I learned more and more little tricks to help make my code much simpler. One of those tricks is to stop manually passing foreign keys into my find conditions and make the call through an association. Lets look at an example of how much more readable we can make our finder calls by taking advantage of relationships in CFWheels.

more info
Dynamic Finders in CFWheels

Dynamic Finders in CFWheels

Posted by on Feb 4, 2011 in CFWheels, ColdFusion, Development | 1 comment

One of the unexpected treats to using CFWheels is how much more readable it can make your code. Im not a big fan of inline comments because I believe in self-documenting code. One of the features of CFWheels that helps to achieve this is "Dynamic Finders". Lets take a look at how much more readable this often over-looked feature can make our finder calls.

more info
Apache Restart Error In OS X

Apache Restart Error In OS X

Posted by on Jan 7, 2011 in Apple, Development | 2 comments

I know quite a few of you are using OS X for your ColdFusion development so I thought I would post this in case anyone else has run into it. On My new iMac, I was making a few changes to the apache config and issued a restart using the apachtctl restart command. I was greeted promptly with the following...

more info
Using Partials In CFWheels To Keep DRY

Using Partials In CFWheels To Keep DRY

Posted by on Feb 17, 2010 in CFWheels, ColdFusion, Development | 8 comments

One of the things I like about CFWheels is that its based on sensible conventions. If you follow these conventions, they can really save you a ton of time writing boiler-plate code as well as configuration. Working synergistically with these conventions are a lot of helper methods that will also reduce the amount of code you have to write as well as keeping your application DRY (Dont Repeat Yourself).

more info

Linking To Files In ColdFusion Errors

Posted by on Jul 20, 2009 in ColdFusion, Development | 3 comments

Its been well over a year ago that I dropped developing with CFEclipse. I grew tired of the endless resources it consumed and it always seem very slow. Of course this wasnt due to the the CFEclipse plugin, it was the Eclipse platform that it was built on. Now with Adobe releasing the beta of ColdFusion Builder I decided I would give it a try again. But after an hour or so of playing with it, I still wasnt sold.

more info