Your SlideShare is downloading. ×
Rhomobile
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Rhomobile

1,255

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,255
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Cross-Platform Entwicklung mit Rhodes
    • Jan Owiesniak
    • 2. – [email_address]
    • 3. – http://www.github.com/janowiesniak
    • 4. Dauer
    • 5. – ca 20 Minuten
  • 6. Rhomobile
  • 7. Entwicklung / Rhodes
    • Opensource Ruby Framework zur Entwicklung von nativen Smartphone Applikationen
    • 8. – http://rhomobile.com/
    • 9. – http://www.ruby-lang.org/en/documentation/quickstart/
    • 10. Github
    • 11. – https://github.com/rhomobile/rhodes
    • 12. Rubygems
    • 13. – https://rubygems.org/gems/rhodes
  • 14. Plattformen
  • 15. Aufbau
    • Extern
    • 16. – Basiert auf dem MVC Pattern
    • 17. – Ruby/HTML5/CSS/JavaScript
    • 18. Intern
    • 19. – In C++ implementiert
    • 20. – Kompiliert Anwendung zu Ruby 1.9 Bytecode
  • 21. Installation Allgemein
    • Als eigene IDE Rhostudio (Windows, Mac)
    • 22. – http://rhomobile.com/products/rhostudio/
    • 23. Als Eclipse Plugin (Windows, Mac, Linux)
    • 24. – http://docs.rhomobile.com/rhodes/rhostudio-eclipse
    • 25. Manuell (Linux)
  • 26. Installation Linux (Ubuntu 11.10)
    • GIT installieren
    • 27. – http://wiki.ubuntuusers.de/GIT
    • 28. $ sudo apt-get install git
    • 29. Sun Java JDK installieren
    • 30. – http://wiki.ubuntuusers.de/JAVA#Sun-Java
    • 31. Android SDK installieren
    • 32. – http://developer.android.com/sdk/index.html
    • 33. Android NDK installieren
    • 34. – http://developer.android.com/sdk/ndk/index.html
    • 35. AVD erstellen
    • 36. – http://developer.android.com/guide/developing/devices/managing-avds.html
  • 37. Installation Linux (Ubuntu 11.10)
    • RVM installieren
    • 38. – http://beginrescueend.com/
    • 39. $ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
    • 40. [[ -s &quot;$HOME/.rvm/scripts/rvm&quot; ]] && . &quot;$HOME/.rvm/scripts/rvm&quot; # Put this in your .bashrc. This loads RVM into a shell session.
    • 41. Ruby v1.8.7+ installieren
    • 42. $ rvm install ree
    • 43. RubyGems v1.8.5+ installieren
    • 44. $ sudo apt-get install rubygems
    • 45. Gemset anlegen
    • 46. $ rvm use [email_address] --create
    • 47. rhodes installieren
    • 48. $ gem install rhodes
    • 49. rhodes konfigurieren
    • 50. $ rhodes-setup
  • 51. Das erste Projekt
    • Projekt erzeugen
    • .rvmrc erzeugen
    • 52. cd seminar; echo 'rvm use [email_address] --create' > .rvmrc
    • 53. Model erzeugen
  • 54. MVC
    • Model
  • 55. MVC - Datenbankmodelle
    • Property Bag
    • 56. – http://en.wikipedia.org/wiki/Entity-attribute-value_model
    • 57. include Rhom::PropertyBag
    • 58. + Keine Migrationen
    • 59. - Größer
    • 60. - Langsamer
    • 61. Fixed Schema
    • 62. – http://en.wikipedia.org/wiki/Relational_model
    • 63. include Rhom::FixedSchema
    • 64. - Migrationen
    • 65. + Kleiner
    • 66. + Schneller
  • 67. MVC
    • Controller
  • 68. MVC
    • View
  • 69. Konfigurieren / Kompilieren
    • rhoconfig.txt
    • 70. build.yml
    • 71. rake run:android; tail -f rholog.txt
  • 72. Rhomobile
  • 73. Integrieren / Rhoconnect
    • Opensource Mobile App Integration Server
    • 74. Synchronisation von Enterprise Applikationen mit dem Smartphone
    • 75. Früher Rhosync [Deprecated]
    • 76. Github
    • 77. – https://github.com/rhomobile/rhosync
    • 78. Rubygems
    • 79. – https://rubygems.org/gems/rhoconnect
  • 80. Architektur
  • 81. Standalone
    • Redis 2.2.14+ installieren
    • 82. – http://redis.io/download
    • 83. Gemset anlegen
    • 84. $ rvm use ree@project_name –create
    • 85. rhoconnect installieren
    • 86. $ gem install rhoconnect
    • 87. Projekt erzeugen
    • 88. $ rhoconnect app project_name
    • 89. $ cd project_name
    • 90. .rvmrc erzeugen
    • 91. echo 'rvm use ree@project_name --create' > .rvmrc
  • 92. Source Adapter
    • Schnittstelle zwischen Rhoconnect und der Enterprise Applikation
    • 93. Source Adapter erzeugen
  • 94. Post Source Adapter
  • 95. Hosted
    • Heroku: general cloud application platform
    • 96. – http://devcenter.heroku.com/categories/getting-started
    • 97. RhoHub: rhodes cloud application platform
    • 98. – http://www.rhohub.com
    • 99. – Zur Zeit nur Rhosync [Deprecated] kein Rhoconnect
  • 100. Beispiel Applikation janr
    • Just Another News Reader
    • 101. Opensource
    • 102. – https://github.com/janowiesniak/janr-rhodes
    • 103. – https://github.com/janowiesniak/janr-backend
    • 104. Heroku
    • 105. – http://blooming-ocean-5391.herokuapp.com
    • 106. – Login: [email_address]
    • 107. – Password: password
    • 108. Rhohub
    • 109. – https://app.rhohub.com/janowiesniak/projects/janr
  • 110. Infrastruktur
  • 111. Client Kommunikation Rhoconnect
    • rhoconfig.txt
    • 112. app/Post/post.rb
  • 113. Server Kommunikation Rhoconnect
    • rhoconnect-rb installieren
    • 114. $ gem install rhoconnect-rb
    • 115. app/config/initializers/rhoconnect.rb
    • 116. app/Post/post.rb
  • 117. Live Beispiel janr

×