Top Banner
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios Samuel Rosen, Vincent Reeder, Mavens Consulting, Technical Architects
17

How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

May 10, 2015

Download

Technology

Helios is a lightening-fast way to publish web services for mobile devices. Join us as we walk you through setting up an iOS application that uses Helios' backend services to provide a geo-tracking data store. We?ll dive into some examples while coding up solutions live, and demonstrate the command line tools used to publish a web service based on your iOS data model.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

How to Create a Geo-tracking Server for Mobile Devices Using Heroku's HeliosSamuel Rosen, Vincent Reeder, Mavens Consulting, Technical Architects

Page 2: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

All about Mavens Consulting Inc.

Mavens Consulting is the Life Science industry’s premier salesforce.com implementation partner focused exclusively on delivering optimized Force.com solutions

▪ Certified Force.com and Veeva Experts

▪ Unparalleled Global Knowledge in Life Sciences

▪ Specialists in Service Cloud Implementations for MedInfo Contact Centers and Multi-Channel Portals for Physicians and Reps

Page 3: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

A Quick Story Why can’t developers be clairvoyant…

▪ Un-predictable use cases▪ Wasted time

How do we…▪ Develop Application first (iOS)▪ Easily add a web service

How?

Page 4: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

How Indeed Helios

▪ Uses your native iOS data model▪ Creates a Rest API▪ It is a Ruby based framework▪ Easily deployable to Heroku

Page 5: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Our ApplicationGeo Tracking Application

▪ Tracks points of interest▪ User can:

• Create a new point of interest• View all POI’s on a map

Page 6: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Alternatives▪ Write our own▪ Force.com▪ Ruby on Rails▪ Other Services

Page 7: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

The Application

Page 8: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Data StructureCore Data

▪ Location• Name : NSString• Longitude : NSNumber• Latitude : NSNumber

Page 9: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Code Walkthrough▪ App Delegate▪ New Location View Controller▪ Map View Controller

Page 10: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Sharing Places of InterestWhat do we have to do?

▪ Create a new Helios Application▪ Link our Core Data Model▪ Write Sync Code for our iOS App

Page 11: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Demo▪ Create Helios Application▪ Link Core Data Model▪ Start Local Server and test▪ Deploy to Heroku

Page 12: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

How to SyncSync Goals:

▪ Push new POI up▪ Pull entire list of POI’s down

Usability Goals▪ UI should still feel fast▪ Should still be able to view points offline

Page 13: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Demo▪ Walk through the Data Manager▪ Integrate Data Manager▪ Test out Application

Page 14: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Summing it all upUsing Helios we:

▪ Created a rest API▪ Pushed the Application▪ By configuration only

Integration with iOS▪ One new class

Page 15: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Only a ScratchHelios can do so much more

▪ Push Notifications▪ Passbook Integration▪ In-App Purchase▪ Newsstand▪ And more…

Page 16: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios

Samuel Rosen

Technical Architect

Vincent Reeder

Technical Architect

Page 17: How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios