Monday, July 16, 2007

Migration from dojo 0.4x to dojo 0.9

If you are using dojo 0.4.x javascript library.. then ther is a news for you.. dojo 0.9 is out (only in beta yet :-( )
But 0.9 is a huge huge improvement over 0.4.x version
first and most important thing is the size... now dojo.js stands at around 48kb in stead of beastly 150kb of 0.4.3
They have also done a lot of reorg..
now the.. this has caused 0.9 to be incompatible with the existing html source based on 0.4 dojo.
If you plan to upgrade.. please visit this general info page
If you are using Any of the widgets : make sure to find out ur widget from here.. n read about it.. espl ContentPane and Dialog.. am sure many would be using these two...


These are few of things that i found out...
1. All the changes from general info page are must!
2. u also need to import dijit.js if you plan to use the widgets.
3, if particular attribute / method is removed.. better read the description as to how to get it similar work done.. many attributes are now controlled via css. so.. need to update your css.