Using jsonXD for Cross-Domain JSON Exchange

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Using jsonXD for Cross-Domain JSON Exchange - Presentation Transcript

    1. Cross-domain, Client-side JSON Exchange By Michael A. I. Lee
    2. What is jsonXD? Declarative JavaScript with JSON-like syntax.
    3. Cross-domain JSON with /* Target data */ { “ test ” : “ jsonXD Works! ” }
    4. // 2: Request data from JSON/P server: + { get : “ http://server/data.js?callback= ~ ” }; // 2: Request data from jsonXD server: + { get : “ http://server/data.js ” }; // 1: Add data listener: + { on : { test: function ( result ) { // 4: Display data: alert ( result . data . test ); } }}; // 1: Add data listener: + { on : { test : function (result) { // 4: Display data: alert (result.data.test); }}} ; Cross-domain JSON with // 3: Server returns JSON/P: ~( { “ test ”: “ jsonXD Works! ” } ) ; // 3: Server returns jsonXD: + { “ test ”: “ jsonXD Works! ” }; client server
    5. Works Where?
    6. Please complete an evaluation T H A N K Y O U ! T H A N K Y O U ! Michael A. I. Lee http://iskitz.com/ Follow me @iskitz on Twitter jsonXD http://jsonxd.net/ Follow @jsonxd on Twitter ajile Ajile http://ajile.net/ Follow @ajilenet on Twitter

    + Michael LeeMichael Lee, 2 months ago

    custom

    282 views, 0 favs, 1 embeds more stats

    My Ajax Experience 2009 presentation on using jsonX more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 282
      • 267 on SlideShare
      • 15 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 15 views on http://iskitz.com

    more

    All embeds
    • 15 views on http://iskitz.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories