Ruby On Rails

"Rails is a full-stack, open-source web framework in Ruby for writing real-world applications with joy, and less code than most frameworks spend doing XML sit-ups"

Speaker: Matt Biddulph - hackdiary.com

the golden path

the golden path

opinionated software

the golden path

  "It's not the responsibility of Rails to deal with content management, access control lists, forums, chats, or what have you. We're about the general structures that make sense of any kind of application.
  "So we won't ever become Zope. Or OpenACS. Or any of the other frameworks that have dipped into business logic waters and been consumed by it."

the golden path

generators

the golden path

less code

the golden path

class Foo<ActiveRecord::Base
end

the golden path

class Foo
  has_many :bars
  ...

the golden path

class NewsController
  def item
    ...
  end

the golden path

class NewsController
  caches_action :item
  def item
    ...
  end

ajax

prototype.js

ajax

one-liners

ajax

link_to

ajax

link_to_remote

tools

tools

script/server

tools

script/generate

tools

script/console

tools

script/breakpointer

tools

tests

tools

switchtower

gotchas

gotchas

pluralisation

gotchas

n+1 SELECTs

gotchas

ruby in the templates

disclaimer

demo

Thank you

More info: http://www.hackdiary.com

Submit your talks for http://xtech.org/2006 now!