CFWheels – Find Through Association
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.
Dynamic Finders in CFWheels
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.
Apache Restart Error In OS X
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...
Using Partials In CFWheels To Keep DRY
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).
Linking To Files In ColdFusion Errors
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.






Recent Comments
Jason Dean on Pulling specific files from a commit using Git
Thanks Russ, very helpful. I needed this four hours ago ( I did it a much harder way). I...dcolumbus on CFWheels Eclipse Dictionary Updated
Ah, because of my excitement, I forgot to register the dictionary. Step 3 in the documentation you provided. THANSK!dcolumbus on CFWheels Eclipse Dictionary Updated
Hey Russ, thanks for taking the time to put this Dictionary together. I'm curious if you might be able to...Luis on Installing Git on CentOS 5
Yup, this worked better for me.James Aspinwall on Installing Git on CentOS 5
Thanks, thanks, thanks... Save me lots of time and trouble.