Desarrollo Ágil con Ruby on Rails

2,197 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,197
On SlideShare
0
From Embeds
0
Number of Embeds
129
Actions
Shares
0
Downloads
30
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Ruby is a modern, object-oriented scripting languageRuby syntax can be naturally read. Almost pseudo code.Easy to write and (more important) easy to read months later
  • Rails makes Ruby programs shorter and readable, making everyone's life easier:
  • Every piece of knowledge in a system should be expressed in just one place. Rails uses the power of Ruby to bring that to life. You’ll find very little duplication in a Rails application; you say what you need to say in one placeThat place is often suggested by the conventions of the MVC architecture
  • It means that Rails has sensible defaults for just about every aspect of knitting together your application.Follow the conventions, and you can write a Rails application using less code than a typical Java web application uses in XML configuration.If you need to override the conventions, Rails makes that easy, too.
  • All Ruby on Rails Applications have native TDD support incorporated as part of the framework.Any code developed in RoR can be testable through TDD or automated tests
  • Desarrollo Ágil con Ruby on Rails

    1. 1. 1<br />Desarrollo Ágil con Rails 3<br />
    2. 2. ¿Qué es Ruby on Rails?<br />2<br />¿Qué es Rails 3?<br />
    3. 3. Ruby<br />Un lenguaje de programación dinámico yopen source que prioriza la simplicidad y la productividad. Tiene una sintaxis natural y elegante, lo que facilita su escritura y lectura.<br />http://www.ruby-lang.org/<br />3<br />¿Qué es Rails 3?<br />
    4. 4. Ejemplo de Código<br />4<br />¿Qué es Rails 3?<br /># Output "I love Ágiles 2010"<br />say = "I love Ágiles 2010"<br />puts say<br /> <br /># Output "I *LOVE* Ágiles 2010"<br />say['love'] = "*love*"<br />puts say.upcase<br /> <br /># Output "I *love* Ágiles 2010” five times<br />5.times { puts say }<br />I love Ágiles 2010<br />I *LOVE* ÁGILES 2010<br />I *love* Ágiles 2010<br />I *love* Ágiles 2010<br />I *love* Ágiles 2010<br />I *love* Ágiles 2010<br />I *love* Ágiles 2010<br />
    5. 5. Ruby on Rails<br />Es un framework web open source optimizado para programadores felices y productividad sostenible. Te permite escribir código hermoso favoreciendo la convención por sobre la configuración.<br />http://rubyonrails.org/<br />5<br />¿Qué es Rails 3?<br />
    6. 6. Arquitectura de Ruby on Rails<br /> MVC<br />6<br />¿Qué es Rails 3?<br />
    7. 7. Arquitectura de Ruby on Rails<br />M(odel)VC<br />7<br />¿Qué es Rails 3?<br />
    8. 8. Arquitectura de Ruby on Rails<br />MV(iew)C<br />8<br />¿Qué es Rails 3?<br />
    9. 9. Arquitectura de Ruby on Rails<br />MVC(ontroller)<br />9<br />¿Qué es Rails 3?<br />
    10. 10. 10<br />¿Qué es Rails 3?<br />
    11. 11. Escrito en Ruby<br />11<br />¿Qué es Rails 3?<br />
    12. 12. Código corto y entendible<br />12<br />¿Qué es Rails 3?<br />classAirPlane < ActiveRecord::Base<br /> belongs_to :airline<br /> has_one :pilot<br /> has_many :passangers<br /> has_many :bags, :through => :passangers<br /> validates :name, :description, :presence => true<br /> validates :flight_plan, :acceptance => true<br /> validates :callsign, :uniqueness => true<br />end<br />
    13. 13. ¿Por qué Rails es Ágil?<br />13<br />Rails y la Agilidad<br />
    14. 14. Fundamentos Filosóficos:<br />DRY<br />La convención por sobre la Configuración<br />14<br />¿Qué es Rails 3?<br />
    15. 15. DRY: Don’t Repeat Yourself<br />15<br />¿Qué es Rails 3?<br />
    16. 16. La convención por sobre la configuración<br />16<br />¿Qué es Rails 3?<br />
    17. 17. Soporte Nativo de TDD<br />17<br />¿Qué es Rails 3?<br />
    18. 18. Desarrollo evolutivo de bases de datos<br />18<br />¿Qué es Rails 3?<br />
    19. 19. Ejemplo de Ruby on Rails<br />19<br />Hands-On!<br />
    20. 20. 20<br />Hands-On!<br />Airline<br />Flight<br />Airplane<br />Airport<br />Passenger<br />Bag<br />

    ×