Dojo for beginners
Recently I was playing around with the Dojo Toolkit and encountered some issues while adding a Combo Box to a web application. The following is a short list of things I learned (while banging my head against a wall several times)...
- Don't forget to add class="tundra"to your body element - otherwhise the dojo widgets just look awfull!
- use a custom dojo build - otherwhise loading times of your page will be incredible slow
- don't forget to customize the css - including the main file of a dojo theme (like tundra.css) works, but is slow because quite a few css files are imported by it. So merge all css you need into your applications single .css file
- create your widgets programmatically instead of letting dojo parse html attributes - thats a lot faster.