SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
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

Más contenido relacionado

Similar a Introduzione a macruby

Developing Cocoa Applications with macRuby
Developing Cocoa Applications with macRubyDeveloping Cocoa Applications with macRuby
Developing Cocoa Applications with macRubyBrendan Lim
 
RubyならMacでしょう
RubyならMacでしょうRubyならMacでしょう
RubyならMacでしょうvincentisambart
 
MacRuby & HotCocoa
MacRuby & HotCocoaMacRuby & HotCocoa
MacRuby & HotCocoaThilo Utke
 
Ruby and Android
Ruby and AndroidRuby and Android
Ruby and Androidkishima7
 

Similar a 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
 

Más de Renzo Borgatti

Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Clojure beasts-euroclj-2014
Clojure beasts-euroclj-2014Renzo Borgatti
 
Introduction to Clojure
Introduction to ClojureIntroduction to Clojure
Introduction to ClojureRenzo Borgatti
 
You Say Tomato I Say Pomodoro
You Say Tomato I Say PomodoroYou Say Tomato I Say Pomodoro
You Say Tomato I Say PomodoroRenzo Borgatti
 
Agile Pomodoro Development
Agile Pomodoro DevelopmentAgile Pomodoro Development
Agile Pomodoro DevelopmentRenzo Borgatti
 
Introduction to Agile Development with Scrum
Introduction to Agile Development with ScrumIntroduction to Agile Development with Scrum
Introduction to Agile Development with ScrumRenzo Borgatti
 
You say Tomato, I say Pomodoro
You say Tomato, I say PomodoroYou say Tomato, I say Pomodoro
You say Tomato, I say PomodoroRenzo Borgatti
 

Más de 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
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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.pdfUK Journal
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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