Site Menu
Responsible JavaScript for the Enterprise Guidelines
this is the beginning of a comprehensive list of guidelines...details to come
- Reduce or Eliminate Global Variables
- Use Object Detection Over Browser Detection
- NameSpace your Functions
- Use Object Literal Notation
- Write Unobtrusive JavaScript
- Practice Graceful Degradation and Progressive Enhancement
- Make Use of DOM Helper Functions
- Create an Event Plan
- Handle Errors Properly
- Use Singleton Classes for Utility Functions
- Use Factory Design Patterns for Widgets
- Reduce Code Through Inheritance
- Use the Prototype Property
