-
Notifications
You must be signed in to change notification settings - Fork 3
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
Provide deep linking down the entity chain #16
Comments
I don't think multiple hashes is valid syntax. |
Yeah, apologies for the misleading verbiage, while deep linking via a url hash would be invalid I was thinking of something more similar to a CSS selector. (only we are using "name" instead of "id") |
I've got this mostly coded up. There are two functions: A static function, I'm open to ideas on better syntax for the "chains". I'm also wondering if maybe it makes sense to have the argument to all promise callbacks be the root level object as apposed to the last descendant...? Code should be in shortly... |
Closing this out. It's currently functional via `Backbone.Siren.resolve()' and while it needs additional work, I'll file that under a separate ticket. |
Following up on Kevin's comments in this thread: #15
...and as mentioned in this twitter thread: https://twitter.com/dhh/status/281779048978472960 and in this post: http://37signals.com/svn/posts/3373-getting-hyper-about-hypermedia-apis
We need some kind of deep linking.
I still need to figure out how to define the api for this but the idea is you should be able to do:
The idea behind the '#' is to be somewhat similar to css selectors. Eventually, if we want to support selecting by "class" we might want to do something like:
...just for now...yet to see how it can work out...
The text was updated successfully, but these errors were encountered: