JavaScript patterns
What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other l...
Main Author: | |
---|---|
Format: | eBook |
Language: | English |
Published: |
Sebastopol, CA
O'Reilly
2010
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Table of Contents; Preface; Target Audience; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Credits; Reading; Chapter 1. Introduction; Patterns; JavaScript: Concepts; Object-Oriented; No Classes; Prototypes; Environment; ECMAScript 5; JSLint; The Console; Chapter 2. Essentials; Writing Maintainable Code; Minimizing Globals; The Problem with Globals; Side Effects When Forgetting var; Access to the Global Object; Single var Pattern; Hoisting: A Problem with Scattered vars; for Loops; for-in Loops
- Includes bibliographical references and index