Join The Vancouver Ruby/Rails/Merb Meetup Group

You'll get invited to our Meetups as soon as they're scheduled!

The Vancouver Ruby/Rails/Merb December Meetup

Dec 2008 2
Tue 7:00 PM
Location
This location is shown only to members
Estimated attendance
 15  people attended.
4.50 4.503

Who organized?
Peter Armstrong and Scott Patten

The meetup is now at WorkSpace (Suite 400, 21 Water Street).

After the meetup, some of us may head over to Irish Heather or Chill Winston for beer afterward.

Tonight's talk will be by Scott Patten. Here's his summary:

So Peter twisted my arm and I agreed to give a talk tonight. I've recently wrote a cool little DSL for generating Rails and Ruboss scaffolds, and I wanted to show it off.

I thought it would be fun if I re-enacted the creation of the DSL using Test Driven Development (TDD) so that people could get a feel for what TDD looks and feels like. I'll be doing live coding and you'll all get to yell at me when I write ugly code or make typos and it'll be kind of fun and interactive. The guys from seattle.rb call this 'gang bang coding'. Let's see how it goes.

We'll end up with the ability to use scaffolder files like this to create a starting point for a rails app:

# flexomatic_scaffolder.rb

require 'rubygems'
require 'ruboss4ruby/ruboss_scaffolder'

ruboss_scaffold('user') do |s|
s.string :login
s.string :name
s.string :email
s.string :crypted_password
end

ruboss_scaffold('dataset') do |s|
s.belongs_to :user
s.has_many :graphs, :datacolumns
s.string :name
end

ruboss_scaffold('graph') do |s|
s.belongs_to :dataset
s.string :name, :title
s.integer :position, :height, :width, :xpos, :ypos
s.has_many :axes
s.has_many :graphlines
s.has_one :legend
end

ruboss_scaffold('legend') do |s|
s.belongs_to :graph
s.integer :xpos, :ypos
s.boolean :visible
end

....

The Vancouver Ruby/Rails/Merb Decem…

Photos of this Meetup

No photos yet.

Talk about this Meetup

You must be a member to post a comment. Join or login.

Who attended?