Dispatcher Information
This component can be used alone with other YUI components without include the Bubbling Core Object. The Dispatcher plugin was created to satisfy one of most requested functionalities for the developers that work with YUI Library: "the dynamic execution of the Ajax's response content". The incompatibilities of the browsers, cause that the execution of the code inserted in the pages using the innerHTML property is not a standard mechanism, neither if you try to use a reference to a remote script. This plugin require only the "utilities" package of the YUI library, and will guarantee several important points:
- All of the dynamic contents (loaded thru the YUI Connection Manager) will be processed by the Dispatcher, and the javascript chunks will be executed (remote and inline scripts)
- All the javascripts within a content will be executed according to the order of apparition.
- All the contents will be included in the DOM's structure before beginning the execution process. This means that you can use references to an element within the container.
The last release of the dispatcher support cross-domains capabilities using the most common technique (proxy), also introduce two new method "jsLoader" and "cssLoader", for remote script and CSS loading onDemand and the hashtable to discard multiple execution for the same remote file, and path-correction for remote files if you need it.








Minor grammar and word use comments
On the page , I noticed a couple simple grammar and word use problems that you might want to know about.
First, the two sentences starting with "The Dispatcher plugin ..." are very hard to digest.
The following is an attempt to rewrite this in a form I can understand (but I may be missing something you're trying tto impart):
The Dispatcher plugin was created to satisfy a very common need of developers using the YUI library: dynamic execution of Ajax response content. Typical strategies to fulfill this need, like executing the innerHTML property or referencing remote scripts, are unreliable due to browser incompatibilities. The Dispatcher plugin avoids those problems.
Second, the phrase "... order of apparition" should probably be "... order of appearance". If you look up "apparition" in the dictionary, you'll see that's not quite the right word.