Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Split

 Split

Talk about Split at LRUG

Andrew Nesbitt

October 22, 2011
Tweet

More Decks by Andrew Nesbitt

Other Decks in Technology

Transcript

  1. Andrew Nesbitt github.com/andrew

  2. Forward forwardtechnology.co.uk

  3. Show of hands

  4. None
  5. Split github.com/andrew/split

  6. AB testing for hackers

  7. Split::Experiment Split::Alternative

  8. Split::Dashboard

  9. require 'split/dashboard' run Rack::URLMap.new \ "/" => Your::App.new, "/split" =>

    Split::Dashboard.new
  10. None
  11. Split::Helper

  12. # Gemfile gem 'split' $ bundle install

  13. class MySinatraApp < Sinatra::Base enable :sessions helpers Split::Helper get '/'

    do ... end
  14. # index.erb <% ab_test("login_button", "old.jpg", "new.jpg") do |img| %> <%=

    image_tag(img) %> <% end %> # users_controller.rb def register_new_user @starter_points = ab_test("new_user_free_points", 100, 200, 300) end def complete_signup #some business logic finished("new_user_free_points") end
  15. Split::Export github.com/andrew/split-export

  16. Questions?