Month: April 2010

Code Metrics with Metric Fu

Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu. Here’s a demonstration. Go check it out! Download 116.1 MB Download (iphone & ipod) 55.8 MB

Read More

RC 17 – Interview with Dave Thomas from the Pragmatic Programmers – Part 1

Dave Thomas is one of the founders of the Pragmatic Programmers. He is a signatory of the Agile Manifesto. He's written several books, including: The Pragmatic Programmer, Programming Ruby (The Pickaxe Book), and Agile Web Development with Rails This discussion covered a wide variety of topics, including how he picked up Ruby, learning new languages, and building businesses….

Read More

Ruby’s Percent Functions

Ruby uses special characters to define certain data types. If you wish to use these characters in your data types, you need to escape them or use percent functions. Percent functions are much simpler. Download 35.8 MB Download (iphone & ipod) 14.7 MB

Read More

RC 16 – The DRY Principle (Don’t Repeat Yourself)

The DRY principle is a guiding principle behind frameworks like Ruby on Rails. It's basic tenet as provided by the Pragmatic Programmers is: EVERY PIECE OF KNOWLEDGE MUST HAVE A SINGLE, UNAMBIGUOUS, AUTHORITATIVE REPRESENTATION WITHIN A SYSTEM. This basically means that between your database schema, code, architecture, etc. you should only have one representation of each…

Read More

RC 15a – Pair Programming – Take Two

This is take II of the Pair Programming episode. The first take wasn't what I wanted to communicate about pair programming. Please give it a listen and check out the show notes on the original recording.

Read More

Nested Forms With JQuery

Ruby on Rails allows you to nest models within a form. Ryan Bates of Railscasts demonstrated how to set up these forms with JavaScript using the Prototype framework, which ships with Rails. In this episode, Charles Max Wood gives a brief overview of how Ryan’s code works, and then refactors the JavaScript to use JQuery….

Read More