Code snippets from the force.com cast video series