Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

LEARNING JAVASCRIPT 3E. ADD SPARKLE AND LIFE TO YOUR WEB PAGES
Título:
LEARNING JAVASCRIPT 3E. ADD SPARKLE AND LIFE TO YOUR WEB PAGES
Subtítulo:
Autor:
BROWN, E
Editorial:
O´REILLY
Año de edición:
2016
ISBN:
978-1-4919-1491-5
Páginas:
364
39,95 € -10,0% 35,96 €

 

Sinopsis

This is an exciting time to learn JavaScript. Now that the latest JavaScript specification-ECMAScript 6.0 (ES6)-has been finalized, learning how to develop high-quality applications with this language is easier and more satisfying than ever. This practical book takes programmers (amateurs and pros alike) on a no-nonsense tour of ES6, along with some related tools and techniques.

Author Ethan Brown (Web Development with Node and Express) not only guides you through simple and straightforward topics (variables, control flow, arrays), but also covers complex concepts such as functional and asynchronous programming. You'll learn how to create powerful and responsive web applications on the client, or with Node.js on the server.

Use ES6 today and transcompile code to portable ES5
Translate data into a format that JavaScript can use
Understand the basic usage and mechanics of JavaScript functions
Explore objects and object-oriented programming
Tackle new concepts such as iterators, generators, and proxies
Grasp the complexities of asynchronous programming
Work with the Document Object Model for browser-based apps
Learn Node.js fundamentals for developing server-side applications



Chapter 1Your First Application
Where to Start
The Tools
A Comment on Comments
Getting Started
The JavaScript Console
jQuery
Drawing Graphics Primitive
Automating Repetitive Tasks
Handling User Input
Hello, World
Chapter 2JavaScript Development Tools
Writing ES6 Today
ES6 Features
The Transcompilers
Linting
Conclusion
Chapter 3Literals, Variables, Constants, and Data Types
Variables and Constants
Variables or Constants: Which to Use?
Identifier Names
Literals
Primitive Types and Objects
Numbers
Strings
Special Characters
Booleans
Symbols
null and undefined
Objects
Number, String, and Boolean Objects
Arrays
Trailing Commas in Objects and Arrays
Dates
Regular Expressions
Maps and Sets
Data Type Conversion
Conclusion
Chapter 4Control Flow
A Control Flow Primer
Control Flow Statements in JavaScript
Useful Control Flow Patterns
Conclusion
Chapter 5Expressions and Operators
Operators
Arithmetic Operators
Operator Precedence
Comparison Operators
Comparing Numbers
String Concatenation
Logical Operators
AND, OR, and NOT
Grouping Operator
Destructuring Assignment
Object and Array Operators
Expressions in Template Strings
Expressions and Control Flow Patterns
Conclusion
Chapter 6Functions
Return Values
Calling Versus Referencing
Function Arguments
Functions as Properties of Objects
The this Keyword
Function Expressions and Anonymous Functions
Arrow Notation
call, apply, and bind
Conclusion
Chapter 7Scope
Scope Versus Existence
Lexical Versus Dynamic Scoping
Global Scope
Block Scope
Variable Masking
Functions, Closures, and Lexical Scope
Immediately Invoked Function Expressions
Function Scope and Hoisting
Function Hoisting
The Temporal Dead Zone
Strict Mode
Conclusion
Chapter 8Arrays and Array Processing
A Review of Arrays
Array Content Manipulation
Array Searching
The Fundamental Array Operations: map and filter
Array Magic: reduce
Array Methods and Deleted or Never-Defined Elements
String Joining
Conclusion
Chapter 9Objects and Object-Oriented Programming
Property Enumeration
Object-Oriented Programming
Multiple Inheritance, Mixins, and Interfaces
Conclusion
Chapter 10Maps and Sets
Maps
Weak Maps
Sets
Weak Sets
Breaking the Object Habit
Chapter 11Exceptions and Error Handling
The Error Object
Exception Handling with try and catch
Throwing Errors
Exception Handling and the Call Stack
try...catch...finally
Let Exceptions Be Exceptional
Chapter 12Iterators and Generators
The Iteration Protocol
Generators
Conclusion
Chapter 13Functions and the Power of Abstract Thinking
Functions as Subroutines
Functions as Subroutines That Return a Value
Functions as.Functions
So What?
IIFEs and Asynchronous Code
Function Variables
Recursion
Conclusion
Chapter 14Asynchronous Programming
The Analogy
Callbacks
Promises
Generators
Conclusion
Chapter 15Date and Time
Dates, Time Zones, Timestamps, and the Unix Epoch
Constructing Date Objects
Moment.js
A Practical Approach to Dates in JavaScript
Constructing Dates
Transmitting Dates
Displaying Dates
Date Components
Comparing Dates
Date Arithmetic
User-Friendly Relative Dates
Conclusion
Chapter 16Math
Formatting Numbers
Constants
Algebraic Functions
Trigonometric Functions
Hyperbolic Functions
Chapter 17Regular Expressions
Substring Matching and Replacing
Constructing Regular Expressions
Searching with Regular Expressions
Replacing with Regular Expressions
Input Consumption
Alternation
Matching HTML
Character Sets
Named Character Sets
Repetition
The Period Metacharacter and Escaping
Grouping
Lazy Matches, Greedy Matches
Backreferences
Replacing Groups
Function Replacements
Anchoring
Word Boundary Matching
Lookaheads
Constructing Regexes Dynamically
Conclusion
Chapter 18JavaScript in the Browser
ES5 or ES6?
The Document Object Model
Some Tree Terminology
DOM "Getö Methods
Querying DOM Elements
Manipulating DOM Elements
Creating New DOM Elements
Styling Elements
Data Attributes
Events
Ajax
Conclusion
Chapter 19jQuery
The Almighty Dollar (Sign)
Including jQuery
Waiting for the DOM to Load
jQuery-Wrapped DOM Elements
Manipulating Elements
Unwrapping jQuery Objects
Ajax
Conclusion
Chapter 20Node
Node Fundamentals
Modules
Core Modules, File Modules, and npm Modules
Customizing Modules with Function Modules
Filesystem Access
Process
Operating System
Child Processes
Streams
Web Servers
Conclusion
Chapter 21Object Property Configuration and Proxies
Accessor Properties: Getters and Setters
Object Property Attributes
Protecting Objects: Freezing, Sealing, and Preventing Extension
Proxies
Conclusion
Chapter 22Additional Resources
Online Documentation
Periodicals
Blogs and Tutorials
Stack Overflow
Contributing to Open Source Projects
Conclusion
Appendix Reserved Words
Appendix Operator Precedence