Patrón mvc

19

Click here to load reader

description

 

Transcript of Patrón mvc

Page 1: Patrón mvc

Rails.mx

Patrón de Diseño MVC

Desarrollando con Ruby On Railshttp://tv.rails.mxAgosto 2010

Page 2: Patrón mvc

Agenda

● Mecanismos● Generalidades● MVC en Web● MVC en Ruby On Rails● Me

Page 3: Patrón mvc

Mecanismos

● Preguntas● Al final de la sesión

– Por twitter: reply a @chillicoder– Formspring:

http://formspring.me/chillicoder– Sección de preguntas de Pio.la

Page 4: Patrón mvc

“Más-Visto-que-Conocido”

Generalidades

Page 5: Patrón mvc

“Modelo-Vista-Controlador”

Generalidades

Page 6: Patrón mvc

Generalidades

● Orígenes● Xerox PARCPlace circa 1984-1989

● Reutilización● Señales de Tránsito

– Semáforos● Software

– Programación Orientada a Objetos

Page 7: Patrón mvc

Generalidades

● Elementos● Modelo● Vista● Controlador

Page 8: Patrón mvc

Generalidades

● Ejemplo● Reloj

– Digital– Analógico

Page 9: Patrón mvc

Generalidades

● Escenario de Desarrollo● Componentes de Información

– Modelos, TDD, BDD● Representaciones Gráficas

Page 10: Patrón mvc

Generalidades

● Ventajas● Múltiples representaciones● Productividad● Calidad

Page 11: Patrón mvc

MVC en Web

● Tecnologías y Frameworks● PHP-CakePHP, Tlalokes● Java-Struts,JSF● ASP.NET-MVC2

Page 12: Patrón mvc

MVC en Ruby On Rails

Page 13: Patrón mvc

MVC en Ruby On Rails

Page 14: Patrón mvc

MVC en Ruby On Rails

Page 15: Patrón mvc

MVC en Ruby On Rails

Page 16: Patrón mvc

MVC en Ruby On Rails

Page 17: Patrón mvc

MVC en Ruby On Rails

Page 18: Patrón mvc

Mecanismos

● Preguntas● Al final de la sesión

– Por twitter: reply a @chillicoder– Formspring:

http://formspring.me/chillicoder– Sección de preguntas de Pio.la

Page 19: Patrón mvc

Chillicoder

● Twitter: @chillicoder● Blog: http://chilli-coder.blogspot.com● Martín Trejo Chávez● 2 años y medio● Más de carrera