SlideShare a Scribd company logo
Ruby
Beyond
Rails
Lanka Ruby User Group
28 October 2009



Gaveen Prabhasara
http://gaveen.owain.org
Ruby beyond Rails
1993




                    Matz
                    (Yukihiro Matsumoto)
                    Creates Ruby
Ruby beyond Rails
Late 90s




                    Ruby gets
                    Recognition outside
                    Japan
Ruby beyond Rails
2004




                    DHH
                    (David Heinemeier
                    Hansson) Creates
                    Ruby on Rails
Ruby beyond Rails
Then
            Ruby becomes mainstream




Ruby beyond Rails
Now
  Everybody think Ruby is the shorten term
             for Ruby on Rails




Ruby beyond Rails
Now
  Everybody think Ruby is the shorten term
             for Ruby on Rails



       And Everything is Fine! :)

Ruby beyond Rails
Ruby beyond Rails
Ruby is a
Web programming language, right?




Ruby beyond Rails
No!
                    (And sort of Yes)




Ruby beyond Rails
What else can Ruby Do?




Ruby beyond Rails
Quite a lot actually




Ruby beyond Rails
“a dynamic, open source programming language with a focus on
   simplicity and productivity. It has an elegant syntax that is natural
   to read and easy to write.”
                                                   - Ruby Official Website



   "a dynamic, reflective, general purpose object-oriented programming
   language...
                                                   - Wikipedia



                        http://www.ruby-lang.org/


Ruby beyond Rails
has many implementations

       MRI/YARV, JRuby, Rubinius, IronRuby,
      MagLev, Blue Ruby, MacRuby, HotRuby,
                   tinyrb, etc.

     Which means Ruby is available on many
             Software platforms



Ruby beyond Rails
can run in many environments

       Linux, Windows, MacOS X, SymbianOS,
            Common Unix variants, etc.

     Which means Ruby is available on many
             Operating Systems




Ruby beyond Rails
Among other things,




               Good string processing
          Good RegEx engine (Oniguruma)
             Easy network programming
                Highly readable code
                    Low entry barrier
              High developer happiness

Ruby beyond Rails
Let's see what else is there




Ruby beyond Rails
Before we start




http://www.slideshare.net/adamwiggins/ruby-isnt-just-about-rails-presentation


Ruby beyond Rails
Web Application Frameworks




Ruby beyond Rails
Ruby can be used to program web applications
    If you like with many available options such as




http://rubyonrails.org/   http://merbivore.org/   http://www.sinatrarb.com/




Ruby beyond Rails
Lightweight Web Servers




Ruby beyond Rails
There are quite a few lightweight web servers/
          Web server libraries written in Ruby




http://code.macournoyer.com/thin/         http://mongrel.rubyforge.org/




                      http://unicorn.bogomips.org/




Ruby beyond Rails
Web Servers Interface




Ruby beyond Rails
In the form of Rack, unifies the API for web servers,
     web frameworks, and software in between




                    http://rack.rubyforge.org/




Ruby beyond Rails
Scripting




Ruby beyond Rails
Ruby has always been a popular choice as a
                Scripting language




Ruby beyond Rails
Other than that there are several scripting
        Tools available in the Ruby world


      Rake    - http://rake.rubyforge.org/
      Thor    - http://github.com/wycats/thor
      Boson   - http://github.com/cldwalker/boson




Ruby beyond Rails
There is also a Ruby Shell available for
                 scripting purposes




                    http://rush.heroku.com/




Ruby beyond Rails
Security




Ruby beyond Rails
The popular Open Source Exploitation Framework
 and Security tool Metasploit is written with Ruby

        From the web UI to the disassembler


                    http://www.metasploit.com/


 Plus the Metasploit Rex library (Ruby) which is
 included in the Motasploit Framework contains
                 a lot a goodies.

                      Check it out!



Ruby beyond Rails
Mobile Applications




Ruby beyond Rails
Ruby native implementation is already available
       under certain versions of SymbianOS

     Rhodes mobile application framework enables
the development of cross-platform mobile applications
For iPhone, Android, WinMo, Symbian, BlackBerry
    using Ruby which are compiled into native code




                     http://rhomobile.com/



 Ruby beyond Rails
VoIP




Ruby beyond Rails
Adhearsion project brings the elegance of Ruby
        Into the voice application domain




                    http://adhearsion.com/




Ruby beyond Rails
Deployment




Ruby beyond Rails
Capistrano makes deploying Ruby web applications
   (and others up to a certain mark) very easy




                       http://www.capify.org/


   There are alternatives to Capistrano (for Rails
                  deployment) such as
       Vlad - http://rubyhitsquad.com/Vlad_the_Deployer.html
              Inploy - http://github.com/dcrec1/inploy



Ruby beyond Rails
Infrastructure Management




Ruby beyond Rails
Puppet is the current industry champion in the
        Configuration Management game




            http://reductivelabs.com/products/puppet/


        Chef is another tool similar to Puppet
                 http://github.com/opscode/chef


Ruby beyond Rails
What do you think now?




Ruby beyond Rails
For further information have a look at the white paper
           “The Ruby and Rails Ecosystem”




          http://www.infoether.com/ruby-and-rails-whitepaper

 Disclaimer: The author was completely unaware of this whitepaper when
 he was preparing these slides


Ruby beyond Rails
These are just generic introductions
    Had to manage within the time constraints
    Hope to do some hands on sessions in future



                    Q&A


Ruby beyond Rails

More Related Content

KEY
Ruby Plugins for Jenkins
PPTX
Ruby on Rails : First Mile
KEY
Ruby On Rails Ecosystem
PPTX
Ruby on rails
PPTX
Dissecting ruby on rails
PDF
Ruby On Rails
PPT
Introduction To Rails
KEY
MacRuby: What is it? and why should you care?
Ruby Plugins for Jenkins
Ruby on Rails : First Mile
Ruby On Rails Ecosystem
Ruby on rails
Dissecting ruby on rails
Ruby On Rails
Introduction To Rails
MacRuby: What is it? and why should you care?

What's hot (20)

PDF
PHP in the Cloud
PDF
MacRuby
PDF
Ruby on Rails
PPTX
Ruby and Security
PPTX
Rubykaigi 2017-nishimotz-v6
PDF
Ruby on Rails Presentation
PPT
Ruby Past, Present, Future
PDF
Ruby on Rails Development Services Company Overview
PDF
Ruby in office time reboot
PDF
Productive Rails development with RubyMine
PDF
Ruby Presentation - Beamer
PDF
JRuby in the enterprise
KEY
Crate - ruby based standalone executables
PPTX
Why ruby
PDF
Tech Webinar: Web App in un'ora con Ruby on Rails
PPTX
Ruby on rails
PDF
Ro r trilogy-part-1
PDF
Why JRuby?
PPT
Dynamic Languages on the JVM
PPTX
JRuby deployments
PHP in the Cloud
MacRuby
Ruby on Rails
Ruby and Security
Rubykaigi 2017-nishimotz-v6
Ruby on Rails Presentation
Ruby Past, Present, Future
Ruby on Rails Development Services Company Overview
Ruby in office time reboot
Productive Rails development with RubyMine
Ruby Presentation - Beamer
JRuby in the enterprise
Crate - ruby based standalone executables
Why ruby
Tech Webinar: Web App in un'ora con Ruby on Rails
Ruby on rails
Ro r trilogy-part-1
Why JRuby?
Dynamic Languages on the JVM
JRuby deployments
Ad

Viewers also liked (20)

PDF
SEA Rails na pratica
ODP
Introdução ao Desenvolvimento WEB com Ruby on Rails
PPT
Mini-curso RoR - Apresentação
PDF
Caelum ruby-on-rails-rr71
PPT
Django: Uso de frameworks ágeis para desenvolvimento web
PDF
Introdução ao Ruby On Rails
KEY
Desenvolvimento Ágil com Rails GURUSC 2011
PPT
Mini-curso RoR - Aula 01
PDF
[PDF] Repensando o Desenvolvimento Web com Ruby on Rails
PDF
Palestra Ruby on Rails SETA 2008/01
PPTX
Segurança em Rails
ODP
Introducao ao Ruby On Rails
PDF
Esta começando a programar para a web? Então começe com Rails
PDF
Apresentação ruby + rails 2014
PDF
Rails na pratica
PDF
ActiveRecord Query Interface (1), Season 1
PDF
Make your app idea a reality with Ruby On Rails
KEY
ActiveRecord Validations, Season 2
PPSX
Conhecendo o Django
PDF
Desenvolvimento ágil de software com Ruby on Rails
SEA Rails na pratica
Introdução ao Desenvolvimento WEB com Ruby on Rails
Mini-curso RoR - Apresentação
Caelum ruby-on-rails-rr71
Django: Uso de frameworks ágeis para desenvolvimento web
Introdução ao Ruby On Rails
Desenvolvimento Ágil com Rails GURUSC 2011
Mini-curso RoR - Aula 01
[PDF] Repensando o Desenvolvimento Web com Ruby on Rails
Palestra Ruby on Rails SETA 2008/01
Segurança em Rails
Introducao ao Ruby On Rails
Esta começando a programar para a web? Então começe com Rails
Apresentação ruby + rails 2014
Rails na pratica
ActiveRecord Query Interface (1), Season 1
Make your app idea a reality with Ruby On Rails
ActiveRecord Validations, Season 2
Conhecendo o Django
Desenvolvimento ágil de software com Ruby on Rails
Ad

Similar to Ruby Beyond Rails (20)

DOC
Ruby On Rails
PDF
Bhavesh ro r
KEY
Ruby On Rails
PDF
Ruby on Rails
PDF
JRuby, Ruby, Rails and You on the Cloud
KEY
Wed Development on Rails
PPTX
Ruby on rails
PDF
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
PDF
Better Framework Better Life
PPT
Ruby on Rails (RoR) as a back-end processor for Apex
KEY
Ruby on Rails survival guide of an aged Java developer
PDF
Ruby and rails around the web fun, informative sites for new and experienced...
PPTX
Ruby on Rails - An overview
KEY
Better framework, better life
PDF
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
PDF
Aspose pdf
PDF
JRuby - Java version of Ruby
PDF
JRuby - The Best of Java and Ruby
PDF
From Java to Ruby...and Back
PDF
Ruby Rails Web Development.pdf
Ruby On Rails
Bhavesh ro r
Ruby On Rails
Ruby on Rails
JRuby, Ruby, Rails and You on the Cloud
Wed Development on Rails
Ruby on rails
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
Better Framework Better Life
Ruby on Rails (RoR) as a back-end processor for Apex
Ruby on Rails survival guide of an aged Java developer
Ruby and rails around the web fun, informative sites for new and experienced...
Ruby on Rails - An overview
Better framework, better life
Is Ruby on Rails Object Oriented? A Comprehensive Exploration
Aspose pdf
JRuby - Java version of Ruby
JRuby - The Best of Java and Ruby
From Java to Ruby...and Back
Ruby Rails Web Development.pdf

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Approach and Philosophy of On baking technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
Big Data Technologies - Introduction.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
sap open course for s4hana steps from ECC to s4
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Approach and Philosophy of On baking technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm
Understanding_Digital_Forensics_Presentation.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)

Ruby Beyond Rails

  • 1. Ruby Beyond Rails Lanka Ruby User Group 28 October 2009 Gaveen Prabhasara http://gaveen.owain.org
  • 3. 1993 Matz (Yukihiro Matsumoto) Creates Ruby Ruby beyond Rails
  • 4. Late 90s Ruby gets Recognition outside Japan Ruby beyond Rails
  • 5. 2004 DHH (David Heinemeier Hansson) Creates Ruby on Rails Ruby beyond Rails
  • 6. Then Ruby becomes mainstream Ruby beyond Rails
  • 7. Now Everybody think Ruby is the shorten term for Ruby on Rails Ruby beyond Rails
  • 8. Now Everybody think Ruby is the shorten term for Ruby on Rails And Everything is Fine! :) Ruby beyond Rails
  • 10. Ruby is a Web programming language, right? Ruby beyond Rails
  • 11. No! (And sort of Yes) Ruby beyond Rails
  • 12. What else can Ruby Do? Ruby beyond Rails
  • 13. Quite a lot actually Ruby beyond Rails
  • 14. “a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.” - Ruby Official Website "a dynamic, reflective, general purpose object-oriented programming language... - Wikipedia http://www.ruby-lang.org/ Ruby beyond Rails
  • 15. has many implementations MRI/YARV, JRuby, Rubinius, IronRuby, MagLev, Blue Ruby, MacRuby, HotRuby, tinyrb, etc. Which means Ruby is available on many Software platforms Ruby beyond Rails
  • 16. can run in many environments Linux, Windows, MacOS X, SymbianOS, Common Unix variants, etc. Which means Ruby is available on many Operating Systems Ruby beyond Rails
  • 17. Among other things, Good string processing Good RegEx engine (Oniguruma) Easy network programming Highly readable code Low entry barrier High developer happiness Ruby beyond Rails
  • 18. Let's see what else is there Ruby beyond Rails
  • 21. Ruby can be used to program web applications If you like with many available options such as http://rubyonrails.org/ http://merbivore.org/ http://www.sinatrarb.com/ Ruby beyond Rails
  • 23. There are quite a few lightweight web servers/ Web server libraries written in Ruby http://code.macournoyer.com/thin/ http://mongrel.rubyforge.org/ http://unicorn.bogomips.org/ Ruby beyond Rails
  • 25. In the form of Rack, unifies the API for web servers, web frameworks, and software in between http://rack.rubyforge.org/ Ruby beyond Rails
  • 27. Ruby has always been a popular choice as a Scripting language Ruby beyond Rails
  • 28. Other than that there are several scripting Tools available in the Ruby world Rake - http://rake.rubyforge.org/ Thor - http://github.com/wycats/thor Boson - http://github.com/cldwalker/boson Ruby beyond Rails
  • 29. There is also a Ruby Shell available for scripting purposes http://rush.heroku.com/ Ruby beyond Rails
  • 31. The popular Open Source Exploitation Framework and Security tool Metasploit is written with Ruby From the web UI to the disassembler http://www.metasploit.com/ Plus the Metasploit Rex library (Ruby) which is included in the Motasploit Framework contains a lot a goodies. Check it out! Ruby beyond Rails
  • 33. Ruby native implementation is already available under certain versions of SymbianOS Rhodes mobile application framework enables the development of cross-platform mobile applications For iPhone, Android, WinMo, Symbian, BlackBerry using Ruby which are compiled into native code http://rhomobile.com/ Ruby beyond Rails
  • 35. Adhearsion project brings the elegance of Ruby Into the voice application domain http://adhearsion.com/ Ruby beyond Rails
  • 37. Capistrano makes deploying Ruby web applications (and others up to a certain mark) very easy http://www.capify.org/ There are alternatives to Capistrano (for Rails deployment) such as Vlad - http://rubyhitsquad.com/Vlad_the_Deployer.html Inploy - http://github.com/dcrec1/inploy Ruby beyond Rails
  • 39. Puppet is the current industry champion in the Configuration Management game http://reductivelabs.com/products/puppet/ Chef is another tool similar to Puppet http://github.com/opscode/chef Ruby beyond Rails
  • 40. What do you think now? Ruby beyond Rails
  • 41. For further information have a look at the white paper “The Ruby and Rails Ecosystem” http://www.infoether.com/ruby-and-rails-whitepaper Disclaimer: The author was completely unaware of this whitepaper when he was preparing these slides Ruby beyond Rails
  • 42. These are just generic introductions Had to manage within the time constraints Hope to do some hands on sessions in future Q&A Ruby beyond Rails