Table of Contents for
Maintainable JavaScript
Close
Version ebook
/
Retour
Maintainable JavaScript
by Nicholas C. Zakas
Published by O'Reilly Media, Inc., 2012
Cover
Maintainable JavaScript
Maintainable JavaScript
Introduction
Preface
I. Style Guidelines
1. Basic Formatting
2. Comments
3. Statements and Expressions
4. Variables, Functions, and Operators
II. Programming Practices
5. Loose Coupling of UI Layers
6. Avoid Globals
7. Event Handling
8. Avoid Null Comparisons
9. Separate Configuration Data from Code
10. Throw Your Own Errors
11. Don’t Modify Objects You Don’t Own
12. Browser Detection
III. Automation
13. File and Directory Structure
14. Ant
15. Validation
16. Concatenation and Baking
17. Minification and Compression
18. Documentation
19. Automated Testing
20. Putting It Together
A. JavaScript Style Guide
B. JavaScript Tools
Index
About the Author
Colophon
Copyright
Next
Next Chapter
Maintainable JavaScript
Next
Next Chapter
Maintainable JavaScript