« A replacement for sessionsZen of CherryPy video »

Shoji Catalog Protocol version 2

09/01/10

Permalink 02:26:27 pm, by fumanchu Email , 130 words   English (US)
Categories: IT

Shoji Catalog Protocol version 2

I've updated the Shoji Catalog Protocol to draft version 02. See http://www.aminus.org/rbre/shoji/shoji-draft-02.txt

The only significant change is that shojiCatalogs, shojiFragments, and shojiViews elements now use an object instead of an array for their IRI's. That is, instead of:

{"element": "shoji:catalog",
 "self": "http://example.org/users",
 "catalogs": ["bills", "sellers", "sellers{?sold_count}"],
}

one would now write something like:

{"element": "shoji:catalog",
 "self": "http://example.org/users",
 "catalogs": {"bills": "bills",
              "sellers": "sellers",
              "sellers by sold count": "sellers{?sold_count}"
              },
}

This allows clients to bind to a more meaningful name across varying documents rather than a potentially opaque and varying URI. In this way, the names function somewhat like link relation types (e.g. the "rel" attributes in HTML, or the relation types in Link headers).

1 comment

Comment from: packers and movers in Delhi [Visitor] · http://packersandmoversdelhi.indiatoppackers.in/

Packers and movers in Delhi
Packers and movers Delhi
http://packersandmoversdelhi.indiatoppackers.in/
Movers and packers in Delhi
Movers and packers Delhi

01/06/17 @ 13:36

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.

Please enter the phrase "I am a real human." in the textbox above.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2017
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search

The requested Blog doesn't exist any more!

XML Feeds

powered by b2evolution