Your SlideShare is downloading. ×
0
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Ruby in prijatelji
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ruby in prijatelji

1,617

Published on

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,617
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
1
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

Transcript

  • 1. Ruby in prijatelji Oto Brglez za #wwwhmb
  • 2. Kontakt in vprašanja• @otobrglez• skype: zverchi• http://opalab.com• @wwwhmb, #wwwhmb, wwwhmb.si
  • 3. Kdo sem?• Razvijalec• Veliki projekti, mali projekti, “free” projekti• (Izredni) Študent ;)• LinkedIn: http://www.linkedin.com/in/otobrglez
  • 4. Za koga je ta talk?• Razvijalece, ki so žže programirali.• Razvijalece, ki rabijo nove izzive.• Ljudi, ki iščejo zabavo in srečo.*
  • 5. Potek• Ruby - (uvod, splošno, kako?, itd...)• Prijatelji (DSL, ogrodja, Rails,...)
  • 6. Ruby ~ZgodovinaYukihiro Matsumoto -@yukihiro_matzJaponska 199021 december 1995 ~> Ruby 1.0
  • 7. Klasifikacija in inspiracija• Dinamičen• Reflektiven• Splošen• Objektno orientiran• Inspiracija PERL, Smalltalk, Eiffel
  • 8. Paradigme• Funkcijski• Objektno orientiran• Iperativen• Reflektiven• Dinamični tipi (Duck typing)
  • 9. Implementacije• MRI (C by Matz)• YARD• JRuby• Rubinius• IronRuby• MacRuby• HotRuby
  • 10. Namestitev?• OSX ~> Prednameščen• Ubutnu and alike ~> apt-get ...• Windows ~> http://rubyinstaller.org/• http://www.ruby-lang.org
  • 11. RVM = Ruby Version Manager
  • 12. RubyGems
  • 13. IRB = Interactive Ruby Shell
  • 14. Vejitve, zanke, funkcije,...
  • 15. String, Array[], Hash{},...
  • 16. Razredi in OOP
  • 17. Dedovanje, Mixin,...
  • 18. ruby-debug19
  • 19. ri, rdoc
  • 20. Ruby Reference/doc• http://apidock.com/• http://ruby-doc.org/• http://rubydoc.info/
  • 21. End of part 1. Vprašanja?
  • 22. Sledi...• DSL• RSpec• Sinatra• Ruby on Rails
  • 23. DSL = Domain-specific language• “In software development, a domain- specific language (DSL) is a programming language or specification language dedicated to a particular problem domain, a particular problem representation technique, and/or a particular solution technique.” - Wikipedia
  • 24. Bolj poznani “DSL-ji” v Ruby svetu...• RAKE ~ Ruby “Make”• RSpec ~ Ruby Specification framework• Sinatra ~ Web application framework• ...
  • 25. RSpec = Behaviour-Driven Development tool for Ruby programmers
  • 26. Sinatra
  • 27. Ruby on RailsDavid Heinemeier Hansson @dhhJulij 2004Ruby on Rails z Mac OS XLeopard
  • 28. Filozofija• CoC = Convention over Configuration• DRY = Don’t Repeat Yourself
  • 29. Kaj ima?• MVC ~ Model-View-Controller Pattern• Scaffolding• WEBrick• Rake• Prototype in Script.aculo.us ~> jQuery• RESTful Web Services• UJS = Unobstrusive JavaScript• ActiveRecord
  • 30. Simple projekt: pozdravi-me
  • 31. Scaffold
  • 32. What?
  • 33. Hvala!http://pozdravi-me.heroku.com/
  • 34. Novo v Rails 3.1• Assets Pipeline• HTTP Streaming• jQuery Default

×