Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-550

JavaScript language target

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • None
    • None
    • Patch Available

    Description

      This allows javascript clients to be built for browser based access to thrift services.

      The supported transport is XHTTPRequest and the supported Protocol is compatible with TJSONProtocol

      I've added a test in lib/js that is a java based HTTP server which implements ThriftTest service.
      I've put a version of this test service here http://3.rdrail.net:8080/test/test.html if you'd like to see it in action.

      It's been tested in ie 6,7,8, FF, and Safari.

      Let me know if you hit any issues. The protocol and transport code aren't very error tolerant, but overall it seems to work quite well.

      Attachments

        1. thrift_js_v2.patch
          86 kB
          T Jake Luciani
        2. thrift_js_v3.patch
          87 kB
          T Jake Luciani
        3. thrift_js.patch
          104 kB
          T Jake Luciani
        4. THRIFT-550_initialize_with_null.patch
          0.6 kB
          Roger Meier

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tjake T Jake Luciani
            tjake T Jake Luciani
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment