开发者

Are there any coding standards for Dojo?

开发者 https://www.devze.com 2023-01-25 08:59 出处:网络
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?

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消