best practices for building ethereal apps - boulder startup week 2015

25
Best Practices for Building Ethereal Apps Jordan Stone Notion

Upload: jordan-stone

Post on 12-Aug-2015

69 views

Category:

Software


1 download

TRANSCRIPT

Best Practices for Building Ethereal Apps

Jordan Stone Notion

What is Notion?

Sound

Temperature

Light

OrientationNatural Frequency

Proximity

Acceleration

Water

@notion

What is an Ethereal App?

Examples of Ethereal Apps• Sporting Events

• Masters

• Olympics

• World Cup

• Conferences

• WWDC

• BSW

Source: appreviewtimes.com, 05/04/15

So what do you do if your app is only valid for, say, 3

days?

Web Views

• Exist inside of your app, maintaining the experience

• HTML can be changed dynamically without App Store approval

• Caching, storage limits, and offline access can make this difficult

Configuration

• Powered by an API

• Externally update configuration via REST endpoint

• PRO TIP: Use a single endpoint that has all of your configuration information. Save to a plist and use this throughout the application lifecycle.

• Burning down the (TestFlight) house

Persistance

• Keep the “master record” outside of your application

• Be prepared to tear it all down

• Load from memory first, update from an API

The Most Fantastical Farmers Market Event

iPhone AppOnly on the App Store…for 1 day

Approach #1Hint: Don’t do this one

Hard-coding Vendors

Great Job!But you spelled “Kurious Koncepts” wrong…

Oh, and also…

• East Coast Joe’s backed out

• Knotty Tie and Sons of Scullery are switching booth spots

• When the app launches, the ‘News’ tab should be active until the day of the market. Then the ‘Vendors’ tab should be active. After the market closes, the ‘News’ tab should be active again.

While this works…

Approach #2The right way

Requesting Vendors from an API

Requesting the Active Tab from an API

What About News?

Summary• Dynamic configuration should be leveraged as

much as possible

• Use web views where an API request is too difficult or not possible

• Keep the “master record” outside of your application

• Save your expedited app review for when you really need it. Like, when you really really need it.

Jordan StoneChief Software [email protected]

@cheddz

http://getnotion.com

@notion

Thanks!