Introduzione a macruby

1,137 views
1,068 views

Published on

Talk presentato al Codemotion Roma 2011.

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
1,137
On SlideShare
0
From Embeds
0
Number of Embeds
56
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduzione a macruby

  1. 1. http://speakerrate.com/talks/5817-introduzione-a-macruby Introduzione a MacRuby @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  2. 2. Che cos’e’ MacRuby? @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  3. 3. Che cos’e’ MacRuby? Ruby 1.9 Fork @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  4. 4. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  5. 5. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  6. 6. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  7. 7. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C GC @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  8. 8. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  9. 9. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Core Foundations Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  10. 10. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Core Foundations Cocoa Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  11. 11. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser LLVM Core Foundations Cocoa Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  12. 12. Che cos’e’ MacRuby? Ruby 1.9 Fork Since MacRuby 0.5 STDlib Parser LLVM Core Foundations Cocoa Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  13. 13. Ruby On Mac @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  14. 14. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  15. 15. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  16. 16. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 2007 OS X 10.5 Ruby 1.8.6 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  17. 17. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 RubyCocoa 2007 OS X 10.5 Ruby 1.8.6 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  18. 18. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 RubyCocoa 2007 OS X 10.5 Ruby 1.8.6 2009 OS X 10.6 Ruby 1.8.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  19. 19. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 RubyCocoa 2007 OS X 10.5 Ruby 1.8.6 2009 OS X 10.6 MacRuby Ruby 1.8.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  20. 20. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 RubyCocoa 2007 OS X 10.5 Ruby 1.8.6 2009 OS X 10.6 MacRuby Ruby 1.8.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  21. 21. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 2005 OS X 10.4 Ruby 1.8.2 RubyCocoa 2007 OS X 10.5 Ruby 1.8.6 Ruby 1.9 2009 OS X 10.6 MacRuby Ruby 1.8.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  22. 22. Che ci posso fare? Qualche idea. @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  23. 23. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  24. 24. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  25. 25. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch ScriptingBridge @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  26. 26. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch ScriptingBridge Compile Ruby executables @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  27. 27. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch ScriptingBridge Compile Ruby executables And many more... @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  28. 28. Buone Ragioni Per Usare Ruby sul Mac @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  29. 29. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  30. 30. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax Less lines of code @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  31. 31. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax Less lines of code No unnecessary files @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  32. 32. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax Less lines of code No unnecessary files Double the amount of libraries @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  33. 33. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax Less lines of code No unnecessary files Double the amount of libraries Interface Builder @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  34. 34. Grand Central Dispatch Queue @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  35. 35. Grand Central Dispatch Queue Demo @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  36. 36. Per gli sviluppatori Rails @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  37. 37. Per gli sviluppatori Rails Tool di test (mocha, matchy, bacon) Posso usare “rake” Patterns consolidati come MVC Non sono obbligato ad usare XCode Introduzione dolce ad Objective-C & Cocoa A breve su MacRuby: RSpec, Rails… @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  38. 38. Per gli sviluppatori Rails Tool di test (mocha, matchy, bacon) Posso usare “rake” Patterns consolidati come MVC Non sono obbligato ad usare XCode Introduzione dolce ad Objective-C & Cocoa A breve su MacRuby: RSpec, Rails… Shortify Demo @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  39. 39. Persistenza con Core Data @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  40. 40. Persistenza con Core Data CoreData e’ tecnlologia robusta e consolidata Integrazione immediata con XCode Utilizza una versione custom di SQLite Altri formati come PLists o XML @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  41. 41. Persistenza con Core Data CoreData e’ tecnlologia robusta e consolidata Integrazione immediata con XCode Utilizza una versione custom di SQLite Altri formati come PLists o XML Demo @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  42. 42. Il Futuro MacRuby 1.0 ! Inclusion in the next releases of Mac Os? iPhone? @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  43. 43. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  44. 44. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  45. 45. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  46. 46. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  47. 47. Un Esempio Piu’ Complicato http://reborg.github.com/pomodori @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011
  48. 48. Risorse http://shortr.info/6616 (Esprimi il tuo giudizio su questo talk su SpeakerRates) http://www.macruby.org (sito ufficiale) http://blog.reborg.net (About me) http://reborg.github.com/pomodori (applicazione basata su MacRuby) http://thinkcode.tv/catalog/introduction-macruby/ (Screenscast su MacRuby in italiano) https://github.com/reborg/talk-macruby/tree/codemotion_2011 (slides e codice) http://www.slideshare.net/reborg/introduzione-a-macruby (queste slides) http://ofps.oreilly.com/titles/9781449380373 (MacRuby la guida definitiva, gratuito) @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.comSaturday, 5 March 2011

×