Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby 入门第一课

Jason Lee
September 02, 2015

Ruby 入门第一课

Jason Lee

September 02, 2015
Tweet

More Decks by Jason Lee

Other Decks in Programming

Transcript

  1. Rails ᙧว • ᩸რԭ 2003 ଙ֢҅ᘏฎ DHHҔ • ౼ᛗፓڹ૪ํ᩻ᬦ 4K

    ӻᨯሠᘏҔ • ๋ضᬰጱ Web ୏ݎ໛ຝ҅Ӟଶᤩݱᐿٌ՜᧍᥺ጱ໛ຝ਍ԟҔ • ഭݷᒫӞ̵ԞฎࠔӞӞӻᤩ Ruby ᐒ܄ಅํՈᦊݢളݑጱ Web ໛ຝҁݝํӞ ӻ Sinatra ࣁ੝හᓌܔଫአ࣋วֵአ҂ • ԞฎࠔӞӞӻտᤩ Ruby ਥො؉ᰒ੒ս۸ጱ Web ໛ຝҁํग़ӻ Ruby ໐ஞ୏ ݎᘏԞݶ෸ฎ Rails ໐ஞ୏ݎᘏҔ
  2. Rails ጱԆᥝ᮱կ • ActionPack - (Controller, Router, Cookie, Session …)

    • ActionView - (Template, Helper) • ActiveRecord - (Model, Migration, Validation) • ActiveSupport - (Ruby ໐ஞಘ઀҅ݱᐿ Magic҅ᓌ၄̵ṛප̵Ո௔۸ ጱचᏐ) • Assets Pipeline - (ڹᒒ୏ݎᥴ٬ොໜ) • ActionMailer / ActiveJob / Console / I18n / Security
  3. • Homebrew (brew.sh) - ᬀۗਞᤰӣොପ for Mac OS X •

    RVM (rvm.io)- ଆ֦ਞᤰ Ruby ޾ᓕቘग़ӻᇇ๜ጱ Ruby • TextMate - ෈๜ᖫᬋૡٍ