[dna-issues] [JBoss JIRA] Commented: (DNA-309) Design URLs, leaving room for future UI features and maybe WebDAV
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Mar 19 10:47:22 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458140#action_12458140 ]
Randall Hauch commented on DNA-309:
-----------------------------------
I just ran across this blog entry (http://www.michaelnygard.com/blog/2009/03/update_sun_cloud_api_not_the_s.html) that praises the Sun Cloud API, is which a RESTful API for creating and managing cloud resources. The most interesting thing is that it is fully discoverable, since you start by doing a "GET /" with the resulting JSON response telling you what requests are allowed. (Each pair under a parent is either a name/string pair or a name/resource pair, where the resource is given by a URI fragment that is the resource that applies.) Subsequent requests result in similar JSON responses. See http://kenai.com/projects/suncloudapis/pages/HelloCloud for an example interaction.
BTW, JSON is that it is a great match for representing tree structures, and would be a great approach for the representations returned by this RESTful server. After all, DNA and JCR repository content is really a tree (with property values referring to other nodes making it a graph).
> Design URLs, leaving room for future UI features and maybe WebDAV
> -----------------------------------------------------------------
>
> Key: DNA-309
> URL: https://jira.jboss.org/jira/browse/DNA-309
> Project: DNA
> Issue Type: Sub-task
> Components: Web Application
> Affects Versions: 0.3
> Reporter: Johnny Verhaeg
> Fix For: 0.5
>
>
> For right now, we need URLs for just publishing and un-publishing content.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list