W3C home > Mailing lists > Public > public-forms@w3.org > September 2010

Making XForms 1.2 more RESTfull: submission URI Templates and matrix URIs

From: T.V Raman <raman@google.com>
Date: Thu, 16 Sep 2010 15:30:42 -0700
Message-ID: <19602.39570.669762.98122@retriever.mtv.corp.google.com>
To: Leigh.Klotz@Xerox.com
Cc: public-forms@w3.org
Also, in making things restful --- xml may not be the best
possible serialization of data -- given that the tag verbosity
will get us to the url-length limit quicker. JSON?:-)

Leigh L. Klotz, Jr. writes:
 >   With submission/resource/@value we can control the URI of submissions 
 > and enable REST architectural style operations on resources named by URIs.
 > 
 > It's not very pretty, though, and form authors tend to use the default 
 > GET serialization of leaf nodes into query strings; then when a REST 
 > design would have them to POST or PUT, things get uglier again.
 > 
 > It might be nice if XForms 1.2 could use a template to serialize some 
 > nodes into the resource.
 > 
 > Joe Gregorio has an (expired) RFC on URI templates, and here are some 
 > pages about it:
 > http://bitworking.org/news/URI_Templates
 > http://blog.welldesignedurls.org/2007/01/03/about-uri-templates/
 > http://code.google.com/p/uri-templates/
 > http://tools.ietf.org/html/draft-gregorio-uritemplate-03
 > WADL uses the concept, as do some other REST systems (such as RESTLET).
 > 
 > Also, I believe Philip Fennel has been using matrix recently, and 
 > perhaps this is another serialization we can use for the resource data.
 > 
 > http://www.oreillynet.com/xml/blog/2006/12/the_matrix_revisited.html
 > http://www.w3.org/DesignIssues/MatrixURIs.html
 > 
 > Leigh.
 > 

-- 
Best Regards,
--raman

Title:  Research Scientist                              
Email:  raman@google.com                                
WWW:    http://emacspeak.sf.net/raman/                  
Google: tv+raman                                        
GTalk:  raman@google.com                                
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc    
Received on Thursday, 16 September 2010 22:31:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:54 UTC