jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Jsop" by JulianReschke
Date Tue, 29 Nov 2011 16:24:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "Jsop" page has been changed by JulianReschke:
http://wiki.apache.org/jackrabbit/Jsop?action=diff&rev1=9&rev2=10

Comment:
restructure

  
  == Overview ==
  
- Jsop is a Json-Diff format used by the [[http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/|Jackrabbit
Microkernel]]. It extends the Json format to provide diff/patch features. The definitions
below are based on the format used by [[http://svn.apache.org/viewvc/jackrabbit/tags/2.3.2/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java?view=markup|JCR
Server]] but diverge in some areas. This is still work in progress and definitions may change
at anytime. 
+ "Jsop" is the idea of a lightweight HTTP protocol for manipulating JSON-based object models.
+ 
+ This protocol would include
+ 
+  * a mapping between the JCR data model and JSON
+ 
+  * a notation to identify object members (this will be very similar to JCR path notation)
+ 
+  * a way to expose information about a tree of JCR nodes using JSON notation; if this needs
to co-exist with the classical view (aka WebDAV), we either need a creative way to mint new
URIs, or may have to  try content negotiation
+ 
+  * one or more formats expression changes in a JSON structure
+ 
+ 
+ === JCR-JSON mapping ===
+ 
+ TBD.
+ 
+ === Identifier Notation ===
+ 
+ TBD (I believe raw JCR paths work as they subset JSON names and never need the "/")
+ 
+ === HTTP binding ===
+ 
+ TBD.
+ 
+ 
+ === Diff Formats ===
+ 
+ ==== IETF Work on Diff Formats ====
  
  There are two Internet Drafts describing
  
@@ -16, +44 @@

  
  Note that these do not describe a protocol, but just syntax needed for the update operation.
  
+ ==== Draft Implementations: JSOP-Diff ====
+ 
+ The definitions below are based on the format used by [[http://svn.apache.org/viewvc/jackrabbit/tags/2.3.2/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/remoting/davex/JcrRemotingServlet.java?view=markup|JCR
Server]] but diverge in some areas. This is still work in progress and definitions may change
at anytime. 
+ 
+  * [[http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/|Jackrabbit Microkernel]]
+ 
+  * DavExRemoting in Jackrabbit WebDAV
+ 
+ 
- === Compact Syntax ===
+ ===== Compact Syntax =====
  {{{
  // JSOP
  DIFFS    ::= (ADD | SET | REMOVE | MOVE)*
@@ -39, +76 @@

  
  A [[http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/json/JsopParser.java?view=markup
| parser]] and a simple [[http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/json/JsopParserTest.java?view=markup
| test case]] for this syntax is available from the sandbox. 
  
- == Syntax ==
+ ===== Syntax =====
  
  '''jsop:'''
   * diff

Mime
View raw message