Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rails and the future of the open web
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Florian Plank
April 01, 2014
Programming
140
3
Share
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
More Decks by Florian Plank
See All by Florian Plank
Ready, set, immersion!
polarblau
0
200
Prototyping all the things
polarblau
2
190
CoffeeScript vs. ECMAScript 6
polarblau
5
3.6k
Design for a complex Reality — Siili Breakfast Edition
polarblau
0
170
Enabling Design for a Complex Reality
polarblau
2
140
A primer on Content Security Policy
polarblau
1
450
Brief Ruby/Ruby on Rails intro
polarblau
3
210
Ruby Idioms
polarblau
3
610
How to ask questions and find the right answers
polarblau
2
370
Other Decks in Programming
See All in Programming
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
310
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.6k
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
220
AI活用のコスパを最大化する方法
ochtum
0
370
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
110
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
100
AIエージェントで業務改善してみた
taku271
0
480
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
400
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
340
Featured
See All Featured
How to make the Groovebox
asonas
2
2.1k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
210
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
150
The Spectacular Lies of Maps
axbom
PRO
1
680
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
510
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
160
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
[SF Ruby Conf 2025] Rails X
palkan
2
930
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
450
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
240
Transcript
& RUBY ON RAILS The Future of the Open Web
THE OPEN WEB RUBY RUBY ON RAILS 1 2
1 2 3
nicolasrapp.com THE OPEN WEB
Knowledge Communication Work Social connections News Tool for political change
RICHARD DARELL — bitrebels.com
“The Internet’s great promise is to make the world’s information
universally accessible and useful.” (GARY WOLF)
“OPENNESS”
OPEN STANDARDS Non-proprietary Content, implementation and access
vs. EXAMPLE
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
STATE OF THE UNION
None
THE WEB IN 2014 Threats and Opportunities
“I love the Internet, and I love that you can
say whatever you want.” (JOAN RIVERS)
SURVEILLANCE
None
“The NSA’s surveillance programme is prompting many US writers to
abandon topics that could be deemed too sensitive” (DAVE EGGERS, theguardian.com)
CENSORSHIP
None
None
GOVERNMENT ONLINE
None
None
NET NEUTRALITY
None
CYBER ACTIVISM
None
SECURITY
None
“TECHNOMONOPOLIES”
None
POST–INDUSTRIAL SOCIETIES
CROWD SOURCING & FUNDING
THE WEB AS SOCIAL NORMALIZER
THE WEB IN 2014 Design and Technology
MOBILE & OFFLINE FIRST
ASYNCHRONOUS WEB
THE INTERNET OF THINGS
BIG (SOCIAL) DATA
MONETIZATION IN A MULTISCREEN PARADIGM
RUBY & RUBY ON RAILS
Yukihiro “Matz” Matsumoto
“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)
PRINCIPLES Programmer happiness Principle of least astonishment Human readable Beautiful
syntax
ECOSYSTEM RubyGems, Bundler & Rake Multiple implementations (MRI, JRuby, Rubinius,
mruby, MacRuby, Topaz, …) Solid Standard Library
COMMUNITY MINASWAN Self reflective Open Quirky
None
OBJECT–ORIENTED
5.times { print "We love Ruby" }
class Animal def eat(food) puts "Animal eating" end end my_animal
= Animal.new animal.eat # => "Animal eating"
class Dog < Animal def eat(food) puts "Dog eating" super
end end
module Stomach def digest(food) # ... end end
class Dog < Animal include Stomach end my_dog = Dog.new
dog.digest
-199.abs # => 199 "Foobar".split("").uniq.sort.join # => "abFor" nil.class #
=> "NilClass"
DYNAMICALLY TYPED (DUCK–TYPING)
if dog.is_a? Animal dog.eat end dog.eat if dog.respond_to?(:eat)
MONKEY–PATCHING (DUCK–PUNCHING)
“… 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.”
class String def yell "#{self.upcase}!" end end "hello".yell # =>
"HELLO!"
META–PROGRAMMING
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!"
BLOCKS & LAMBDAS
[1, 2, 3].map { |i| i ** 2 } #
=> [1, 4, 9]
def greet(&block) # ... greeting = yield("John") # ... end
greet do |name| "Hello, #{name}!" end
None
PRINCIPLES Open Source MVC CoC DRY Opinionated
CONTROLLER MODEL VIEW
FEATURES Generators ORM Restful routing Included web server
ROUTES CONTROLLER ACTION
$ gem install rails $ rails new blog $ cd
blog $ rails generate scaffold post title content:text $ rake db:migrate $ rails server
[CODE TOUR]
RUBY ON RAILS AND THE OPEN WEB
THREATS AND OPPORTUNITIES
EMPOWERMENT
“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)
Open Source A strong, independent community Well developed ecosystem
DECENTRALIZATION
Availability Deployment Development speed
SECURITY
Convention over configuration Open Source Ecosystem
DESIGN AND TECHNOLOGY
OPENNESS
Rails API RESTful by default Database agnosticism
SHIFTING TOWARDS THE CLIENT
Sass CoffeeScript Asset Pipeline Turbolinks
ASYNCHRONOUS WEB
SSE JRuby Threadsafe by default Celluloid Live streaming
@polarblau