CFWheels – Move Finders Into Your Model

CFWheels – Move Finders Into Your Model

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

One of the principles of CFWheels is not duplicating code. This can be achieved a number of ways, but one in particular can also save you some time. Typically our find() methods used to retrieve data have lots of conditions on them, setting the where clause or the order of the returned results, etc. One way to help clean up your controllers and speed up development is by moving those finders into your model to prevent duplication.

more info
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
ColdFusion on Wheels Version 1.1.2 Released

ColdFusion on Wheels Version 1.1.2 Released

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

ColdFusion on Wheels has released version 1.1.3 today. This is mostly a bug fix release, but addresses a couple issues I had in 1.1.1 particularly. The upgrade is simple, just replace your current wheels folder with the new one from the zip file, reload your application and off you go. A list of all the issues fixed can be found over at the CFWheels blog. ColdFusion on Wheels Version 1.1.2 Released Today | ColdFusion on Wheels...

more info
Another ColdFusion Builder Giveaway

Another ColdFusion Builder Giveaway

Posted by on Nov 19, 2010 in ColdFusion, Community | 0 comments

This time its not me, but Ray Camden is giving away a copy of ColdFusion Builder if you donate to a charity of your choice. You can get the details on his blog here. If you aren't using ColdFusion Builder yet, you really should give it a try. Im finding more and more about it that Im liking every day!

more info