https://devsummit.aspirationtech.org/index.php?title=Javascript_Best_Practices&feed=atom&action=historyJavascript Best Practices - Revision history2024-03-28T09:38:01ZRevision history for this page on the wikiMediaWiki 1.35.1https://devsummit.aspirationtech.org/index.php?title=Javascript_Best_Practices&diff=826&oldid=prevVivian: 1 revision imported2015-05-15T22:11:49Z<p>1 revision imported</p>
<p><b>New page</b></p><div>Facilitated by Neil Drumm, Drupal<br />
<br />
Neil will share his learnings around best practices for implementing Javascript, focusing on making things fast. The session will draw on the work he has done on API.drupal.org, including smart dynamic “autocomplete” features. While Neil's focus will draw primarily on experiences with the JQuery library, he'll share thoughts on writing good and fast JavaScript for other frameworks as well. Some notes are at http://delocalizedham.com/node/21.<br />
<br />
== Session Notes ==<br />
<br />
Neil's previous presentations<br />
http://delocalizedham.com/badcamp-2009<br />
Chapter 3 blog post by Neil Drumm last month<br />
JavaScript: The Good Parts by Crockford<br />
Use JSLint<br />
Use FireBug<br />
IE debugging is hard<br />
Recent blog post on ejohn.org<br />
Testing<br />
Selenium<br />
Contiunuous integration if you can<br />
Closures<br />
Don't use AJAX if you don't need to<br />
Use YSlow<br />
Use tokens to prevent XSRF<br />
Start with a pile o' JS and build APIs as you need them<br />
Check out the jQuery utility functions</div>Vivian