Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal DeepLink Routing #62

Open
wessmith opened this issue Jul 8, 2015 · 1 comment
Open

Internal DeepLink Routing #62

wessmith opened this issue Jul 8, 2015 · 1 comment
Labels
Milestone

Comments

@wessmith
Copy link
Member

wessmith commented Jul 8, 2015

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..
@alcarvalho
Copy link

I will just repost part of my comment here so we can follow up.

... delegating responsibility to handlers for fetching and processing data and ViewControllers for presenting the resources we request.

I have never thought that fetching data could belong to the route handler. Do you think that's a good idea? For instance, how could we present any feedback (progress, connection error) to the user, if you don't have a UI to do it in the handler?

I either don't get it or are you planning deeper modifications to the route handler?

@chrismaddern chrismaddern added this to the 2.0.0 milestone Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants