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...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Barkeley, California :
Apress
2014.
|
Edición: | 1st ed. 2014. |
Colección: | The expert's voice in web development
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629472906719 |
Tabla de Contenidos:
- ""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 Methods""""Simplifying 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 Methods""""Summary""; ""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""
- ""Summary""""Chapter 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""
- ""Measuring Code Quality""