E-Book, Englisch, 211 Seiten
Ferguson Beginning JavaScript
3rd ed
ISBN: 978-1-4842-4395-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
The Ultimate Guide to Modern JavaScript Development
E-Book, Englisch, 211 Seiten
ISBN: 978-1-4842-4395-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Discover everything you need to know to get up-to-speed with JavaScript development and add dynamic enhancements to web pages. This completely updated third edition reveals how the code works and when to use closures, constants, and execution content. Starting with the basics, you'll see how to employ prototypical inheritance, as well as memory management, variable hoisting and event bubbling. Also covered is an introduction to Node.js and package managers, key to understanding the tools necessary in front-end development and how they are used with current JavaScript frameworks. JavaScript is one of the most important technologies on the web, providing the means to add dynamic functionality to your web pages and serving as the backbone of working with frameworks like Angular and React. Beginning JavaScript, Third Edition will take you from being a JavaScript novice to working freely with this important technology - begin your JavaScript journey today! What You'll LearnConstruct good JavaScript syntax following modern coding practices
Use JavaScript to communicate with the server and retrieve data
Dynamically manipulate markup, validate forms and deal with images
Debug applications using features inside the browser
Use TypeScript to bring strong typing to the languageWho This Book Is For
Beginner to intermediate developers with a basic knowledge of front-end programming who are looking for a deeper understanding of how JavaScript works in the browser and how to answer questions in an interview.
Russ Ferguson is a freelance developer and instructor in the New York City area. He has worked with companies of all sizes, from startups to some of the largest organizations in the world.These companies have spanned multiple industries including, Cable Television, Book Publishing, Finance, and Advertising. He has worked on projects for companies like, Bank of America, General Mills, LG, Viacom and DC Comics.
Autoren/Hrsg.
Weitere Infos & Material
1;Table of Contents;5
2;About the Author;9
3;About the Technical Reviewer;10
4;Acknowledgments;11
5;Chapter 1: Introduction to JavaScript;12
5.1;The Why of JavaScript;13
5.2;What Is JavaScript?;13
5.3;JavaScript in a Web Page and Essential Syntax;14
5.3.1;JavaScript Syntax;15
5.3.2;Code Execution;16
5.4;Functions;18
5.5;Objects;19
5.6;Summary;21
6;Chapter 2: JavaScript and Development Tools;22
6.1;Tutorials and Resources;22
6.1.1;Integrated Development Environments;23
6.1.2;Node.js;25
6.1.3;Version Control Systems;28
6.2;Summary;35
7;Chapter 3: JavaScript Variables;36
7.1;Declaring Variables in JavaScript;36
7.2;Reassigning Variables in JavaScript;38
7.3;Variables That Can’t Be Reassigned;39
7.4;Variables That Can Only Be Used in a Single Code Block;40
7.5;Variable Hoisting;42
7.6;Strict Mode;44
7.7;Summary;45
8;Chapter 4: JavaScript Objects and Arrays;46
8.1;Host Object or Native Object;47
8.2;Explaining Objects;48
8.3;Introduction to the Document Object;48
8.4;Arrays and Stacks;50
8.5;Getting the Length of an Array;51
8.5.1;Using Loops and Filters;52
8.6;Summary;55
9;Chapter 5: JavaScript Functions and Context;56
9.1;Making a Function Declaration;56
9.2;Using Arrow Functions;58
9.3;How Does the Keyword this Work?;59
9.4;Using the call, apply, and bind Methods;62
9.5;Understanding Closures;64
9.6;Summary;67
10;Chapter 6: JavaScript and Events;68
10.1;Using preventDefault;71
10.2;Event Propagation;73
10.2.1;Creating Custom Events;76
10.3;Summary;77
11;Chapter 7: JavaScript and Programming Paradigms;79
11.1;Object-Oriented Programming with JavaScript;79
11.1.1;Children of the Atom;82
11.1.2;JavaScript Classes and Prototypical Inheritance;84
11.1.3;Functional Programming with JavaScript;86
11.1.4;Pure Functions;87
11.1.5;Side Effects/Shared State;88
11.1.6;Immutability;88
11.1.7;Declarative Over Imperative Code;89
11.2;Summary;90
12;Chapter 8: JavaScript and Debugging;92
12.1;The Console Panel;93
12.2;The Sources Panel;99
12.3;Summary;106
13;Chapter 9: JavaScript and Client-Side Development;107
13.1;What Exactly Is NodeJS?;107
13.2;Node on the Client Side;108
13.3;Using package.json for Your Project;109
13.4;Adding Libraries to package.json;111
13.5;Introduction to Module Bundlers (Webpack);114
13.6;Adding webpack-dev-server;118
13.7;Adding Babel.js;119
13.8;Adding HTML and CSS Loaders;121
13.9;Summary;126
14;Chapter 10: JavaScript and Server- Side Development;128
14.1;Basic Express Setup;129
14.2;Adding nodemon and Routes to the Express App;130
14.3;Creating Routes with NodeJS;131
14.4;Setting Up a Local Instance of MySQL;134
14.5;Returning Data from MySQL Using NodeJS;136
14.6;Summary;141
15;Chapter 11: JavaScript and Application Frameworks: Angular;142
15.1;Installing Angular;143
15.2;What Is TypeScript?;143
15.3;Developing an Angular Application;144
15.4;Angular’s Architecture;148
15.5;Creating an Angular Service;151
15.6;Updating Your Angular Service;154
15.7;Creating a Proxy for Your Local Angular Application;157
15.8;Adding Twitter Bootstrap to Your Angular Application;161
15.9;Creating a Simple Form in Angular and Style It with Bootstrap;163
15.10;Passing Information from Angular to Node;166
15.11;Summary;170
16;Chapter 12: JavaScript and Application Frameworks: React;171
16.1;Adding a Proxy and Retrieving Data;175
16.2;Creating, Updating, and Displaying State in a React Component;177
16.3;Adding Bootstrap to React;181
16.4;Posting Data from a React Application;182
16.5;Adding Strong Types to Your React Application;188
16.6;Adding Types to Your React Code;190
16.7;Summary;191
17;Chapter 13: JavaScript and Static Deployment;192
17.1;Developing an Angular Application and Connecting It to GitHub;192
17.2;Using the Angular Router;195
17.3;Using Angular Services;200
17.4;Deploying a Static Site to Netlify;204
17.5;Summary;206
18;Index;208




