How to Create a Geo-tracking Server for Mobile Devices Using Heroku's Helios Samuel Rosen, Vincent Reeder, Mavens Consulting, Technical Architects
May 10, 2015
How to Create a Geo-tracking Server for Mobile Devices Using Heroku's HeliosSamuel Rosen, Vincent Reeder, Mavens Consulting, Technical Architects
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
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?
How Indeed Helios
▪ Uses your native iOS data model▪ Creates a Rest API▪ It is a Ruby based framework▪ Easily deployable to Heroku
Our ApplicationGeo Tracking Application
▪ Tracks points of interest▪ User can:
• Create a new point of interest• View all POI’s on a map
Alternatives▪ Write our own▪ Force.com▪ Ruby on Rails▪ Other Services
The Application
Data StructureCore Data
▪ Location• Name : NSString• Longitude : NSNumber• Latitude : NSNumber
Code Walkthrough▪ App Delegate▪ New Location View Controller▪ Map View Controller
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
Demo▪ Create Helios Application▪ Link Core Data Model▪ Start Local Server and test▪ Deploy to Heroku
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
Demo▪ Walk through the Data Manager▪ Integrate Data Manager▪ Test out Application
Summing it all upUsing Helios we:
▪ Created a rest API▪ Pushed the Application▪ By configuration only
Integration with iOS▪ One new class
Only a ScratchHelios can do so much more
▪ Push Notifications▪ Passbook Integration▪ In-App Purchase▪ Newsstand▪ And more…
Samuel Rosen
Technical Architect
Vincent Reeder
Technical Architect