Use the @mdo Code Guide (by Marc Otto, Github, Bootstrap, Twitter) http://codeguide.co
- Use lowercase-and-use-dashes when naming classes and ids
Use the Airbnb JavaScript Style Guide (by Airbnb, yes) https://github.com/airbnb/javascript
- Use camelCase when naming objects, functions, and instances
Use Symfony2 Coding Standards (by SensioLabs) http://symfony.com/doc/current/contributing/code/standards.html
- Use camelCase when naming classes, objects, functions