Russ Johnson

Random Musings on Development, Technology and Life


I ran into a situation today where I needed to grab a specific version of two files from one branch in our repository and merge it into another branch. Normally I would use cherry-pick for this sort of thing but when you are working with developers who arent used to the way of Git, that can be hard. Especially in our situation where most of them are used to Subversion so they make changes to many different files over the period of hours or worse yet, days before they commit their changes.

Read More
Creative Suite Giveaway

Creative Suite Giveaway


Posted By on Jul 27, 2011 | 0 comments

Well, the time has come again! Time for my wife and I to start training for the MS150 charity ride here in NE Florida. If you’re not familiar with the event, you can get more details here. Its basically a charity fundraiser bike ride from St. Augustine, FL to Daytona Beach, FL covering 150 miles in 2 days.

Read More

Hopefully by now you have had a chance to play around with Capistrano and had a chance to deploy one of your apps. If you have and your anything like me, Im sure you ran into a situation where you needed to have a bit more flexibility in your deployment.

Read More

I love developing in ColdFusion, but one of the reasons I spend time learning other languages/frameworks is so I can get a feel for what things others are doing that could help make our jobs a little easier. Lets face it, the ColdFusion community is a little slow to progress sometimes and there is alot of innovation happening in other communities.

Read More

I finally got around to updating the CFWheels Textmate bundle to version 1.02 last night. Its mostly a few fixes related to snippets but the primary reason for updating it was to add full support for the DBMigrate plugin. Now you can generate migration files and use shortcuts for all of the migration methods in the plugin. Speeding up development just a little bit more.

Read More

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.

Read More

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.

Read More