io.bind
General Newbie Questions on Yahoo Pipes and io.bind
Posted June 6th, 2008 by KenshiI am using dojo to access Yahoo Pipes. After much struggle and looking at what seems to be outdated examples on the web, I was able to do it using dojo.io.script.get using dojo release 1.1.1.
So here are my questions:
1. What is up with io.bind? It seems like its no longer supported. When importing dojo.io.ScriptSrcIO, I get "Could not load 'dojo.io.ScriptSrcIO'; last tried './io/ScriptSrcIO.js'." I really had to learn this hard way rather than finding any documentation on this.
2. Yahoo pipes requires a callbakc function and I am trying to create my application as a Javascript class. The problem with the callback is that it creates an instance that puts my class properties out of scope. Worse is that I would have to take the JSON object and load it into a global variable. If I was to create my app as a dojo class, will this occur as well? My idea was to create a Javascript class so that I can have multiple instances of RSS feeds on a single page.
Thanks in advance for all your help.
Dojo Forum