Close and Go BackBack to Viget

Slides and Code from “Mockfight!” Talk

Patrick Reagan
Patrick Reagan, Development Director, July 19, 2007 0

As promised, here are the slides from last night’s talk:

Since the code in the presentation is taken somewhat out of context, I’m including the full code sample as well.

Even though it ended in a tie, it may not be as bad as “kissing your sister”. Both are great libraries that provide functionality that was never possible for us when writing PHP code.  Choosing the right one is a matter of personal preference – right now, our preference is Mocha.

Trackback: 2007: A Development Lab Recap » Viget’s Four Labs on 01/02 at 04:17 PM [...] there and share our experience and expertise as well. Last year, we presented at RailsConf, CVREG, NoVaRUG, Ruby Hoedown, TriPUG, LoneStar Ruby Conference, Rails to Italy, Raleigh.rb, RubyConf, and Refresh [...]-----

We're the Developers

at Viget Labs. We write about web development trends, tips, best practices, industry events, and our projects — all with an emphasis on Ruby on Rails.

Recent Comments

Tony,

I understand and agree that the back-end shouldn’t output code (html code), and only content. The templates (aka views) should do the trick, but instead of having lot’s of if/else conditionals inside the view, you may just output the following content.

No information available

The template would loop in an array and put all the <li>’s inside the <ul>.
I don’t see anything wrong, nor...