Skip to content

The anatomy of an app

nym edited this page Jul 7, 2011 · 7 revisions

An App is something that provides value on top of collections. For example:

  • A timeline of all your photos
  • A gallery of all your contacts
  • A Customer Relationship Management Tool
  • A map of all the photos you've ever taken
  • A calendar with all the places you've visited

In fact, there are many examples of apps that already exist that could be improved if they used a locker to manage the data problem that exists with connecting with multiple web services. Going one step further, the data is available to your application in JSON via a RESTful API.

No need to learn multiple APIs and spend time maintaining them. Apps on top of Locker get the benefit of the platform.

The Bits

For the purpose of demonstration, I picked HelloContacts to discuss the anatomy of an app. Note that this app runs internally within the individual's Locker, and not externally (as defined below).

The Flow

Applications placed inside the Apps directory will show up in the Dashboard.

Future Direction

Internal

People can release their own internal apps to build on top of the platform. Let us know if you build something awesome!

http://twitter.com/lockerproject/

External OAuth2 HTTP

Many of these types of apps exist. Think of the "Connect with Facebook" buttons that websites use to get personal data with your consent to make their service better. For example, a health website might want to both save health related data to a person's Locker, and create custom reports about them based on their online social life. A third party website can use the API in the same way as an Internal app, with the user's expressed consent. That consent is negotiated using OAuth2.

Native (with TeleHash)

As stated by Thomas, '"Native" apps will have to use the TeleHash Distributed Hash Table to find and contact a locker and set up a tunnel to that locker directly that can be anywhere'.

Clone this wiki locally