Michael Lee Presentatin Cross Domain Json

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

    Notes on slide 1

    Good Morning everyone! Good to have you here. I'm Michael Lee, JavaScript fan and creator of the Ajile open-source project for Dynamic Script Loading & Namespace Management. Today I'm introducing jsonXD, a new, pure JavaScript approach to working with JSON in both client and server-side environments.

    Favorites, Groups & Events

    Michael Lee Presentatin Cross Domain Json - Presentation Transcript

    1. Cross-domain, Client-side JSON Exchange by Michael Lee
    2. What is jsonXD? Declarative JavaScript with JSON-like syntax.
    3. Cross-domain JSON with /* Target data */ { “ test ” : “jsonXD Works!” }
    4. // 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); }}}; // 2: Request data from JSON/P server: + { get : “ http://ser.ver.b/data.js ?callback= ~ ” }; // 2: Request data from jsonXD server: + { get : “ http://ser.ver.b/data.js ” }; Cross-domain JSON with ser.ver.a (client) ser.ver.b (server) // 3: Server returns JSON/P: ~( { “ test ”: "jsonXD Works!" } ) ; // 3: Server returns jsonXD: + { “ test ”: "jsonXD Works!" };
    5. Works Where?
    6. Please complete an evaluation Michael 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
    SlideShare Zeitgeist 2009

    + Ajax Experience 2009Ajax Experience 2009 Nominate

    custom

    219 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 219
      • 219 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 18
    Most viewed embeds

    more

    All embeds

    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