$30 off During Our Annual Pro Sale. View Details »

Build a Rails API-backed mobile app with RubyMo...

Build a Rails API-backed mobile app with RubyMotion (and RedPotion)

Getting started with mobile app development is now easier than ever, thanks to recent advancements in the RubyMotion community. In this session, you will learn about RedPotion, a framework known as the "Rails of iOS development", learn how to build a "mobile-friendly" API, and how to consume that API from a mobile app.

andrewhavens

May 06, 2016
Tweet

More Decks by andrewhavens

Other Decks in Programming

Transcript

  1. ANDREW HAVENS WHO AM I? Lead Software Engineer at JustFor

    ‣ 7 years building APIs ‣ 2 years building mobile apps @misbehavens andrewhavens [email protected]
  2. bit.ly/build-a-mobile-app ▸ Install Xcode ▸ Make sure you have iOS

    9.3 SDK installed: ▸ xcodebuild -showsdks ▸ Clone the demo repository ▸ Install the RubyGem and CocoaPod dependencies
  3. BUILDING AN API WITH RAILS ▸ Rendering JSON — active_model_serializers

    gem ▸ Versioning — namespace our routes ▸ Authentication — Add token auth to Devise
  4. WHY USE RUBYMOTION? ▸ Native apps, Ruby syntax ▸ Keep

    your editor ▸ Save time and share resources ▸ Third-party libraries ▸ Lower learning curve ▸ Tight knit community
  5. CROSS-PLATFORM motion-game ▸ Library for creating cross-platform games ▸ Wrapper

    for cocos2d and box2d flow ▸ A set of cross platform libraries (“the missing standard lib”) ▸ Still in early development
  6. bit.ly/build-a-mobile-app ▸ Install Xcode ▸ Make sure you have iOS

    9.3 SDK installed: ▸ xcodebuild -showsdks ▸ Clone the demo repository ▸ Install the RubyGem and CocoaPod dependencies
  7. RedPotion Core Concepts ProMotion ▸ ViewControllers Screens RMQ - RubyMotion

    Query ▸ “jQuery for RubyMotion” ▸ Views/Events/Styling RedAlert ▸ Alerts and Action Sheets AFMotion ▸ Easy to use HTTP Client CDQ - CoreData Query ▸ Wraps CoreData in an ActiveRecord-like syntax rake newclear ▸ When things go wrong, just nuke it.