Skip to content

Internal DeepLink Routing

Chris Maddern edited this page Jul 8, 2015 · 1 revision

Purpose

We build a deep link routing mechanism to route incoming URIs to states within our apps, delegating responsibility to handlers for fetching and processing data and ViewControllers for presenting the resources we request.

Ideally we create and maintain one navigation system and this should be the URI -> app state mapping mechanism that we current delegate only to deep link handling.

High Level Requirements

  • All ViewController states have URIs which are a way of serializing and reproducing the current state
  • There is an object responsible for managing the presentation of ViewControllers based on incoming URI & current state
  • Current states can be 'drilled from' by adding partial URLs (e.g. if at /products/123 navigating to "related" navigates to /products/123/related)
  • More to come..