Tabnav: Do We Really Need a Plugin for Tabbed Navigation?

Paolo Dona, SeeSaw srl

Date: Tuesday 18 September 2007
Time: 14:50 - 15:35
Location: Saal 2

The Tabnav is a Rails plug-in that helps you build dynamic and customizable tabbed navigation. It's a sample of how we can implement useful widgets in Rails, boosting productivity and allowing programmers to focus on their stuff, not boring and repetitive presentation issues. It features a small domain-specific language to describe tabbed navigation and allows you to enhance it with conditionals, dynamic attributes, customizable highlighting, and hiding rules.

This talk will show you how to use the Tabnav effectively to remove the clutter in your views and express navigation in a more idiomatic and concise way.

After the plug-in showcase, we will dig the code and see how things have been implemented and why. A brief introduction to DSLs will be made.

The talk will end with a discussion on the Tabnav's approach, and see if other widgets can be made the same way.

News and Coverage