SlideShare a Scribd company logo
1 of 48
Download to read offline
http://speakerrate.com/talks/5817-introduzione-a-macruby




                         Introduzione
                          a MacRuby


                                           @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?




                                               @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                         Ruby 1.9 Fork




                                                         @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                         Ruby 1.9 Fork
                                STDlib




                                                         @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                         Ruby 1.9 Fork
                                STDlib         Parser




                                                         @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                         Ruby 1.9 Fork
                                STDlib         Parser




                                         Objective-C



                                                         @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                              Ruby 1.9 Fork
                                STDlib            Parser




                                              Objective-C

                                         GC


                                                              @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                              Ruby 1.9 Fork
                                STDlib            Parser




                                              Objective-C

                                         GC                RunTime


                                                                     @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                               Ruby 1.9 Fork
                                 STDlib             Parser


                              Core Foundations

                                                 Objective-C

                                          GC                 RunTime


                                                                       @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che cos’e’ MacRuby?

                                               Ruby 1.9 Fork
                                 STDlib             Parser


                              Core Foundations                         Cocoa

                                                 Objective-C

                                          GC                 RunTime


                                                                         @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Ruby On Mac




                                       @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Ruby On Mac

         2002 OS X 10.2
           Ruby 1.6.7




                                        @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Che ci posso fare? Qualche idea.




                                                            @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che ci posso fare? Qualche idea.

                                                                  OBJ-C Ruby Eval




                                                            @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che ci posso fare? Qualche idea.

                                                                     OBJ-C Ruby Eval
                         Grand Central Dispatch




                                                               @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che ci posso fare? Qualche idea.

                                                                     OBJ-C Ruby Eval
                         Grand Central Dispatch


                                                               ScriptingBridge




                                                               @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Che ci posso fare? Qualche idea.

                                                                     OBJ-C Ruby Eval
                         Grand Central Dispatch


                                                               ScriptingBridge
            Compile Ruby executables




                                                               @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Buone Ragioni Per Usare Ruby sul Mac




                                                           @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Buone Ragioni Per Usare Ruby sul Mac

                                                                  Waaay terser syntax




                                                           @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Buone Ragioni Per Usare Ruby sul Mac

                                                                  Waaay terser syntax

                                      Less lines of code




                                                           @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Buone Ragioni Per Usare Ruby sul Mac

                                                                  Waaay terser syntax

                                      Less lines of code

      No unnecessary files




                                                           @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Grand Central Dispatch




                             Queue




                                                  @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Grand Central Dispatch




                             Queue

                                                                                                Demo
                                                  @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Per gli sviluppatori Rails




                                                      @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Persistenza con Core Data




                                                     @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011
Il Futuro


   MacRuby 1.0 !
   Inclusion in the next releases of Mac Os?
   iPhone?




                                               @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Un Esempio Piu’ Complicato




                                                      @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Un Esempio Piu’ Complicato




                                                      @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Un Esempio Piu’ Complicato




                                                      @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Un Esempio Piu’ Complicato




                                                      @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
Un Esempio Piu’ Complicato




                                                      http://reborg.github.com/pomodori

                                                            @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com
Saturday, 5 March 2011
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.com
Saturday, 5 March 2011

More Related Content

Similar to Introduzione a macruby

MacRuby & HotCocoa
MacRuby & HotCocoaMacRuby & HotCocoa
MacRuby & HotCocoa
Thilo Utke
 

Similar to Introduzione a macruby (6)

Developing Cocoa Applications with macRuby
Developing Cocoa Applications with macRubyDeveloping Cocoa Applications with macRuby
Developing Cocoa Applications with macRuby
 
RubyならMacでしょう
RubyならMacでしょうRubyならMacでしょう
RubyならMacでしょう
 
MacRuby & HotCocoa
MacRuby & HotCocoaMacRuby & HotCocoa
MacRuby & HotCocoa
 
Ruby and Android
Ruby and AndroidRuby and Android
Ruby and Android
 
MacRuby on Rails
MacRuby on RailsMacRuby on Rails
MacRuby on Rails
 
Intro for RoR
Intro for RoRIntro for RoR
Intro for RoR
 

More from Renzo Borgatti

Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014
Renzo Borgatti
 

More from Renzo Borgatti (8)

Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014
 
Introduction to Clojure
Introduction to ClojureIntroduction to Clojure
Introduction to Clojure
 
Lavorare Da Remoto
Lavorare Da RemotoLavorare Da Remoto
Lavorare Da Remoto
 
You Say Tomato I Say Pomodoro
You Say Tomato I Say PomodoroYou Say Tomato I Say Pomodoro
You Say Tomato I Say Pomodoro
 
Agile Pomodoro Development
Agile Pomodoro DevelopmentAgile Pomodoro Development
Agile Pomodoro Development
 
Introduction to Agile Development with Scrum
Introduction to Agile Development with ScrumIntroduction to Agile Development with Scrum
Introduction to Agile Development with Scrum
 
You say Tomato, I say Pomodoro
You say Tomato, I say PomodoroYou say Tomato, I say Pomodoro
You say Tomato, I say Pomodoro
 
Ruby BDD for Java
Ruby BDD for JavaRuby BDD for Java
Ruby BDD for Java
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Introduzione a macruby

  • 1. http://speakerrate.com/talks/5817-introduzione-a-macruby Introduzione a MacRuby @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 2. Che cos’e’ MacRuby? @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 3. Che cos’e’ MacRuby? Ruby 1.9 Fork @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 4. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 5. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 6. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 7. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C GC @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 8. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 9. Che cos’e’ MacRuby? Ruby 1.9 Fork STDlib Parser Core Foundations Objective-C GC RunTime @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 13. Ruby On Mac @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 14. Ruby On Mac 2002 OS X 10.2 Ruby 1.6.7 @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 22. Che ci posso fare? Qualche idea. @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 23. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 24. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 25. Che ci posso fare? Qualche idea. OBJ-C Ruby Eval Grand Central Dispatch ScriptingBridge @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 28. Buone Ragioni Per Usare Ruby sul Mac @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 29. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 30. Buone Ragioni Per Usare Ruby sul Mac Waaay terser syntax Less lines of code @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 34. Grand Central Dispatch Queue @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 35. Grand Central Dispatch Queue Demo @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 36. Per gli sviluppatori Rails @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 39. Persistenza con Core Data @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011
  • 42. Il Futuro MacRuby 1.0 ! Inclusion in the next releases of Mac Os? iPhone? @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 43. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 44. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 45. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 46. Un Esempio Piu’ Complicato @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 47. Un Esempio Piu’ Complicato http://reborg.github.com/pomodori @reborg - Renzo Borgatti - reborg@reborg.net – Teamly.com Saturday, 5 March 2011
  • 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.com Saturday, 5 March 2011