title: Best practices in creating Cordova plugins
body: <p>I'm still starting to create a Cordova plugin, I've read their <a href="https://cordova.apache.org/docs/en/2.5.0/guide/plugin-development/" rel="nofollow">documentation</a> and an <a href="http://www.mat-d.com/site/tutorial-creating-a-cordova-phonegap-plugin-for-android-app/" rel="nofollow">article</a> on how to create one.
  I found it simple and easy to create however, aside from creating I would like to know if what are the best practices and/or useful tools to be used for debugging and testing the plugin. Also what would the best OOP Javascript pattern to implement?</p>
  
  <p>Thanks!</p>