SlideShare a Scribd company logo
Ruby
                          without
                              Rails
                          @WebDev Party #3




photo by Crashmaster007
                             高見見龍龍
Ruby without rails
高見見龍龍
a.k.a Eddie or Aquarianboy
 Live and work in Taipei, Taiwan.
 Serving in my own little tiny company.
 Flash / AS3 / Ruby / Rails / Python programming for living.
 Objective-C for personal inerests.
 Technical Education and Consulant.
 PTT Flash BM (since 2007/4).
 Ruby Certified Programmer (Since 2012/1).
 Adobe Certified Flash Developer (Since 2006/7).
 Linux Professional Institue Certification (Since 2005/3).     photo by Eddie
Today, We'll alk about..
- some fun(or weird) parts of Ruby
- what can you do with Ruby?
no Ruby on Rails oday.
投資⼀一定有風險,基金投資有賺有
賠,申購前應詳閱公開說明書
寫Ruby或寫Rails沒有比較潮!
可能會比較溼,俗稱大溼
會抓貓的就是好貓!
喵~
沒比較潮為何要從PHP換到Ruby?
我本來就不是寫PHP的..
I’m a Flash guy.




photo by JD Hancock
你不寫PHP..? 那去年不是跟那個誰誰
誰⼀一起辦了PHPConf?
那又是另⼀一個故事了..
不過,今年,也敬請期待!
Ruby..
a Object-Oriened Programming
language
分支 & 實作品
RVM or Rbenv

RVM http://beginrescueend.com/
Rbenv https://github.com/ssephenson/rbenv
Introduce o RVM http://blog.eddie.com.tw/2011/11/16/rvm/
RVM and gemsets http://blog.eddie.com.tw/2011/04/08/rvm-and-gemsets/
Ruby is slow?
Live Coding!
This Page Inentionally Left Blank
         but not blank at all
Wrap it up!
Almost everything in Ruby is an
object.
but you can say "Everything
evaluaes o an object"
use Ruby 1.9+
Ruby 1.8 has no future!
1.8 v.s 1.9 http://blog.eddie.com.tw/2011/06/13/some-differences-between-ruby-1-8-and-1-9/
Rails is not a language
Ruby != Rails, Rails != Ruby
and we usually call Ruby on Rails
as “Rails”, not “RoR”.
there's no MAGIC!
So, what can you do with Ruby?
Rake
Make, but Ruby version.

Rack http://rake.rubyforge.org/
Rack
it’s a specification (and implemenation) of a minimal
abstract Ruby API that models HTTP.
such as Sinatra, Ruby on Rails
Rack http://rack.rubyforge.org/
Sinatra http://www.sinatrarb.com
Ruby on Rails http://rubyonrails.org/
developing App on MacOS?
developing App on iOS?
Ruby without rails
drawing, image processing, music..
不要讓別人覺得我們阿宅只會寫程式
Ruby is fun!
The only limiation is your imagination.
想像力力是你的超能力力!
Any Question?   photo by jamuraa
Conacts
高見見龍龍   Websie
        Blog
                   http://www.eddie.com.tw
                   http://blog.eddie.com.tw
        Plurk      http://www.plurk.com/aquarianboy
        Facebook   http://www.facebook.com/eddiekao
        Google Plus http://www.eddie.com.tw/+
        Twiter    https://twiter.com/#!/eddiekao
        Email      eddie@digik.com.tw
        Mobile     +886-928-617-687




                                                      photo by Eddie

More Related Content

Ruby without rails