On May 10, 2008, at 1:29 AM, Kevin Brown wrote:


You know this is exactly what the java server does currently when you pass the libs parameter, right? The idea is that the container can aggregate what they expect the most commonly used features to be, and those are handled by
/gadgets/js. Everything else is inlined. For example, on a production
server:

php shindig has the exact same ting, and was in fact what i was using with most of my experimentation (with some slight alterations to test out having separate script tags per feature vs one big blob)

However that didn't give me any idea how to bypass the onLoad latency that that would cause.

if i would just do a libs=opensocial-0.7:settitle:etc, then the onLoadHandlers() is called before the gadget.* calls become available, and the whole thing errors out :)

The way around this was to run the runOnLoadHandlers() on the actual page load, with the added downside that this added some perceived latency .. how do you deal with that?

        -- Chris

Reply via email to