RoR y eLearning 2.0
-
Upload
svet-ivantchev -
Category
Technology
-
view
563 -
download
2
Transcript of RoR y eLearning 2.0
![Page 1: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/3.jpg)
“Preparar para el futuro”
![Page 4: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/4.jpg)
“Preparar para el futuro”
• 1992 (DOS, Clipper, HTM-qué? ...)
![Page 5: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/5.jpg)
“Preparar para el futuro”
• 1992 (DOS, Clipper, HTM-qué? ...)
• 1996 (Windows 95, HTML, PH-qué?)
![Page 6: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/6.jpg)
“Preparar para el futuro”
• 1992 (DOS, Clipper, HTM-qué? ...)
• 1996 (Windows 95, HTML, PH-qué?)
• 1999 (Java)
![Page 7: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/7.jpg)
“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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/8.jpg)
“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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/9.jpg)
(+ (* 3 (+ (* 2 4) (+ 3 5))) (+ (- 10 7) 6))
![Page 10: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/10.jpg)
“Yo sí sé que pasará”
• http://www.youtube.com/watch?v=C5oGaZIKYvo
Enero de 2007
![Page 11: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/11.jpg)
Noviembre de 2007
Ref: http://blogs.computerworld.com/iphone_browsing_marketshare_closes_in_on_1
![Page 12: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/12.jpg)
Así que ...
• Todo lo que podemos estudiar no vale? -- Bueno, sí hay esperanza :-) (LLL)
![Page 13: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/14.jpg)
Ruby y Ruby on Rails
![Page 15: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/15.jpg)
• Assembler, Fortran, C, ...
• Tcl, Perl, Python
• Lisp, Scheme
• Erlang, Ruby
El diseño de lenguajes
€ y :-)
tiempo == €, € != :-)
![Page 16: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/18.jpg)
Ruby
![Page 19: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/19.jpg)
Ruby• orientado a objetos (ej: -2.abs)
![Page 20: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/20.jpg)
Ruby• orientado a objetos (ej: -2.abs)
• conjunto completo de structuras de datos complejas (arrays, hashes)
![Page 21: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/24.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/25.jpg)
Curva de adopción
![Page 26: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/26.jpg)
![Page 27: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/27.jpg)
Ejemplo: Ruby OSA
![Page 28: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/28.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/29.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/30.jpg)
• 20.minutes.ago
• 1.gigabyte
• 15.times { ... }
Ej: detalles
![Page 31: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/31.jpg)
Ruby on Rails
![Page 32: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/32.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/33.jpg)
rails - verano 2004,
1ed, 2005
![Page 34: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/34.jpg)
![Page 35: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/35.jpg)
![Page 36: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/36.jpg)
![Page 37: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/37.jpg)
![Page 38: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/38.jpg)
![Page 39: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/39.jpg)
![Page 40: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/40.jpg)
![Page 41: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/41.jpg)
![Page 42: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/42.jpg)
Comunidad
![Page 43: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/43.jpg)
![Page 44: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/44.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/45.jpg)
“Yo lo que quiero es trabajo”
![Page 46: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/46.jpg)
![Page 47: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/47.jpg)
![Page 48: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/48.jpg)
![Page 49: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/49.jpg)
![Page 50: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/50.jpg)
![Page 51: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/51.jpg)
![Page 52: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/52.jpg)
![Page 53: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/53.jpg)
![Page 54: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/54.jpg)
![Page 55: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/55.jpg)
![Page 56: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/56.jpg)
![Page 57: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/57.jpg)
![Page 58: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/58.jpg)
![Page 59: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/59.jpg)
![Page 60: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/60.jpg)
![Page 61: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/61.jpg)
![Page 62: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/62.jpg)
![Page 63: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/63.jpg)
![Page 64: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/64.jpg)
![Page 65: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/65.jpg)
![Page 66: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/66.jpg)
![Page 67: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/67.jpg)
![Page 68: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/68.jpg)
![Page 69: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/69.jpg)
![Page 70: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/70.jpg)
![Page 71: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/71.jpg)
![Page 72: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/72.jpg)
![Page 73: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/73.jpg)
![Page 74: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/74.jpg)
![Page 75: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/75.jpg)
![Page 76: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/76.jpg)
![Page 77: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/77.jpg)
![Page 78: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/78.jpg)
![Page 79: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/79.jpg)
![Page 80: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/80.jpg)
![Page 81: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/81.jpg)
![Page 82: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/82.jpg)
¿Así que aprendo Ruby y Rails y ya esta?
![Page 83: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/83.jpg)
![Page 84: RoR y eLearning 2.0](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/84.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022052303/55628c25d8b42ad1688b5728/html5/thumbnails/85.jpg)
Q & A