A developers resource to learning one of the most-used scripting languages
JavaScript All-in-One For Dummies saves you shelf space by offering a complete introduction to JavaScript and how its used in the real world. This book serves up JavaScript coding basics before diving into the tools, libraries, frameworks, and runtime environments new and experienced coders need to know. Start by learning the basics of JavaScript and progress through the techniques and tools used by professional JavaScript developers, even if youve never written code before. You also get the details of todays hottest libraries and frameworksReact.js, Vue.js, Svelte, and Node.js.
Learn the basics of web and application development with the JavaScript languageGrasp the similarities and differences between React.js, Vue.js, and SvelteDiscover how to write server-side JavaScript and how to access databases with Node.jsGain a highly marketable skill, with one of the most popular coding languagesLaunch or further your career as a coder with easy-to-follow instructionThis is the go-to Dummies guide for future and current coders who need an all-inclusive guide JavaScript.
This is the go-to Dummies guide for future and current coders who need an all-inclusive guide to the world of JavaScript.
Introduction 1
Book 1: JavaScript Fundamentals 7
Chapter 1: Jumping into JavaScript 9
Chapter 2: Filling Your JavaScript Toolbox 41
Chapter 3: Using Data 63
Chapter 4: Working with Operators and Expressions 81
Chapter 5: Controlling Flow 91
Chapter 6: Using Arrays 105
Chapter 7: Making and Using Objects 125
Chapter 8: Writing and Running Functions 139
Chapter 9: Getting Oriented with Classes 167
Chapter 10: Making Things Happen with Events 181
Chapter 11: Writing Asynchronous JavaScript 197
Chapter 12: Using JavaScript Modules 223
Book 2: Meet Your Web Browser 231
Chapter 1: What a Web Browser Does 233
Chapter 2: Programming the Browser 241
Book 3: React 261
Chapter 1: Getting Started with React 263
Chapter 2: Writing JSX 281
Chapter 3: Building React Components 297
Chapter 4: Using Data and Events in React 327
Book 4: Vue 341
Chapter 1: Getting an Overview of Vue 343
Chapter 2: Introducing Vue Components 357
Chapter 3: Making Vue Templates 369
Chapter 4: Using Data and Reactivity 395
Chapter 5: Responding to Events 411
Book 5: Svelte 421
Chapter 1: Getting Started with Svelte 423
Chapter 2: Building with Components 437
Chapter 3: Designing Templates 451
Chapter 4: Using Directives 463
Chapter 5: Using the Component Lifecycle 471
Chapter 6: Advanced Svelte Reactivity 483
Book 6: Sharpening Your Tools 493
Chapter 1: Building from Scratch 495
Chapter 2: Optimizing and Bundling 513
Chapter 3: Testing Your JavaScript 535
Book 7: Node.js 557
Chapter 1: Node.js Fundamentals 559
Chapter 2: Streaming 587
Chapter 3: Working with Buffers 603
Chapter 4: Accessing the File System 613
Chapter 5: Networking with Node 627
Chapter 6: Using Events 639
Chapter 7: Error Handling and Debugging 651
Chapter 8: Accessing Databases 673
Chapter 9: Riding on the Express Train 697
Chapter 10: Registration and Authentication 721
Index 755