Loading... Ruby on Rails 3

Embed Size (px)

Citation preview

Azul blanco

Loading...
Ruby on Rails 3

22 de abril de 2010

ndice

Introduccin

Ruby

Ruby on Rails

Ejemplo prctico con Rails 3

Loading...

Web 1.0 (o menos)

http://nomulous.com/blog/wp-content/uploads/2009/10/xkcd_geocities.pngweb1

Web 2.0 (o ms)

http://www.flickr.com/photos/visualthinkmap/4045806113

Nooo Interneeeeeet

Mis hroes

http://www.flickr.com/photos/videoplacebo/2476230102

Ruby

Man is driven to create; I know I really love to create things. And while I'm not good at painting, drawing, or music, I can write software.

Yukihiro Matsumoto, a.k.a. Matz

Ruby

PythonPerlSmalltalkLispCLU+

Ruby

Ruby

Lenguaje joven (aos 90)InterpretadoDinmicoOrientado a objetosRecolector de basura automticoIntrospeccinReflexinMetaprogramacinbla,bla,bla,bla,...

Ruby

Cercano al lenguaje natural

Ruby

Fcil de leer

Ruby

Fcil de escribir

Ruby

Altamente Productivo

Ruby

Todo son objetos

Ruby

Ruby

Ruby

Convenciones

Ruby

current_user@user@@counterPost:login_required

Ruby

Flexible(como el bamb)

Ruby

Loading....repeat(10)

Ruby

Loading....repeat(10)

NoMethodError: undefined method `repeat' for "Loading...":Stringfrom (irb):5

Ruby

Ruby

Ruby

Duck Typing

Ruby on Rails

The best way to predict the future is to implement it.

David Heinemeier Hansson, a.k.a. DHH

Ruby on Rails

Extrado a partir de BasecampFull-stack framework

Ruby on Rails

DRYDon't repeat yourself

Ruby on Rails

DRYDon't repeat yourselfDon't repeat yourself

Ruby on Rails

DRYDon't repeat yourselfDon't repeat yourselfDon't repeat yourself

Ruby on Rails

DRYDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourself

Ruby on Rails

DRYDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourself

Ruby on Rails

DRYDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourselfDon't repeat yourself

Ruby on Rails

COCConvention Over Configuration

Ruby on Rails

Opinionated software

Ruby on Rails

Model View - Controller

Ruby on Rails

RoR + Merb = Rails 3

Ruby on Rails

BundlerRutasActiveRecordAction MailerDesacoplamientoMenos cdigoMayor rendimientoProteccin XSS...

Ruby on Rails

A trabajar!

La parte prctica fue fusilada totalmente del screencast de Yehuda (gracias): http://railsdispatch.com/posts/rails-3-makes-life-better

Sobre mi...

Rafael Garca OrtegaDesarrollador en ASPgems

[email protected]://twitter.com/leptomhttp://github.com/rgohttp://blog.rafagarcia.net

dudas?

gracias!

Pulse para editar los formatos del texto del esquemaSegundo nivel del esquemaTercer nivel del esquemaCuarto nivel del esquemaQuinto nivel del esquemaSexto nivel del esquemaSptimo nivel del esquemaOctavo nivel del esquemaNoveno nivel del esquema

aspgems.com

aspgems.com