Loading…

Pro JavaScript development : coding, capabilities, and tooling /

Pro JavaScript Development is a practical guide for front-end web developers who are experienced at building web pages with HTML, CSS, and JavaScript, and now wish to advance their JavaScript skills to a higher level. You will learn how to build large, well-structured, high quality, mobile-optimized...

Full description

Bibliographic Details
Call Number:Libro Electrónico
Main Author: Odell, Den (Author)
Format: Electronic eBook
Language:Inglés
Published: Berkeley : Apress, 2014.
Series:Expert's voice in Web development.
Subjects:
Online Access:Texto completo (Requiere registro previo con correo institucional)
Table of Contents:
  • Contents at a Glance
  • Contents
  • About the Author
  • About the Technical Reviewers
  • Acknowledgments
  • Introduction
  • Chapter 1: Object-Oriented JavaScript
  • Objects in JavaScript
  • Custom Objects
  • Classes
  • Detecting An Objectâ€?s Constructor
  • Assigning Properties And Methods Using Prototype
  • Assigning Properties And Methods Using Scope
  • Context and the this keyword
  • Chaining Methods
  • Inheritance
  • Encapsulation
  • Polymorphism
  • The JavaScript Functionâ€?s apply and call Methods
  • The arguments object
  • Public, Private, and Protected Access To Properties And MethodsSimplifying Inheritance
  • Coding Conventions And Naming
  • Rule 1: Use descriptive names
  • Rule 2: Begin with a lowercase letter
  • Rule 3: Use camel-case to represent word divisions
  • Rule 4: Use all uppercase characters to represent universal constants
  • Rule 5: Group together variable declarations in one statement at the top of every function block
  • Variable and Function Name Hoisting
  • ECMAScript 5
  • JSON Data Format Parsing
  • Strict Mode
  • Function binding
  • Array Methods
  • Object MethodsSummary
  • Chapter 2: Documenting JavaScript
  • Inline and Block Comments
  • Structured JavaScript Documentation
  • The YUIDoc Documentation Format
  • Documenting “Classesâ€?, Constructors, Properties and Methods
  • Specifying Inputs Parameters and Return Values of Methods
  • Documenting Optional Method Input Parameters
  • Documenting a Property Containing a Constant Value
  • Documenting Private, Protected and Public Methods and Properties
  • Documenting Inherited “Classesâ€?
  • Documenting Chained Methods
  • Documenting Groups of Related “Classesâ€?Documenting Events
  • Documenting Code Examples
  • Other YUIDoc Documentation Tags
  • Expressive Documentation Formatting â€? Markdown
  • Grouping Content Under Headings
  • Breaking Lines And Creating Paragraphs
  • Creating Lists
  • Emphasizing Text
  • Displaying Code
  • Adding Quotes
  • Linking To URLs
  • Inserting Images
  • Creating Horizontal Rules
  • Using Backslash To Insert Reserved Characters
  • For Everything Else, Thereâ€?s HTML
  • Creating a Documentation Website Using YUIDoc
  • Taking It Further
  • SummaryChapter 3: Writing High-Quality JavaScript
  • Performing Static Code Analysis
  • JSLint
  • JSHint
  • Google Closure Compiler and Linter
  • Choosing a Static Code Analysis Tool
  • Unit Testing In JavaScript
  • Unit Testing Frameworks For JavaScript
  • Using Jasmine For JavaScript Unit Testing
  • Other Matchers
  • Additional Features Of Jasmine
  • Handling Runtime Errors
  • JavaScriptâ€?s Native Error Types
  • Wrap Code That May Error In A try-catch Statement
  • Detecting The Type Of Error Thrown
  • Creating Custom Error Types