Ruby in ogrodje Rails

854 views
781 views

Published on

Predstavitev programskega jezika Ruby in ogrodja Rails. Pripravljeno za predstavitev na FERI.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
854
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Ruby in ogrodje Rails

    1. 1. Demo01:Vse v Ruby je objekt!• Ruby Interactive Shell• #object_id
    2. 2. Demo02: Hash, Array, “chain”...• Hash in Array• Sestavljanje funkcij• Blok
    3. 3. Demo03: Razred• Class = Razred• Metode• Dokumentacija (ri)
    4. 4. Torej zakaj?“For me, the purpose of life is, at least partly, tohave joy. Programmers often feel joy when theycan concentrate on the creative side ofprogramming, so Ruby is designed to makeprogrammers happy. I consider a programminglanguage as a user interface, so it should follow theprinciples of user interface.” Yukihiro Matsumoto (a.k.a. “Matz”), 2000, emphasis added
    5. 5. Rails• Avtor: David Heinemeier Hansson (@dhh)• Basecamp + 37signals• Verzija 1.0 13. - December 2005• Trenutna 3.0. Nova 3.1 maj/april 2011
    6. 6. Razvoj• Ogrodje namestimo kot paket (gem) s paketnim orodjem• Namestimo gem-e ki jih potrebujemo v naši aplikaciji (MySQL, PostgreSQL, Redis,...)• Razvojni strežnik• Produkcijski strežnik (Heroku, Engine Yard,...)• TDD / BDD

    ×