I learned few things in DOJO:
1. Dojo.addonload(funcname)
this is similar to window.onload thingy... if we are using addonload thing then we should not use window.onload
2. dojo.query() I am yet to understand the basic flexibility that this provide...
However, it seemed useful while accessing dom element and defining events on them..
something like dojo.query("#idname").connect("onclick", function(){ });
3. Dojo.require is used to load the libraries
4. dojo.byId is similar to document.getHtmlById() or may be similar to document.getNodebyId() of javascript or DHTML
5. Dojo.connet is used for binding event with libraries...
Here is found a really well documented tutorial. I like well documented tutorial because they give a good head start...
http://www.dynamicajax.com/fr/AJAX_Chat_Usability_Additions-271_290_291_297.html
Chatting application in ajax... I should try this some time...
SJ
No comments:
Post a Comment