85
Ruby on Rails en la Educación 2.0 Svet Ivantchev, eFaber [email protected] 20 de diciembre de 2007, 2º Congreso Internacional, Software libre y Web 2.0 Educación y Formación ¿Por qué no tenemos que enseñar “lo que las empresas piden”?

RoR y eLearning 2.0

Embed Size (px)

Citation preview

Page 1: RoR y eLearning 2.0

Ruby on Rails en la Educación 2.0

Svet Ivantchev, [email protected]

20 de diciembre de 2007, 2º Congreso Internacional, Software libre y Web 2.0 Educación y Formación

¿Por qué no tenemos que enseñar “lo que las empresas piden”?

Page 2: RoR y eLearning 2.0

Plan

• El futuro y nuestra preparación

• Ruby y Ruby on Rails

• El marcado de trabajo y Lifelong Learning

Page 3: RoR y eLearning 2.0

“Preparar para el futuro”

Page 4: RoR y eLearning 2.0

“Preparar para el futuro”

• 1992 (DOS, Clipper, HTM-qué? ...)

Page 5: RoR y eLearning 2.0

“Preparar para el futuro”

• 1992 (DOS, Clipper, HTM-qué? ...)

• 1996 (Windows 95, HTML, PH-qué?)

Page 6: RoR y eLearning 2.0

“Preparar para el futuro”

• 1992 (DOS, Clipper, HTM-qué? ...)

• 1996 (Windows 95, HTML, PH-qué?)

• 1999 (Java)

Page 7: RoR y eLearning 2.0

“Preparar para el futuro”

• 1992 (DOS, Clipper, HTM-qué? ...)

• 1996 (Windows 95, HTML, PH-qué?)

• 1999 (Java)

• 2004 (PHP, J2EE, J2ME)

Page 8: RoR y eLearning 2.0

“Preparar para el futuro”

• 1992 (DOS, Clipper, HTM-qué? ...)

• 1996 (Windows 95, HTML, PH-qué?)

• 1999 (Java)

• 2004 (PHP, J2EE, J2ME)

• 2007 (PHP, mySQL, Ruby on-qué?)

Page 9: RoR y eLearning 2.0

(+ (* 3 (+ (* 2 4) (+ 3 5))) (+ (- 10 7) 6))

Page 10: RoR y eLearning 2.0

“Yo sí sé que pasará”

• http://www.youtube.com/watch?v=C5oGaZIKYvo

Enero de 2007

Page 11: RoR y eLearning 2.0

Noviembre de 2007

Ref: http://blogs.computerworld.com/iphone_browsing_marketshare_closes_in_on_1

Page 12: RoR y eLearning 2.0

Así que ...

• Todo lo que podemos estudiar no vale? -- Bueno, sí hay esperanza :-) (LLL)

Page 13: RoR y eLearning 2.0

Así que ...

• Todo lo que podemos estudiar no vale? -- Bueno, sí hay esperanza :-) (LLL)

• Líderes vs seguidores

Page 14: RoR y eLearning 2.0

Ruby y Ruby on Rails

Page 15: RoR y eLearning 2.0

• Assembler, Fortran, C, ...

• Tcl, Perl, Python

• Lisp, Scheme

• Erlang, Ruby

El diseño de lenguajes

€ y :-)

tiempo == €, € != :-)

Page 16: RoR y eLearning 2.0

Mike Vanier: LFM and FLSP

• languages designed for smart people

• languages designed for the masses

http://www.paulgraham.com/vanlfsp.html

Page 17: RoR y eLearning 2.0

Java

• "We wanted to build a system that could be programmed easily without a lot of esoteric training and which leveraged today's standard practice."

http://java.sun.com/docs/overviews/java/java-overview-1.html

Page 18: RoR y eLearning 2.0

Ruby

Page 19: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

Page 20: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

• conjunto completo de structuras de datos complejas (arrays, hashes)

Page 21: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

• conjunto completo de structuras de datos complejas (arrays, hashes)

• tipos dinámicos

Page 22: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

• conjunto completo de structuras de datos complejas (arrays, hashes)

• tipos dinámicos

• librerías estándar completas

Page 23: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

• conjunto completo de structuras de datos complejas (arrays, hashes)

• tipos dinámicos

• librerías estándar completas

• mejores prácticas (test, estilo)

Page 24: RoR y eLearning 2.0

Ruby• orientado a objetos (ej: -2.abs)

• conjunto completo de structuras de datos complejas (arrays, hashes)

• tipos dinámicos

• librerías estándar completas

• mejores prácticas (test, estilo)

• metaprogramación, DSL

Page 25: RoR y eLearning 2.0

Curva de adopción

Page 26: RoR y eLearning 2.0
Page 27: RoR y eLearning 2.0

Ejemplo: Ruby OSA

Page 28: RoR y eLearning 2.0

Ej: Ruby OSA

itunes = OSA.app('iTunes')

track = itunes.current_track

puts track.name # "Over The Rainbow" puts track.artist # "Keith Jarrett" puts track.duration # 362.368988037109 puts track.date_added.to_s # "2006-06-30"

itunes.play

# Bajar el volumen despacio:100.times { |i| itunes.sound_volume = i; sleep 0.1 }

# Poner la canción en el estatus del chat:OSA.app('iChat').status_message = "Playing: #{track.name}"

Page 29: RoR y eLearning 2.0

internal { case extension when 101...200 usuario = User.find_by_extension extension if usuario.busy? then voicemail extension else dial usuario, :for => 10.rings voicemail unless last_call_successful? end when 888 play weather_report("Bilbao Spain") when 999 then +voicemail end}

Ej: con Asterisk

Page 30: RoR y eLearning 2.0

• 20.minutes.ago

• 1.gigabyte

• 15.times { ... }

Ej: detalles

Page 31: RoR y eLearning 2.0

Ruby on Rails

Page 32: RoR y eLearning 2.0

Ruby on Rails

• Web framework

• MVC, ActiveRecord

• Convención sobre configuración

• Sentido común y “vanidad”

• Bajo coste de cambio

• Curva de aprendizaje pensada

Page 33: RoR y eLearning 2.0

rails - verano 2004,

1ed, 2005

Page 34: RoR y eLearning 2.0
Page 35: RoR y eLearning 2.0
Page 36: RoR y eLearning 2.0
Page 37: RoR y eLearning 2.0
Page 38: RoR y eLearning 2.0
Page 39: RoR y eLearning 2.0
Page 40: RoR y eLearning 2.0
Page 41: RoR y eLearning 2.0
Page 42: RoR y eLearning 2.0

Comunidad

Page 43: RoR y eLearning 2.0
Page 44: RoR y eLearning 2.0

Craig McClanahan

servlet 2.2, 2.3 y JSP 1.1, 1.2 specifications, JavaServer Faces 1.0 Tomcat, Ant

James Duncan Davidson

Page 45: RoR y eLearning 2.0

“Yo lo que quiero es trabajo”

Page 46: RoR y eLearning 2.0
Page 47: RoR y eLearning 2.0
Page 48: RoR y eLearning 2.0
Page 49: RoR y eLearning 2.0
Page 50: RoR y eLearning 2.0
Page 51: RoR y eLearning 2.0
Page 52: RoR y eLearning 2.0
Page 53: RoR y eLearning 2.0
Page 54: RoR y eLearning 2.0
Page 55: RoR y eLearning 2.0
Page 56: RoR y eLearning 2.0
Page 57: RoR y eLearning 2.0
Page 58: RoR y eLearning 2.0
Page 59: RoR y eLearning 2.0
Page 60: RoR y eLearning 2.0
Page 61: RoR y eLearning 2.0
Page 62: RoR y eLearning 2.0
Page 63: RoR y eLearning 2.0
Page 64: RoR y eLearning 2.0
Page 65: RoR y eLearning 2.0
Page 66: RoR y eLearning 2.0
Page 67: RoR y eLearning 2.0
Page 68: RoR y eLearning 2.0
Page 69: RoR y eLearning 2.0
Page 70: RoR y eLearning 2.0
Page 71: RoR y eLearning 2.0
Page 72: RoR y eLearning 2.0
Page 73: RoR y eLearning 2.0
Page 74: RoR y eLearning 2.0
Page 75: RoR y eLearning 2.0
Page 76: RoR y eLearning 2.0
Page 77: RoR y eLearning 2.0
Page 78: RoR y eLearning 2.0
Page 79: RoR y eLearning 2.0
Page 80: RoR y eLearning 2.0
Page 81: RoR y eLearning 2.0
Page 82: RoR y eLearning 2.0

¿Así que aprendo Ruby y Rails y ya esta?

Page 83: RoR y eLearning 2.0
Page 84: RoR y eLearning 2.0

RoR y Educación 2.0

• La importancia de la barrera de entrada

• Es un buen momento (muchas buenas causas)

• La innovación se acelera (web, voz, móviles)

• Introduce la idea de LLL

Page 85: RoR y eLearning 2.0

Q & A