SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Andreano Lanusse | Developer Relations, Embarcadero

Blog: www.andreanolanusse.com



Building managed-code cross
platform applications with
Delphi Prism
Agenda
•    Delphi Prism and Cross Platform development
•    Mono
•    Build/Deploy ASP.NET and Web Service on Linux
•    MonoTouch
•    Build/Run iPhone application with Delphi Prism
•    Q&A
Delphi Prism and Cross
Plataform Development
Delphi Prism XE
•  Support for the latest .NET 4.0 and Silverlight Technologies

•  New Language and Compiler Features

•  Import or Copy and Paste C# Code as Delphi Prism Code

•  Visual Studio 2010 Shell Based IDE Work with all your data sources

•  Code Obfuscation

•  CodeSite logging system

•  Works with MonoTouch product from Novell to build apps for iPhone OS
Delphi Prism Cross Platform Development





     Windows              Linux           Apple

  Microsoft .NET 4.0   Mono for Linux   Mono for OSX
      Mono for                           iPhone/iPad
      Windows
Embarcadero® RAD Studio XE
Mono
Mono
•  Software platform designed to allow developers to easily create cross
   platform applications
•  Open Source implementation of Microsoft's .NET Framework
•  FREE
•  Mono runs on:
     –  Linux
     –  Microsoft Windows
     –  Mac OS X
     –  BSD
     –  Sun Solaris
     –  Nintendo Wii
     –  Sony PlayStation 3
     –  Apple iPhone
•  It also runs on x86, x86-64, IA64, PowerPC, SPARC (32), ARM, Alpha,
   s390, s390x (32 and 64 bits)
Mono Architecture
•  Code Execute Engine
    –  Just in time compilation
    –  Ahead-of-Time compilation
    –  Full Static compilation

•    Garbage Collector
•    Class Library
•    Common Language Runtime
•    Common Language Specification
•  Managed and unmanaged code
Mono - .NET Support
•  Mono current version 2.6.7
•  .NET 1.1
    –  Core Libraries 1.1: mscorlib, System, System.Xml
    –  ASP.Net 1.1 and ADO.Net 1.1
    –  Winforms/System.Drawing 1.1
    –  System.Management - does not map to Linux
    –  System.EnterpriseServices – deprecated
•  .NET 2.0
    –  C# 2.0 (generics)
    –  Core Libraries 2.0: mscorlib, System, System.Xml
    –  ASP.NET 2.0 - except WebParts
    –  ADO.NET 2.0
    –  Winforms/System.Drawing 2.0 - does not support right-to-left
•  .NET 3.0
    –  WCF - silverlight 2.0 subset completed
    –  WPF - no plans to implement
    –  WF - will implement WF 4 instead on future versions of Mono
Mono - .NET Support, cont.
•  Mono currently supports everything in .NET 3.5 except WPF and WF,
   limited WCF

•  .NET 3.5
    –  C# 3.0
    –    System.Core
    –    LINQ
    –    ASP.NET 3.5
    –    ASP.NET MVC
    –    LINQ to SQL - Mostly done, but a few features missing

•  The upcoming version of Mono will support:
    –  C# 4.0
    –  LINQ 4.0
    –  ASP.NET 4.0
Mono - Database support
•  Provides ADO.NET Data Providers for many databases, like:
    –  PostgreSQL
    –  SQLite
    –  InterBase/Firebird
    –  MySQL
    –  ODBC
    –  Oracle
    –  SQL Server
    –  Sybase
    –  DB2
•  Object Persistent Libraries and Object Databases
    –  NHibernate
Mono – Desktop and Web
•  Web
    –  Mod_Mono  Apache 2.0/2.2 module that provides ASP.NET support
       for Apache

•  Desktop
    –  Mono provide toolkit for desktop development
    –  Toolkit support:
        •  GTK#
        •  Windows.Forms
        •  Qyoto
        •  Qt4Dotnet
        •  Cocoa#
        •  wxNet
Demo
•  Build and deploy .NET Web Service on Ubuntu
•  Build and deploy ASP.NET database application on Ubuntu
MonoTouch
MonoTouch
•  Software development kit for Mac OS X

•  Allows developers to use.NET programming languages to create native
   applications for Apple iPhone/iPod and Apple iPad Touch devices. 

•  Based on the Mono framework and compatible with .NET 2.0

•  MonoTouch "Apps" are compiled down to machine code targeted
   specifically at the Apple iPhone.
MonoTouch SDK
•  Static compiler that turns .NET executables and libraries into native
   applications

•  There is no JIT or interpreter shipped with your application, only native
   code

•  MonoTouch supports:
    –  garbage collection
    –  multi-threading
    –  many features of .NET 3.5, including LINQ, with some exceptions

•  Database assemblies part of MonoTouch, like:
    –  Mono.Data.Sqlite.dll
    –  Mono.Data.Tds.dll
MonoTouch - Support
•  MonoTouch current version 3.0.8

•  Support for iPhone 4 SDK

•  Platform Support
    –  iOS 4 (iPhone and iPod devices)
    –  iPhoneOS 3.2 (iPad)
    –  iPhoneOS 3.0 (iPhone and iPod devices)
MonoTouch – Requirements for
Development and Deploy
•  DEVELOPMENT
    –  Mac machine
    –  Delphi Prism XE license 
    –  MonotTouch SDK is FREE for development and testing against the
       iPhone simulator only

•  DEPLOYMENT
    –  Join the Apple Developer Program ($99/year), and must adhere to
       Apple’s iPhone developer license terms
    –  Obtain a MonoTouch deployment license from Novell for distribution
       on the Apple App Store
         •  Professional Edition
         •  Enterprise Edition
MonoTouch – How to start
•  Download Novell’s MonoTouch
    –  http://monotouch.net/DownloadTrial
•  Install MonoDevelop IDE – included in Delphi Prism ISO
    –  Don’t install or update for a different version of MonoDevelop
•  Start developing iPhone and iPad applications in Delphi Prism language.
Demo
•  Build a web browser application
Q&A
•  My Blog – www.andreanolanusse.com
•  Twitter - @andreanolanusse
•  Email: alanusse@embarcadero.com

•  References
    –  Mono - http://www.mono-project.com

   –  MonoTouch – http://monotouch.net

   –  Book: Professional iPhone Programming with MonoTouch
      and .NET/C#

      Remember Delphi Prism allow you to copy/past C# code as
      Delphi Prism

•  Embarcadero Developer Network – http://edn.embarcadero.com
Thank you!!!
•  My Blog – www.andreanolanusse.com
•  Twitter - @andreanolanusse
•  Email: alanusse@embarcadero.com

•  References
    –  Mono - http://www.mono-project.com

   –  MonoTouch – http://monotouch.net

   –  Book: Professional iPhone Programming with MonoTouch
      and .NET/C#

      Remember Delphi Prism allow you to copy/past C# code as
      Delphi Prism

•  Embarcadero Developer Network – http://edn.embarcadero.com

Weitere ähnliche Inhalte

Was ist angesagt?

Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introduction
Wingston
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Oliver Scheer
 
System development using visual studio
System development using visual studioSystem development using visual studio
System development using visual studio
jeff23_athisbest
 
Installing And Configuring Java Me Tools
Installing And Configuring Java Me ToolsInstalling And Configuring Java Me Tools
Installing And Configuring Java Me Tools
Jussi Pohjolainen
 

Was ist angesagt? (20)

FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
FirefoxOS and its use of Linux (a deep dive into Gonk architecture)FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
 
C# On The iPhone with MonoTouch at DDD8
C# On The iPhone with MonoTouch at DDD8C# On The iPhone with MonoTouch at DDD8
C# On The iPhone with MonoTouch at DDD8
 
Embedded linux
Embedded linuxEmbedded linux
Embedded linux
 
Web Browsers
Web BrowsersWeb Browsers
Web Browsers
 
Italian Alt.Net Conference MonoTouch Session
Italian Alt.Net Conference MonoTouch SessionItalian Alt.Net Conference MonoTouch Session
Italian Alt.Net Conference MonoTouch Session
 
Android beyond the smartphone
Android beyond the smartphoneAndroid beyond the smartphone
Android beyond the smartphone
 
Dedicated embedded linux af Esben Haabendal, Prevas A/S
Dedicated embedded linux af Esben Haabendal, Prevas A/SDedicated embedded linux af Esben Haabendal, Prevas A/S
Dedicated embedded linux af Esben Haabendal, Prevas A/S
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)
 
Firefox os
Firefox osFirefox os
Firefox os
 
Linux – an introduction
Linux – an introductionLinux – an introduction
Linux – an introduction
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
 
Linux 101
Linux 101Linux 101
Linux 101
 
Simplify your professional web development with symfony
Simplify your professional web development with symfonySimplify your professional web development with symfony
Simplify your professional web development with symfony
 
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesFlash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
 
System development using visual studio
System development using visual studioSystem development using visual studio
System development using visual studio
 
Mozilla + Rust at PCU Manila 02 DEC 2016
Mozilla + Rust at PCU Manila 02 DEC 2016Mozilla + Rust at PCU Manila 02 DEC 2016
Mozilla + Rust at PCU Manila 02 DEC 2016
 
01 introduction & setup - Android
01   introduction & setup - Android01   introduction & setup - Android
01 introduction & setup - Android
 
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesFlash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
 
Installing And Configuring Java Me Tools
Installing And Configuring Java Me ToolsInstalling And Configuring Java Me Tools
Installing And Configuring Java Me Tools
 
Read-only rootfs: theory and practice
Read-only rootfs: theory and practiceRead-only rootfs: theory and practice
Read-only rootfs: theory and practice
 

Andere mochten auch

FXG and Flex Mobile Development
FXG and Flex Mobile DevelopmentFXG and Flex Mobile Development
FXG and Flex Mobile Development
Vicker Leung
 
Missie, Visie Waarden VGG
Missie, Visie Waarden VGGMissie, Visie Waarden VGG
Missie, Visie Waarden VGG
gabrielagunther
 
Academic governance
Academic governanceAcademic governance
Academic governance
Penn State
 
animal webquest
animal webquestanimal webquest
animal webquest
Juan
 
Academic governance 2
Academic governance 2Academic governance 2
Academic governance 2
Penn State
 
Powerpoint Sample
Powerpoint SamplePowerpoint Sample
Powerpoint Sample
Penn State
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom ppt
Penn State
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom ppt
Penn State
 

Andere mochten auch (16)

One animation
One animationOne animation
One animation
 
FXG and Flex Mobile Development
FXG and Flex Mobile DevelopmentFXG and Flex Mobile Development
FXG and Flex Mobile Development
 
Missie, Visie Waarden VGG
Missie, Visie Waarden VGGMissie, Visie Waarden VGG
Missie, Visie Waarden VGG
 
Academic governance
Academic governanceAcademic governance
Academic governance
 
animal webquest
animal webquestanimal webquest
animal webquest
 
Academic governance 2
Academic governance 2Academic governance 2
Academic governance 2
 
Mobile? WT... F?
Mobile? WT... F?Mobile? WT... F?
Mobile? WT... F?
 
Reasons to migrate to Delphi XE
Reasons to migrate to Delphi XEReasons to migrate to Delphi XE
Reasons to migrate to Delphi XE
 
Integrando Skype em aplicações Delphi
Integrando Skype em aplicações DelphiIntegrando Skype em aplicações Delphi
Integrando Skype em aplicações Delphi
 
Powerpoint Sample
Powerpoint SamplePowerpoint Sample
Powerpoint Sample
 
For nada
For nadaFor nada
For nada
 
Delphi Certification
Delphi CertificationDelphi Certification
Delphi Certification
 
Food Safety Management System inc HACCP - The Safer Food System
Food Safety Management System inc HACCP - The Safer Food SystemFood Safety Management System inc HACCP - The Safer Food System
Food Safety Management System inc HACCP - The Safer Food System
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom ppt
 
Scaling Agile With SAFe (Scaled Agile Framework)
Scaling Agile With SAFe (Scaled Agile Framework)Scaling Agile With SAFe (Scaled Agile Framework)
Scaling Agile With SAFe (Scaled Agile Framework)
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom ppt
 

Ähnlich wie Delphi Prism for iPhone/iPad and Linux with Mono and Monotouch

AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
Amazon Web Services Korea
 
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
dominion
 

Ähnlich wie Delphi Prism for iPhone/iPad and Linux with Mono and Monotouch (20)

Best DotNet Training in Delhi
Best   DotNet Training  in DelhiBest   DotNet Training  in Delhi
Best DotNet Training in Delhi
 
Mobile OS Platform
Mobile OS PlatformMobile OS Platform
Mobile OS Platform
 
Introduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for AndroidIntroduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for Android
 
Raffaele Rialdi
Raffaele RialdiRaffaele Rialdi
Raffaele Rialdi
 
AWS Summit Auckland - Moving MS .NET Applications One Container at a Time
AWS Summit Auckland - Moving MS .NET Applications One Container at a TimeAWS Summit Auckland - Moving MS .NET Applications One Container at a Time
AWS Summit Auckland - Moving MS .NET Applications One Container at a Time
 
Dotnet on linux
Dotnet on linuxDotnet on linux
Dotnet on linux
 
Learning C# iPad Programming
Learning C# iPad ProgrammingLearning C# iPad Programming
Learning C# iPad Programming
 
Moving microsoft .net applications one container at a time
 Moving microsoft .net applications one container at a time  Moving microsoft .net applications one container at a time
Moving microsoft .net applications one container at a time
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual Studio
 
Open source and .net
Open source and .netOpen source and .net
Open source and .net
 
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Amsterdam 2017 - .NET Standard -- Karel Zikmund
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
 
.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1.NET Core, ASP.NET Core Course, Session 1
.NET Core, ASP.NET Core Course, Session 1
 
ASP.NET Core: The best of the new bits
ASP.NET Core: The best of the new bitsASP.NET Core: The best of the new bits
ASP.NET Core: The best of the new bits
 
Visual COBOL Development for Windows & .Net
Visual COBOL Development for Windows & .NetVisual COBOL Development for Windows & .Net
Visual COBOL Development for Windows & .Net
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
 
Microsoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET CoreMicrosoft <3 Linux with ASP.NET Core
Microsoft <3 Linux with ASP.NET Core
 
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
.NET MeetUp Prague 2017 - .NET Standard -- Karel Zikmund
 
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0Uklug2011.lotus.on.linux.report.technical.edition.v1.0
Uklug2011.lotus.on.linux.report.technical.edition.v1.0
 

Mehr von Andreano Lanusse

Mehr von Andreano Lanusse (6)

Desafios na Gestão de Equipes Virtuais - Agile Brazil 2012
Desafios na Gestão de Equipes Virtuais - Agile Brazil 2012Desafios na Gestão de Equipes Virtuais - Agile Brazil 2012
Desafios na Gestão de Equipes Virtuais - Agile Brazil 2012
 
Certificação Delphi
Certificação DelphiCertificação Delphi
Certificação Delphi
 
Desenvolvendo aplicações para iPhone/iPad e Linux com Delphi Prism XE
Desenvolvendo aplicações para iPhone/iPad e Linux com Delphi Prism XEDesenvolvendo aplicações para iPhone/iPad e Linux com Delphi Prism XE
Desenvolvendo aplicações para iPhone/iPad e Linux com Delphi Prism XE
 
Delphi Prism 2011
Delphi Prism 2011Delphi Prism 2011
Delphi Prism 2011
 
Resolvendo problemas de performance em aplicações Delphi e bancos de dados
Resolvendo problemas de performance em aplicações Delphi e bancos de dadosResolvendo problemas de performance em aplicações Delphi e bancos de dados
Resolvendo problemas de performance em aplicações Delphi e bancos de dados
 
Testando aplicações DataSnap
Testando aplicações DataSnapTestando aplicações DataSnap
Testando aplicações DataSnap
 

Kürzlich hochgeladen

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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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
 
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...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Delphi Prism for iPhone/iPad and Linux with Mono and Monotouch

  • 1. Andreano Lanusse | Developer Relations, Embarcadero
 Blog: www.andreanolanusse.com Building managed-code cross platform applications with Delphi Prism
  • 2. Agenda •  Delphi Prism and Cross Platform development •  Mono •  Build/Deploy ASP.NET and Web Service on Linux •  MonoTouch •  Build/Run iPhone application with Delphi Prism •  Q&A
  • 3. Delphi Prism and Cross Plataform Development
  • 4. Delphi Prism XE •  Support for the latest .NET 4.0 and Silverlight Technologies •  New Language and Compiler Features •  Import or Copy and Paste C# Code as Delphi Prism Code •  Visual Studio 2010 Shell Based IDE Work with all your data sources •  Code Obfuscation •  CodeSite logging system •  Works with MonoTouch product from Novell to build apps for iPhone OS
  • 5. Delphi Prism Cross Platform Development Windows Linux Apple Microsoft .NET 4.0 Mono for Linux Mono for OSX Mono for iPhone/iPad Windows
  • 8. Mono •  Software platform designed to allow developers to easily create cross platform applications •  Open Source implementation of Microsoft's .NET Framework •  FREE •  Mono runs on: –  Linux –  Microsoft Windows –  Mac OS X –  BSD –  Sun Solaris –  Nintendo Wii –  Sony PlayStation 3 –  Apple iPhone •  It also runs on x86, x86-64, IA64, PowerPC, SPARC (32), ARM, Alpha, s390, s390x (32 and 64 bits)
  • 9. Mono Architecture •  Code Execute Engine –  Just in time compilation –  Ahead-of-Time compilation –  Full Static compilation •  Garbage Collector •  Class Library •  Common Language Runtime •  Common Language Specification •  Managed and unmanaged code
  • 10. Mono - .NET Support •  Mono current version 2.6.7 •  .NET 1.1 –  Core Libraries 1.1: mscorlib, System, System.Xml –  ASP.Net 1.1 and ADO.Net 1.1 –  Winforms/System.Drawing 1.1 –  System.Management - does not map to Linux –  System.EnterpriseServices – deprecated •  .NET 2.0 –  C# 2.0 (generics) –  Core Libraries 2.0: mscorlib, System, System.Xml –  ASP.NET 2.0 - except WebParts –  ADO.NET 2.0 –  Winforms/System.Drawing 2.0 - does not support right-to-left •  .NET 3.0 –  WCF - silverlight 2.0 subset completed –  WPF - no plans to implement –  WF - will implement WF 4 instead on future versions of Mono
  • 11. Mono - .NET Support, cont. •  Mono currently supports everything in .NET 3.5 except WPF and WF, limited WCF •  .NET 3.5 –  C# 3.0 –  System.Core –  LINQ –  ASP.NET 3.5 –  ASP.NET MVC –  LINQ to SQL - Mostly done, but a few features missing •  The upcoming version of Mono will support: –  C# 4.0 –  LINQ 4.0 –  ASP.NET 4.0
  • 12. Mono - Database support •  Provides ADO.NET Data Providers for many databases, like: –  PostgreSQL –  SQLite –  InterBase/Firebird –  MySQL –  ODBC –  Oracle –  SQL Server –  Sybase –  DB2 •  Object Persistent Libraries and Object Databases –  NHibernate
  • 13. Mono – Desktop and Web •  Web –  Mod_Mono  Apache 2.0/2.2 module that provides ASP.NET support for Apache •  Desktop –  Mono provide toolkit for desktop development –  Toolkit support: •  GTK# •  Windows.Forms •  Qyoto •  Qt4Dotnet •  Cocoa# •  wxNet
  • 14. Demo •  Build and deploy .NET Web Service on Ubuntu •  Build and deploy ASP.NET database application on Ubuntu
  • 16. MonoTouch •  Software development kit for Mac OS X •  Allows developers to use.NET programming languages to create native applications for Apple iPhone/iPod and Apple iPad Touch devices. •  Based on the Mono framework and compatible with .NET 2.0 •  MonoTouch "Apps" are compiled down to machine code targeted specifically at the Apple iPhone.
  • 17. MonoTouch SDK •  Static compiler that turns .NET executables and libraries into native applications •  There is no JIT or interpreter shipped with your application, only native code •  MonoTouch supports: –  garbage collection –  multi-threading –  many features of .NET 3.5, including LINQ, with some exceptions •  Database assemblies part of MonoTouch, like: –  Mono.Data.Sqlite.dll –  Mono.Data.Tds.dll
  • 18. MonoTouch - Support •  MonoTouch current version 3.0.8 •  Support for iPhone 4 SDK •  Platform Support –  iOS 4 (iPhone and iPod devices) –  iPhoneOS 3.2 (iPad) –  iPhoneOS 3.0 (iPhone and iPod devices)
  • 19. MonoTouch – Requirements for Development and Deploy •  DEVELOPMENT –  Mac machine –  Delphi Prism XE license  –  MonotTouch SDK is FREE for development and testing against the iPhone simulator only •  DEPLOYMENT –  Join the Apple Developer Program ($99/year), and must adhere to Apple’s iPhone developer license terms –  Obtain a MonoTouch deployment license from Novell for distribution on the Apple App Store •  Professional Edition •  Enterprise Edition
  • 20. MonoTouch – How to start •  Download Novell’s MonoTouch –  http://monotouch.net/DownloadTrial •  Install MonoDevelop IDE – included in Delphi Prism ISO –  Don’t install or update for a different version of MonoDevelop •  Start developing iPhone and iPad applications in Delphi Prism language.
  • 21. Demo •  Build a web browser application
  • 22. Q&A •  My Blog – www.andreanolanusse.com •  Twitter - @andreanolanusse •  Email: alanusse@embarcadero.com •  References –  Mono - http://www.mono-project.com –  MonoTouch – http://monotouch.net –  Book: Professional iPhone Programming with MonoTouch and .NET/C#
 Remember Delphi Prism allow you to copy/past C# code as Delphi Prism •  Embarcadero Developer Network – http://edn.embarcadero.com
  • 23. Thank you!!! •  My Blog – www.andreanolanusse.com •  Twitter - @andreanolanusse •  Email: alanusse@embarcadero.com •  References –  Mono - http://www.mono-project.com –  MonoTouch – http://monotouch.net –  Book: Professional iPhone Programming with MonoTouch and .NET/C#
 Remember Delphi Prism allow you to copy/past C# code as Delphi Prism •  Embarcadero Developer Network – http://edn.embarcadero.com

Hinweis der Redaktion

  1. http://en.wikipedia.org/wiki/Mono_(software)#Framework_architecture
  2. http://en.wikipedia.org/wiki/Mono_(software)#Framework_architecture
  3. http://mono-project.com/Gui_ToolkitsGTK# is a .NET binding for the Gtk+ toolkitThe Qyoto/Kimono languages bindings allow C# and any other .NET language to be used to write Qt/KDE programsQt4Dotnet This is a port of the QtJambi java bindings to .net using IKVM.CocoaSharp is aimed at .Net/Mono developers that want to allow their users to have a native Mac OS X application experience. CocoaSharp allows developers to call Cocoa APIs in native C# code.wxNet is a .NET binding for the wxWindows cross-platform toolkit.