Successfully reported this slideshow.

Rupy2013 - Ruby and Mobile apps - KO!

1,399 views

Published on

Rupy 2013 talk

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Rupy2013 - Ruby and Mobile apps - KO!

  1. 1. Ruby and Mobile apps KO!!!
  2. 2. Hello! Hanneli (a.k.a. @hannelita)! Software developer in Brazil! Middleware Consultant at ! Coffee and Pokémon <3! Yo no hablo español muy bien
  3. 3. What we will see Software development - evolution! Welcome to mobile world!! Do we need backend?! Ruby for mobile apps backend! Helios environment! Funny gifs (or not)
  4. 4. Programming
  5. 5. 1990 -> 2000 Web
  6. 6. SKILL SET PHP Apache MySQL
  7. 7. EASY!
  8. 8. JDBC Hibernate 2 XML JPA Hibernate 3.1 Annotations JPA 2 EclipseLink Hibernate 4 Tomcat Jetty JBoss Glassfish Weblogic Websphere EJB Webservices JMS JAX-RS Eclipse Netbeans IntelliJ IDEA Servlet JSP Struts Struts 2 VRaptor JSF1 JSF 2 Richfaces Primefaces Seam
  9. 9. Enterprise, huh?
  10. 10. A little MOAR Oracle NoSQL Ruby Rails Sinatra TDD vim Postgres RSpec Mongo HTML Cassandra jQuery Node.js JS Meteor.js CSS Torquebox Git Heroku Redis Neo4j Backbone.js
  11. 11. F*** YEAH
  12. 12. Sou F... Dig Din
  13. 13. 2000 -> Nowadays Mobile!
  14. 14. Your mobile Bank account Clock Email Photo gallery Personal Trainer Communication
  15. 15. The Apple
  16. 16. The Apple Hey, sweet, do you have WhatsApp?
  17. 17. iPhone
  18. 18. iPhone Does Apple give money? DO SOME APPS THEN <3
  19. 19. iOS Development Objective C SQLite Foundation ARC iOS CoreLocation C C++ UIKit CoreServices Xcode CoreGraphics
  20. 20. iOS Development
  21. 21. iOS Development [[[[ ]]]]
  22. 22. Life is too short to Objective C
  23. 23. Keep doing Ruby
  24. 24. BUT The app is now popular
  25. 25. Wow Client Server
  26. 26. OH NO! Objective C backend!
  27. 27. SALVATION
  28. 28. Let’s RUBY! What do you need for backend, sir?
  29. 29. Data Sync 011001
  30. 30. InApp Purchases
  31. 31. Push Notification
  32. 32. Let’s RUBY! No need to do from zero!
  33. 33. Helios! Keep lazy for backend!
  34. 34. Helios Defaults Heroku app gem install helios helios new rubyconf helios server http://localhost:5000/admin helios server
  35. 35. Checklist Data Model Sync! InApp Purchases! Push Notifications
  36. 36. Rails - application.rb config.middleware.use Helios::Application do! service :data, model: 'path/to/DataModel.xcdatamodel'! service :push_notification ! service :in_app_purchase! end!
  37. 37. Data model Sync REST model - from CoreData GET /talks POST /talks GET /talks/2 PUT /talks/2 DELETE /talks/2
  38. 38. Push Notifications 1. Register5. APNS for PSN Sends the 2. Receive push Token Orbiter framework Apple APNS 4. Notifies APNS when something happens 3. App sends token Helios ! ! Rack PushNotification
  39. 39. Open Source! helios rack-push-notification orbiter houston AFNetworking
  40. 40. Do I need Backend? What does your app do?! Number of users?! What are your goals?
  41. 41. Do I need Backend? What does your app do?! Number of users?! What are your goals?
  42. 42. Other gems apn_on_rails! urbanairship! push_core
  43. 43. “Jabá” Rubymotion! Ruby code ObjectiveC code
  44. 44. Thank you! Questions? BIG THANKS TO RUPY BRAZIL!! @hannelita hannelita@gmail.com ourdailycodes.com hannelita.com

×