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

Rails and the future of the open web

Rails and the future of the open web

Slides (without notes) for a guest lecture at the University of Applied Sciences in Oulu.

Florian Plank

April 01, 2014
Tweet

More Decks by Florian Plank

Other Decks in Programming

Transcript

  1. “The Internet’s great promise is to make the world’s information

    universally accessible and useful.” (GARY WOLF)
  2. PHILOSOPHY Decentralization Transparency Hackability Openness From Gift Economies to Free

    Markets Third-Party Innovation Civil Society and Discourse End-User Usability and Integration BRAD NEUBERG — codinginparadise.org
  3. “I love the Internet, and I love that you can

    say whatever you want.” (JOAN RIVERS)
  4. “The NSA’s surveillance programme is prompting many US writers to

    abandon topics that could be deemed too sensitive” (DAVE EGGERS, theguardian.com)
  5. “I hope to see Ruby help every programmer in the

    world to be productive, and to enjoy programming, and to be happy. That is the primary purpose of Ruby language.” (MATZ)
  6. class Animal def eat(food) puts "Animal eating" end end my_animal

    = Animal.new animal.eat # => "Animal eating"
  7. “… if it walks like a duck and talks like

    a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.”
  8. class Greeter def method_missing(name, *args) name = name.to_s if name

    =~ /^hello_/ puts "Hello, #{name.gsub(/^hello_/, '')}!" else super end end end Greeter.new.hello_john # => "Hello, john!"
  9. def greet(&block) # ... greeting = yield("John") # ... end

    greet do |name| "Hello, #{name}!" end
  10. $ gem install rails $ rails new blog $ cd

    blog $ rails generate scaffold post title content:text $ rake db:migrate $ rails server
  11. “The solution is open source. By building together open, free,

    secure systems, we can go around such surveillance, and then one country doesn't have to solve the problem by itself.” (MIKKO HYPPÖNEN)