Are there any coding standards for Dojo?
I have been searching around for some best practices and was wondering if Dojo has framework specific best practices or is it best to just use gen开发者_如何学Pythoneric Javascript standards?
In particular I am mainly looking for some guidelines to function and class commenting if possible?
For starters, this is the project's style guide: Dojo Style Guide
One thing I STRONGLY suggest is to NOT pollute your html with dojotype="..." and such invalid attributes and instead add all functionality via script and classnames
Best way to start with dojo project...
Sitepen and dojo toolkit
hope it will help you...
精彩评论