Beginning JavaScript -  Russ Ferguson

Beginning JavaScript (eBook)

The Ultimate Guide to Modern JavaScript Development
eBook Download: PDF
2019 | 3. Auflage
XIII, 211 Seiten
Apress (Verlag)
978-1-4842-4395-4 (ISBN)
Systemvoraussetzungen
46,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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 Learn
  • Construct 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 language
Who 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.
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 practicesUse JavaScript to communicate with the server and retrieve dataDynamically manipulate markup, validate forms and deal with imagesDebug applications using features inside the browserUse 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.

Table of Contents 5
About the Author 9
About the Technical Reviewer 10
Acknowledgments 11
Chapter 1: Introduction to JavaScript 12
The Why of JavaScript 13
What Is JavaScript? 13
JavaScript in a Web Page and Essential Syntax 14
JavaScript Syntax 15
Code Execution 16
Functions 18
Objects 19
Summary 21
Chapter 2: JavaScript and Development Tools 22
Tutorials and Resources 22
Integrated Development Environments 23
Node.js 25
Version Control Systems 28
Summary 35
Chapter 3: JavaScript Variables 36
Declaring Variables in JavaScript 36
Reassigning Variables in JavaScript 38
Variables That Can’t Be Reassigned 39
Variables That Can Only Be Used in a Single Code Block 40
Variable Hoisting 42
Strict Mode 44
Summary 45
Chapter 4: JavaScript Objects and Arrays 46
Host Object or Native Object 47
Explaining Objects 48
Introduction to the Document Object 48
Arrays and Stacks 50
Getting the Length of an Array 51
Using Loops and Filters 52
Summary 55
Chapter 5: JavaScript Functions and Context 56
Making a Function Declaration 56
Using Arrow Functions 58
How Does the Keyword this Work? 59
Using the call, apply, and bind Methods 62
Understanding Closures 64
Summary 67
Chapter 6: JavaScript and Events 68
Using preventDefault 71
Event Propagation 73
Creating Custom Events 76
Summary 77
Chapter 7: JavaScript and  Programming Paradigms 79
Object-Oriented Programming with JavaScript 79
Children of the Atom 82
JavaScript Classes and Prototypical Inheritance 84
Functional Programming with JavaScript 86
Pure Functions 87
Side Effects/Shared State 88
Immutability 88
Declarative Over Imperative Code 89
Summary 90
Chapter 8: JavaScript and Debugging 92
The Console Panel 93
The Sources Panel 99
Summary 106
Chapter 9: JavaScript and  Client-Side Development 107
What Exactly Is NodeJS? 107
Node on the Client Side 108
Using package.json for Your Project 109
Adding Libraries to package.json 111
Introduction to Module Bundlers (Webpack) 114
Adding webpack-dev-server 118
Adding Babel.js 119
Adding HTML and CSS Loaders 121
Summary 126
Chapter 10: JavaScript and  Server- Side Development 128
Basic Express Setup 129
Adding nodemon and Routes to the Express App 130
Creating Routes with NodeJS 131
Setting Up a Local Instance of MySQL 134
Returning Data from MySQL Using NodeJS 136
Summary 141
Chapter 11: JavaScript and Application Frameworks: Angular 142
Installing Angular 143
What Is TypeScript? 143
Developing an Angular Application 144
Angular’s Architecture 148
Creating an Angular Service 151
Updating Your Angular Service 154
Creating a Proxy for Your Local Angular Application 157
Adding Twitter Bootstrap to Your Angular Application 161
Creating a Simple Form in Angular and Style It with Bootstrap 163
Passing Information from Angular to Node 166
Summary 170
Chapter 12: JavaScript and Application Frameworks: React 171
Adding a Proxy and Retrieving Data 175
Creating, Updating, and Displaying State in a React Component 177
Adding Bootstrap to React 181
Posting Data from a React Application 182
Adding Strong Types to Your React Application 188
Adding Types to Your React Code 190
Summary 191
Chapter 13: JavaScript and  Static Deployment 192
Developing an Angular Application and Connecting It to GitHub 192
Using the Angular Router 195
Using Angular Services 200
Deploying a Static Site to Netlify 204
Summary 206
Index 208

Erscheint lt. Verlag 2.5.2019
Zusatzinfo XIII, 206 p. 53 illus.
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Web / Internet
Schlagworte ES6 • Front-end Development • interview questions • JavaScript • JavaScript Frameworks • Nodejs • NPM • software development • TypeScript
ISBN-10 1-4842-4395-1 / 1484243951
ISBN-13 978-1-4842-4395-4 / 9781484243954
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 3,9 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Jürgen Sieben

eBook Download (2023)
Rheinwerk Computing (Verlag)
89,90
Eine kompakte Einführung

von Brendan Burns; Joe Beda; Kelsey Hightower; Lachlan Evenson

eBook Download (2023)
dpunkt (Verlag)
39,90