walk of claim - a meteor meetup presentation

22
MY JOURNEY ON THE WALK OF CLAIM BUILDING A MOBILE APP WITH METEOR

Upload: stephan-hochhaus

Post on 07-Aug-2015

86 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Walk of Claim - A Meteor Meetup presentation

M Y J O U R N E Y O N T H E W A L K O F C L A I M

B U I L D I N G A M O B I L E A P P W I T H M E T E O R

Page 2: Walk of Claim - A Meteor Meetup presentation

L E T ’ S C R E AT E A G A M EA C T I - E X P O S I T I O N

Page 3: Walk of Claim - A Meteor Meetup presentation

W A L K I N G I S A T H I N G I N 2 0 1 5

Page 4: Walk of Claim - A Meteor Meetup presentation

W A L K I N G I S A T H I N G I N 2 0 1 5

Keep it engaging!

Keep it casual!

Page 5: Walk of Claim - A Meteor Meetup presentation

• Meteor

• Nodejs

• MongoDB

• Apache Cordova for running on Android and iOS

• Iron:Router

• Meteoric aka Ionic

• LeafletJS

• Turfjs with lots of GeoJSON

• OpenStreetMap and Stamen Map Tiles

+ Special guest appearances by Twitter and Facebook

L E T ’ S B U I L D S O M E T H I N G N E W

M E E T T H E P L AY E R S

Page 6: Walk of Claim - A Meteor Meetup presentation

L E T ’ S H A C K T H I S T O G E T H E RA C T I I - R I S I N G A C T I O N

Page 7: Walk of Claim - A Meteor Meetup presentation

P O I N T S , L I N E S T R I N G S , A N D P O LY G O N S

G E O J S O N F E A T U R I N G

Page 8: Walk of Claim - A Meteor Meetup presentation

– M E , C A . 2 8 4 T I M E S ( T O D AY )

“Where the f#?! did this come from?”

Page 9: Walk of Claim - A Meteor Meetup presentation

W R A P P I N G F U N C T I O N A L I T Y I N PA C K A G E S

Page 10: Walk of Claim - A Meteor Meetup presentation

O R G A N I Z E A L L T H E T H I N G S

• Small functional units

• Share methods whenever possible

• Use isomorphic packages!!!

• Use better naming conventions

• Think really hard about return values

• Sometimes Session is really useful!

Page 11: Walk of Claim - A Meteor Meetup presentation

I T ’ S A L I V E !A C T I I I - C L I M A X

Page 12: Walk of Claim - A Meteor Meetup presentation

D A B B L I N G W I T H C O O R D SC H R O M E L O C A T I O N E M U L A T I O N F O R T H E W I N

Page 13: Walk of Claim - A Meteor Meetup presentation

H O W T O P L AY

• Waiting for the bus? Walk around!

• Going running? Claim some land!

• Been there, done that? Discover new places and extend your empire!

Page 14: Walk of Claim - A Meteor Meetup presentation

Q U A N T I F I E D C L A I M I N G

• Personal stats and Top 10

• Each claim triggers score calculation

• Denormalized data (pre-aggregated)

• Clicking on metrics opens Top 10

Page 15: Walk of Claim - A Meteor Meetup presentation

P R I VA C Y

• People don’t like sharing location with social networks

• Full control over which data is shared

• Deleting the account

Page 16: Walk of Claim - A Meteor Meetup presentation

I T ’ S A S TA R , N O T A F E AT U R E

J U M P Y G P S A N D W A L K I N G S TA R S

Page 17: Walk of Claim - A Meteor Meetup presentation

B U G S , P I T FA L L S , A N D R E J E C T I O NA C T I V - FA L L I N G A C T I O N

Page 18: Walk of Claim - A Meteor Meetup presentation

T E C H N I C A L C H A L L E N G E S

• Bugs in used libs

• Editing inputs on Android (Ionic)

• Hot code push on iOS breaks things

• Bugs in my code

• Linestring to Polygon conversion

• Not creating isomorphic packages

• Testing

• Simulating geolocation

• Simulating load

Page 19: Walk of Claim - A Meteor Meetup presentation

E N T E R : T H E A P P S T O R E S

• A dozen steps to production

• Review times for distributing beta versions

• Pray the copyright androids work in your favour

• Hot code push is great - when it works (e.g. meteor issue #4496)

Page 20: Walk of Claim - A Meteor Meetup presentation

C L A I M A L L T H E L A N D SA C T V - R E S O L U T I O N

Page 21: Walk of Claim - A Meteor Meetup presentation

Soon on the app stores

Page 22: Walk of Claim - A Meteor Meetup presentation

Q U E S T I O N S ?T H E E N D