Ruby in ogrodje Rails

  • 651 views
Uploaded on

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

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
651
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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

Transcript

  • 1. Demo01:Vse v Ruby je objekt!• Ruby Interactive Shell• #object_id
  • 2. Demo02: Hash, Array, “chain”...• Hash in Array• Sestavljanje funkcij• Blok
  • 3. Demo03: Razred• Class = Razred• Metode• Dokumentacija (ri)
  • 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. Rails• Avtor: David Heinemeier Hansson (@dhh)• Basecamp + 37signals• Verzija 1.0 13. - December 2005• Trenutna 3.0. Nova 3.1 maj/april 2011
  • 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