Wednesday, August 22, 2012

javascript – How to write jQuery code

I\’ve been writing Javascript code and using extensively the jQuery library. My code is not very big although for me is a mesh right now. I would to know if there is a jQuery best practices related to the way you write the code and how to structure it, not only related to performance.


I am asking this because from my point of view using jQuery configures a different way of writing code and I think that people who are used to writing a lot of jQuery + Javascript code have methods to organise the code.


I also would like to know if there is a \”common & good\” way of documenting jQuery code just like Javadoc.


Thanks in advance.






Rating: 2 out of 5 based on 4 ratings



The post javascript – How to write jQuery code appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/javascript-how-to-write-jquery-code.html

No comments:

Post a Comment