Forked from philjones88/gist:7b6d917e159a9fa75609
Last active
August 29, 2015 14:08
-
-
Save jchannon/5df9a7e8748282d82ae9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming your web app supports deep linking, like an AngularJS one would. | |
Assume basic crud of Foo. So list, create, edit and delete. | |
If a user bookmarks in your app an edit page eg/http://mydomain.com/foo/123, thanks to deep linking you now skip over the list part of navigation. | |
So the user's browser hits: | |
http://example.org/#/foos/1 | |
This then tells AngularJS I want Foo 1. | |
In the Angular code it has '/Foo' + route.id | |
From a hypermedia perspective how does the app know to get foo 1 from the REST API? | |
How does the application do this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment