Tdc 2014 - Ruby and Mobile apps - KO!

758 views

Published on

TDC2014 Florianópolis - Trilha Ruby

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

No Downloads
Views
Total views
758
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
6
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Tdc 2014 - Ruby and Mobile apps - KO!

  1. 1. Ruby and Mobile apps KO!!!
  2. 2. Hello! Hanneli (a.k.a. @hannelita)! Software developer in Brazil! Coffee and Pokémon <3!
  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 Servlet JSP Struts Struts 2 VRaptor JSF1 JSF 2 Richfaces Primefaces Seam Tomcat Jetty JBoss Glassfish Weblogic Websphere EJB Webservices JMS JAX-RS Eclipse IntelliJ IDEA Netbeans
  9. 9. Enterprise, huh?
  10. 10. A little MOAR Oracle NoSQL Ruby Rails Sinatra Postgres HTML CSS JS jQuery TDD vim RSpec Mongo Cassandra Node.js Meteor.js Backbone.js Neo4j Redis Heroku Git Torquebox
  11. 11. F*** YEAH
  12. 12. Sou F... Dig Din
  13. 13. 2000 -> Nowadays Mobile!
  14. 14. Your mobile Bank account Email Personal Trainer Clock Photo gallery 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 iOS Xcode SQLite Foundation C C++ UIKit CoreGraphics CoreServices CoreLocation ARC
  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 tdc helios server http://localhost:5000/admin
  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 Orbiter framework Helios ! !Rack PushNotification Apple APNS 1. Register for PSN 2. Receive Token 3.App sends token 4. Notifies APNS when something happens 5.APNS Sends the push
  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. Helios
  45. 45. Thank you! Questions? @hannelita hannelita@gmail.com ourdailycodes.com hannelita.com

×