10-11 Sep. 2011 Workshop on Drupal & Ruby on Rails At DDIT, Nadiad Bhavesh Pansheriya Ruby on Rails Developer Gloscon Solutions Pvt. Ltd.
What is Ruby ?• A dynamic, open source programming language with a focus on simplicity and productivity.• Generic, interpreted, reflective, with garbage collection• Optimized for people rather than computers Yukihiro Matsumoto The creator of Ruby 1995• Everything is an object. There are no primitive types.• More powerful than Perl, more object oriented than Python
What is Ruby ?class Person def initialize name @name = name end def operation @name.capitalize*3 endendobject_1 = Person.new “tejas”object_1.operationOUTPUT TejasTejasTejas
Where ruby is using ?• Simulations - NASA Langley Research Center & Motorola .• 3D Modeling - Google SketchUp is a 3D modeling.• Business - Toronto Rehab uses a RubyWebDialogs based app to manage and track on-call and on-site support.• Robotics - At MORPHA project, Siemens service robot.• Networking - Open Domain Server uses Ruby.• Telephony - Within Lucent on a 3G wireless telephony product.• Web Applications – Basecamp, 43 Things, Blue Sequence.
What is Ruby on Rails (RoR) ?• RoR is an open-source web framework uses Model-View-Controller architecture developed in Ruby.• Web application at least ten times faster with David Heinemeier Rails than with a typical Java framework. Hansson The creator of Rails 2005• Everything in Rails (templates to control flow to business logic) is written in Ruby - Except for configuration files – YAML