3. Ruby 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. http://www.ruby-lang.org/ 3 ¿Qué es Rails 3?
4. Ejemplo de Código 4 ¿Qué es Rails 3? # Output "I love Ágiles 2010" say = "I love Ágiles 2010" puts say # Output "I *LOVE* Ágiles 2010" say['love'] = "*love*" puts say.upcase # Output "I *love* Ágiles 2010” five times 5.times { puts say } I love Ágiles 2010 I *LOVE* ÁGILES 2010 I *love* Ágiles 2010 I *love* Ágiles 2010 I *love* Ágiles 2010 I *love* Ágiles 2010 I *love* Ágiles 2010
5. Ruby on Rails 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. http://rubyonrails.org/ 5 ¿Qué es Rails 3?
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