

Shelley Powers has been working with, and writing about, web technologies--from the first release of JavaScript to the latest graphics and design tools--for more than 12 years.
Meer over Shelley PowersLearning JavaScript 3rd Edition
Add Sparkle and Life to your Web Pages
Paperback Engels 2016 3e druk 9781491914915Samenvatting
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
Specificaties
Lezersrecensies
Inhoudsopgave
1. Your 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
2. JavaScript Development Tools
-Writing ES6 Today
-ES6 Features
-The Transcompilers
-Linting
-Conclusion
3. Literals, 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
4. Control Flow
-A Control Flow Primer
-Control Flow Statements in JavaScript
-Useful Control Flow Patterns
-Conclusion
5. Expressions 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
6. Functions
-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
7. Scope
-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
8. Arrays 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
9. Objects and Object-Oriented Programming
-Property Enumeration
-Object-Oriented Programming
-Multiple Inheritance, Mixins, and Interfaces
-Conclusion
10. Maps and Sets
-Maps
-Weak Maps
-Sets
-Weak Sets
-Breaking the Object Habit
11. Exceptions 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
12. Iterators and Generators
-The Iteration Protocol
-Generators
-Conclusion
13. Functions 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
14. Asynchronous Programming
-The Analogy
-Callbacks
-Promises
-Generators
-Conclusion
15. Date 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
16. Math
-Formatting Numbers
-Constants
-Algebraic Functions
-Trigonometric Functions
-Hyperbolic Functions
17. Regular 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
18. JavaScript 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
19. jQuery
-The Almighty Dollar (Sign)
-Including jQuery
-Waiting for the DOM to Load
-jQuery-Wrapped DOM Elements
-Manipulating Elements
-Unwrapping jQuery Objects
-Ajax
-Conclusion
20. Node
-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
21. Object Property Configuration and Proxies
-Accessor Properties: Getters and Setters
-Object Property Attributes
-Protecting Objects: Freezing, Sealing, and Preventing Extension
-Proxies
-Conclusion
22. Additional Resources
-Online Documentation
-Periodicals
-Blogs and Tutorials
-Stack Overflow
-Contributing to Open Source Projects
-Conclusion
Appendix A: Reserved Words
Appendix B: Operator Precedence
Index
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan