Universidad Autónoma de Occidente
Local cover image
Local cover image

JAVASCRIPT PATTERNS /

By: Publication details: O´REILLY 2010Edition: 1RADescription: 216 18 X 23.5 CMISBN:
  • 9780596806750
Subject(s): LOC classification:
  • QA76. 73J39 H37
Contents:
Chapter 1: Introduction; 1.1 Patterns; 1.2 JavaScript: Concepts; 1.3 ECMAScript 5; 1.4 JSLint; 1.5 The Console;Chapter 2: Essentials; 2.1 Writing Maintainable Code; 2.2 Minimizing Globals; 2.3 for Loops; 2.4 for-in Loops; 2.5 (Not) Augmenting Built-in Prototypes; 2.6 switch Pattern; 2.7 Avoiding Implied Typecasting; 2.8 Avoiding eval(); 2.9 Number Conversions with parseInt(); 2.10 Coding Conventions; 2.11 Naming Conventions; 2.12 Writing Comments; 2.13 Writing API Docs; 2.14 Writing to Be Read; 2.15 Peer Reviews; 2.16 Minify...In Production; 2.17 Run JSLint; 2.18 Summary;Chapter 3: Literals and Constructors; 3.1 Object Literal; 3.2 Custom Constructor Functions; 3.3 Patterns for Enforcing new; 3.4 Array Literal; 3.5 JSON; 3.6 Regular Expression Literal; 3.7 Primitive Wrappers; 3.8 Error Objects; 3.9 Summary;Chapter 4: Functions; 4.1 Background; 4.2 Callback Pattern; 4.3 Returning Functions; 4.4 Self-Defining Functions; 4.5 Immediate Functions; 4.6 Immediate Object Initialization; 4.7 Init-Time Branching; 4.8 Function Properties--A Memoization Pattern; 4.9 Configuration Objects; 4.10 Curry; 4.11 Summary;Chapter 5: Object Creation Patterns; 5.1 Namespace Pattern; 5.2 Declaring Dependencies; 5.3 Private Properties and Methods; 5.4 Module Pattern; 5.5 Sandbox Pattern; 5.6 Static Members; 5.7 Object Constants; 5.8 Chaining Pattern; 5.9 method() Method; 5.10 Summary;Chapter 6: Code Reuse Patterns; 6.1 Classical Versus Modern Inheritance Patterns; 6.2 Expected Outcome When Using Classical Inheritance; 6.3 Classical Pattern #1--The Default Pattern; 6.4 Classical Pattern #2--Rent-a-Constructor; 6.5 Classical Pattern #3--Rent and Set Prototype; 6.6 Classical Pattern #4--Share the Prototype; 6.7 Classical Pattern #5--A Temporary Constructor; 6.8 Klass; 6.9 Prototypal Inheritance; 6.10 Inheritance by Copying Properties; 6.11 Mix-ins; 6.12 Borrowing Methods; 6.13 Summary;Chapter 7: Design Patterns; 7.1 Singleton; 7.2 Factory; 7.3 Iterator; 7.4 Decorator; 7.5 Strategy; 7.6 Façade; 7.7 Proxy; 7.8 Mediator; 7.9 Observer; 7.10 Summary;Chapter 8: DOM and Browser Patterns; 8.1 Separation of Concerns; 8.2 DOM Scripting; 8.3 Events; 8.4 Long-Running Scripts; 8.5 Remote Scripting; 8.6 Deploying JavaScript; 8.7 Loading Strategies; 8.8 Summary;Colophon;
Summary: 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 language-specific categories, the abstractions and code templates in this guide are ideal--whether you're using JavaScript to write a client-side, server-side, or desktop application. Written by JavaScript expert Stoyan Stefanov--Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool--JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve. Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more Learn why literal notation patterns are simpler alternatives to constructor functions Discover different ways to define a function in JavaScript Create objects that go beyond the basic patterns of using object literals and constructor functions Learn the options available for code reuse and inheritance in JavaScript Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more Examine patterns that apply specifically to the client-side browser environment
Holdings
Item type Current library Collection Call number Copy number Status Date due Barcode
Libro Libro CI Gustavo A. Madero Sala General Colección General QA76. 73J39 H37 EJ.1 Available 0841Q

Editorial ‏ : ‎ O'Reilly Media
Fecha de publicación ‏ : ‎ 26 octubre 2010
Edición ‏ : ‎ Primera edición
Idioma ‏ : ‎ Inglés
Número de páginas ‏ : ‎ 232 páginas
ISBN-10 ‏ : ‎ 0593489721
ISBN-13 ‏ : ‎ 978-0596806750
Peso del artículo ‏ : ‎ 378 g
Dimensiones ‏ : ‎ 17.78 x 1.52 x 23.34 cm
Clasificación en los más vendidos de Amazon: nº372,374 en Libros (Ver el Top 100 en Libros)
nº880 en Patrones y Plantillas de Costura

Chapter 1: Introduction; 1.1 Patterns; 1.2 JavaScript: Concepts; 1.3 ECMAScript 5; 1.4 JSLint; 1.5 The Console;Chapter 2: Essentials; 2.1 Writing Maintainable Code; 2.2 Minimizing Globals; 2.3 for Loops; 2.4 for-in Loops; 2.5 (Not) Augmenting Built-in Prototypes; 2.6 switch Pattern; 2.7 Avoiding Implied Typecasting; 2.8 Avoiding eval(); 2.9 Number Conversions with parseInt(); 2.10 Coding Conventions; 2.11 Naming Conventions; 2.12 Writing Comments; 2.13 Writing API Docs; 2.14 Writing to Be Read; 2.15 Peer Reviews; 2.16 Minify...In Production; 2.17 Run JSLint; 2.18 Summary;Chapter 3: Literals and Constructors; 3.1 Object Literal; 3.2 Custom Constructor Functions; 3.3 Patterns for Enforcing new; 3.4 Array Literal; 3.5 JSON; 3.6 Regular Expression Literal; 3.7 Primitive Wrappers; 3.8 Error Objects; 3.9 Summary;Chapter 4: Functions; 4.1 Background; 4.2 Callback Pattern; 4.3 Returning Functions; 4.4 Self-Defining Functions; 4.5 Immediate Functions; 4.6 Immediate Object Initialization; 4.7 Init-Time Branching; 4.8 Function Properties--A Memoization Pattern; 4.9 Configuration Objects; 4.10 Curry; 4.11 Summary;Chapter 5: Object Creation Patterns; 5.1 Namespace Pattern; 5.2 Declaring Dependencies; 5.3 Private Properties and Methods; 5.4 Module Pattern; 5.5 Sandbox Pattern; 5.6 Static Members; 5.7 Object Constants; 5.8 Chaining Pattern; 5.9 method() Method; 5.10 Summary;Chapter 6: Code Reuse Patterns; 6.1 Classical Versus Modern Inheritance Patterns; 6.2 Expected Outcome When Using Classical Inheritance; 6.3 Classical Pattern #1--The Default Pattern; 6.4 Classical Pattern #2--Rent-a-Constructor; 6.5 Classical Pattern #3--Rent and Set Prototype; 6.6 Classical Pattern #4--Share the Prototype; 6.7 Classical Pattern #5--A Temporary Constructor; 6.8 Klass; 6.9 Prototypal Inheritance; 6.10 Inheritance by Copying Properties; 6.11 Mix-ins; 6.12 Borrowing Methods; 6.13 Summary;Chapter 7: Design Patterns; 7.1 Singleton; 7.2 Factory; 7.3 Iterator; 7.4 Decorator; 7.5 Strategy; 7.6 Façade; 7.7 Proxy; 7.8 Mediator; 7.9 Observer; 7.10 Summary;Chapter 8: DOM and Browser Patterns; 8.1 Separation of Concerns; 8.2 DOM Scripting; 8.3 Events; 8.4 Long-Running Scripts; 8.5 Remote Scripting; 8.6 Deploying JavaScript; 8.7 Loading Strategies; 8.8 Summary;Colophon;

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 language-specific categories, the abstractions and code templates in this guide are ideal--whether you're using JavaScript to write a client-side, server-side, or desktop application.

Written by JavaScript expert Stoyan Stefanov--Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool--JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.

Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more
Learn why literal notation patterns are simpler alternatives to constructor functions
Discover different ways to define a function in JavaScript
Create objects that go beyond the basic patterns of using object literals and constructor functions
Learn the options available for code reuse and inheritance in JavaScript
Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more
Examine patterns that apply specifically to the client-side browser environment

Ingeniería en Tecnologías de la Información y Comunicación

There are no comments on this title.

to post a comment.

Click on an image to view it in the image viewer

Local cover image

Libros electrónicos

eLibro eLibro

Recursos de investigación libres

image host image host image host image host image host image host image host image host image host image host

Recursos informativos



TecNM | Tecnológico Nacional de México

© 2025 by Biblionexus