YAPC::NA badge

Dev411 Blog

Saturday, June 03, 2006

Dojo - Remote Script Problem


  • At 6/05/2006 01:32:00 AM, Blogger alex said…

    this isn't a Dojo problem, it's the intrinsic cross-domain security model of browsers. We have, however, implemented what we call the "cross-domain package loader". There's a wiki page that describes it and how to use it here:


    This is something that's totally new and no other toolkit supports anything like it (mostly because most toolkits haven't evolved package systems either).

    So long story short: you're working against the grain of the browser, but Dojo still has your back, if you're willing to put in a little bit of effort (a custom build).


  • At 6/05/2006 08:06:00 PM, Blogger John Wang said…

    Thanks for the link. I'll check it out soon. It's nice to know even with its more complex architecture, it can still support things like cross-domain library loading.

    Regarding the custom build, my understanding is that Java and Ant are required. I don't have this environment so I'll have to schedule some time. Custom Dojo builds seem to come up a lot and I've been thinking that Dojo would get many more users if either of the following were available:

    1) lighter-weight build system that doesn't require Java / Ant
    2) a website that builds a custom dojo.js based on options selected via a form

    Have there been any thoughts in these directions?


Post a Comment

<< Home