Skip to content
Matthew Harris edited this page Oct 7, 2013 · 3 revisions

This note is for FE code only, and I don't expect other component to follow this stuff, but within front end, I am hoping we will try to adhere to it as much as we can.

JavaScript

  • Javascript Library: we have decided to go with jQuery and jQuery UI. For any effect or widget, we should look to these library first before we just grab one piece of code from the Internet. (Ajax-solr is a notable exception)

  • Javascript Guide: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml , I think this is a fairly decent guide. The pattern book by Yahoo's Stefanov also got some good suggestions.

  • We should also strive to pass the jslint check for quality control.

Clone this wiki locally