Loading ...
Sorry, an error occurred while loading the content.

1253Re: [json] Announcing web_send: a browser shell for JSON resources

Expand Messages
  • Tyler Close
    May 7, 2009
      On Thu, May 7, 2009 at 10:51 AM, Kris Zyp <kriszyp@...> wrote:
      > This looks really cool.


      > Have you tried it with existing servers to see
      > how compatible it is with current implementations of HTTP/JSON servers?
      > This data interaction aspect of this looks similar to the functionality
      > in Dojo's JsonRestStore, which can interact with CouchDB and Persevere.
      > It'd be curious if your browser shell works with Persevere, as Persevere
      > follows RFC 2616 pretty closely as well as some of the RESTful JSON
      > conventions discussed here, such as JSON referencing:
      > http://groups.google.com/group/restful-json

      The implementation currently supports GET and POST to an arbitrary URL
      with an arbitrary JSON request entity and an arbitrary JSON response
      entity. Non-success HTTP response codes trigger the provided failure

      Is there some aspect of Persevere's implementation of RFC 2616 that
      could be problematic for a client implemented on the browser's
      XMLHttpRequest object?

      All JSON encoding/decoding is done using whatever JSON object is in
      the global scope. It looks like you could use your JSON referencing
      code by importing it instead of json2.js.


      "Waterken News: Capability security on the Web"
    • Show all 3 messages in this topic