Practical IronRuby

2,375 views

Published on

IronRuby has been around for a while. This presentation is about the practical uses of IronRuby. It contains several different use cases that you can immediately go and use to enhance your everyday work.

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
2,375
On SlideShare
0
From Embeds
0
Number of Embeds
599
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Practical IronRuby

  1. 1. Practical IronRuby Shay Friedman shay@ironshay.com http://IronShay.com @ironshay
  2. 2. DADA OOOO OUW http://www.flickr.com/photos/joanna8555/3793432521/ CC BY-SA 2.0
  3. 3. http://www.flickr.com/photos/mastermaq/1429421322/ CC BY-SA 2.0
  4. 4. I see a lot of stars! I see bazillion stars! http://www.flickr.com/photos/anasantos/3831899106/ http://www.flickr.com/photos/aresauburnphotos/1121058121/ http://www.flickr.com/photos/zooboing/4116010919/
  5. 5. http://www.flickr.com/photos/solarnu/1128993772/
  6. 6. Practical IronRuby Shay Friedman Dynamic Languages Leader shay@ironshay.com http://IronShay.com @ironshay
  7. 7. Agenda • Hello, IronRuby! • Use Cases • Getting Started • Q&A • Summary
  8. 8. Hello, IronRuby! • Microsoft’s Ruby implementation • Provides integration between Ruby and .NET code
  9. 9. Hello, IronRuby! DLR CLR BLR ALR
  10. 10. Hello, IronRuby! DLR CLR
  11. 11. Writing POCs • Powerful and permissive syntax • REPL
  12. 12. Writing Domain Specific Languages <ShoppingList> <ShoppingListItem Product="Peanuts" Grams="3000"/> <ShoppingListItem Product="Cheese" Grams="100"/> <ShoppingListItem Product="Snacks" Grams="2000"/> </ShoppingList> list = ShoppingList.new list.buy 3.kilograms.of(Peanuts) list.buy 100.grams.of(Cheese) list.buy 2.kilograms.of(Snacks)
  13. 13. Testing .NET Code Various different testing frameworks + Powerful syntax + Full integration with .NET code
  14. 14. Testing .NET Code – the Code
  15. 15. Testing .NET Code - RSpec
  16. 16. Testing .NET Code - Cucumber
  17. 17. Testing .NET Code - More • RSpec • Stories • Micronaut • Cucmber • Lemon • Zebra • Shoulda • Bacon • Minitest/unit • Test::Unit • Contest • Dfect • Test-spec • Steak • QED • Riot • Coulda • Protest • Testy
  18. 18. Testing .NET Code
  19. 19. Silverlight • Silverlight 2 and above supports DLR languages • Gestalt – “IronRuby in the Browser”
  20. 20. Some More… • Extending .NET applications o http://bit.ly/ExtendWithIronRuby • Rack (albacore) o http://bit.ly/RackWithIronRuby • Ruby on Rails o Friday, 13:40: “Riding IronRuby on Rails”
  21. 21. Getting Started • Official site: http://IronRuby.net • Read o http://IronShay.com o IronRuby Unleashed • Ask questions o Mailing list: http://www.ruby-forum.com/forum/34 o Twitter: use the #ironruby hashtag • Contact me o Twitter: @ironshay o Mail: shay@ironshay.com
  22. 22. Q&A
  23. 23. Summary • The “magic” • Use cases o POCs o DSLs o Testing o Silverlight (Gestalt and Windows Phone 7) o More… • Getting started
  24. 24. Thank You! Shay Friedman shay@ironshay.com http://IronShay.com @ironshay

×