Your SlideShare is downloading. ×
0
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 Ra...
Late 90s




                    Ruby gets
                    Recognition outside
                    Japan
Ruby beyond R...
2004




                    DHH
                    (David Heinemeier
                    Hansson) Creates
              ...
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 b...
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...
has many implementations

       MRI/YARV, JRuby, Rubinius, IronRuby,
      MagLev, Blue Ruby, MacRuby, HotRuby,
         ...
can run in many environments

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

     Whic...
Among other things,




               Good string processing
          Good RegEx engine (Oniguruma)
             Easy ne...
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.or...
Lightweight Web Servers




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




http://code.macournoyer....
Web Servers Interface




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




                   ...
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.rubyfo...
There is also a Ruby Shell available for
                 scripting purposes




                    http://rush.heroku.co...
Security




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

        From the web UI...
Mobile Applications




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

     Rhodes mobile application...
VoIP




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




                    http://ad...
Deployment




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




                      ...
Infrastructure Management




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




            http://reductivelabs....
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....
These are just generic introductions
    Had to manage within the time constraints
    Hope to do some hands on sessions i...
Upcoming SlideShare
Loading in...5
×

Ruby Beyond Rails

13,866

Published on

Slides from my session at Lanka Ruby User Group meetup (28th Oct 2009). I talked about why Ruby is much more than just Rails and web applications.

Published in: Technology
3 Comments
6 Likes
Statistics
Notes
No Downloads
Views
Total Views
13,866
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
122
Comments
3
Likes
6
Embeds 0
No embeds

No notes for slide

Transcript of "Ruby Beyond Rails"

  1. 1. Ruby Beyond Rails Lanka Ruby User Group 28 October 2009 Gaveen Prabhasara http://gaveen.owain.org
  2. 2. Ruby beyond Rails
  3. 3. 1993 Matz (Yukihiro Matsumoto) Creates Ruby Ruby beyond Rails
  4. 4. Late 90s Ruby gets Recognition outside Japan Ruby beyond Rails
  5. 5. 2004 DHH (David Heinemeier Hansson) Creates Ruby on Rails Ruby beyond Rails
  6. 6. Then Ruby becomes mainstream Ruby beyond Rails
  7. 7. Now Everybody think Ruby is the shorten term for Ruby on Rails Ruby beyond Rails
  8. 8. Now Everybody think Ruby is the shorten term for Ruby on Rails And Everything is Fine! :) Ruby beyond Rails
  9. 9. Ruby beyond Rails
  10. 10. Ruby is a Web programming language, right? Ruby beyond Rails
  11. 11. No! (And sort of Yes) Ruby beyond Rails
  12. 12. What else can Ruby Do? Ruby beyond Rails
  13. 13. Quite a lot actually Ruby beyond Rails
  14. 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. 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. 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. 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. 18. Let's see what else is there Ruby beyond Rails
  19. 19. Before we start http://www.slideshare.net/adamwiggins/ruby-isnt-just-about-rails-presentation Ruby beyond Rails
  20. 20. Web Application Frameworks Ruby beyond Rails
  21. 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
  22. 22. Lightweight Web Servers Ruby beyond Rails
  23. 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
  24. 24. Web Servers Interface Ruby beyond Rails
  25. 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
  26. 26. Scripting Ruby beyond Rails
  27. 27. Ruby has always been a popular choice as a Scripting language Ruby beyond Rails
  28. 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. 29. There is also a Ruby Shell available for scripting purposes http://rush.heroku.com/ Ruby beyond Rails
  30. 30. Security Ruby beyond Rails
  31. 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
  32. 32. Mobile Applications Ruby beyond Rails
  33. 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
  34. 34. VoIP Ruby beyond Rails
  35. 35. Adhearsion project brings the elegance of Ruby Into the voice application domain http://adhearsion.com/ Ruby beyond Rails
  36. 36. Deployment Ruby beyond Rails
  37. 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
  38. 38. Infrastructure Management Ruby beyond Rails
  39. 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. 40. What do you think now? Ruby beyond Rails
  41. 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. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×