Buch-OWLOnline-Buchhandel

Learn Enough JavaScript to Be Dangerous: A Tutorial Introduction to Programming with JavaScript

von Michael Hartl

Einband
Kartoniert
Seiten
296
Sprache
Englisch
Erschienen
Mai 2022
Verlag
Pearson

Buchbeschreibung

All You Need to Know, and Nothing You Don't, to Write JavaScript for the Web and Beyond

Java

Script plays a key role in modern software development, not only because it is the only language that runs inside virtually all web browsers, but also because it has become widely used for back-end and general-purpose development as well. Although JavaScript is a big language, you don't need to learn "everything" about it to get started, just how to use it efficiently to solve real problems.

Ganze Beschreibung lesenWeniger anzeigen

In Learn Enough JavaScript to Be Dangerous, renowned instructor Michael Hartl teaches the specific concepts, skills, and approaches you need to be professionally productive.

Even if you've never programmed before, Hartl helps you quickly build technical sophistication and master the lore you need to succeed. Treating JavaScript as a general-purpose language right from the start, Hartl offers examples for creating dynamic effects in browsers and for writing scripts and modules using Node.js. Focused exercises help you internalize what matters, without wasting time on details pros don't care about.

Soon, it'll be like you were born knowing this stuff--and you'll be suddenly, seriously dangerous. Learn enough about … Rapidly deploying a simple JavaScript app to the live Web

Working with strings and other native JavaScript objects

Applying functions and elegant, powerful functional-programming techniques

Creating new objects with both properties and methods

Writing tests and improving code with test-driven development (TDD) Developing and using self-contained, modular NPM software packages Adding interactivity with event listeners, dynamic HTML forms, and DOM manipulation

Writing useful, nontrivial JavaScript shell scripts

Building an industrial-grade interactive website with JavaScript, from start to finish

Michael Hartl's Learn Enough series includes books and video courses that focus on the most important parts of each subject, so you don't have to learn everything to get started--you just have to learn enough to be dangerous and solve technical problems yourself. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Inhaltsverzeichnis

  • Preface xiii
  • About the Author xvii
  • Chapter 1: Hello, World!1
  • 1.1 Introduction to JavaScript5
  • 1.2 JS in a Web Browser7
  • 1.3 JS in a REPL14
  • 1.4 JS in a File21
  • 1.5 JS in a Shell Script22
Ganzes Inhaltsverzeichnis anzeigen (62 Einträge)Weniger anzeigen
  • Chapter 2: Strings25
  • 2.1 String Basics25
  • 2.2 Concatenation and Interpolation27
  • 2.3 Printing33
  • 2.4 Properties, Booleans, and Control Flow35
  • 2.5 Methods44
  • 2.6 String Iteration50
  • Chapter 3: Arrays55
  • 3.1 Splitting55
  • 3.2 Array Access56
  • 3.3 Array Slicing58
  • 3.4 More Array Methods59
  • 3.5 Array Iteration62
  • Chapter 4: Other Native Objects65
  • 4.1 Math and Number65
  • 4.2 Dates69
  • 4.3 Regular Expressions73
  • 4.4 Plain Objects81
  • 4.5 Application: Unique Words83
  • Chapter 5: Functions91
  • 5.1 Function Definitions91
  • 5.2 Functions in a File95
  • 5.3 Method Chaining104
  • 5.4 Iteration for Each110
  • Chapter 6: Functional Programming115
  • 6.1 Map116
  • 6.2 Filter122
  • 6.3 Reduce126
  • Chapter 7: Objects and Prototypes135
  • 7.1 Defining Objects135
  • 7.2 Prototypes139
  • 7.3 Modifying Native Objects147
  • Chapter 8: Testing and Test-Driven Development153
  • 8.1 Testing Setup154
  • 8.2 Initial Test Coverage159
  • 8.3 Red164
  • 8.4 Green172
  • 8.5 Refactor177
  • Chapter 9: Events and DOM Manipulation187
  • 9.1 A Working Palindrome Page187
  • 9.2 Event Listeners192
  • 9.3 Dynamic HTML202
  • 9.4 Form Handling205
  • Chapter 10: Shell Scripts with Node.js215
  • 10.1 Reading from Files216
  • 10.2 Reading from URLs218
  • 10.3 DOM Manipulation at the Command Line224
  • Chapter 11: Full Sample App: Image Gallery235
  • 11.1 Prepping the Gallery235
  • 11.2 Changing the Gallery Image242
  • 11.3 Setting an Image as Current250
  • 11.4 Changing the Image Info252
  • 11.5 Conclusion259
  • Index263

Details

Erscheinungstermin
Mai 2022
Kategorie
Fremdsprachige Bücher
Einband
Kartoniert
Seiten
296
Sprache
Englisch
Verlag
Pearson
Format
23,5 × 17,8 cm
Dicke
1,7 cm
Gewicht
519 g
EAN / ISBN-13
9780137843749
Maßstabsgetreu: Deckel und Buchrücken neben einer Hand (18 cm).

Über Michael Hartl

Michael Hartl created the legendary Ruby on Rails Tutorial that helped jumpstart thousands of web development careers. A cofounder and principal author at Learn Enough, Hartl previously earned a Ph. D.

Mehr über Michael HartlWeniger anzeigen

in physics at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is also an alumnus of Harvard University and the world-renowned Y Combinator entrepreneur program.

Versand und Rückgabe

Standardversand: 1 bis 3 Werktage, 3,99 €, kostenlos ab 35 €

Liefergebiet: Deutschland

Rücksendung: 14 Tage Widerrufsrecht. Bei einem Widerruf tragen Sie die Kosten der Rücksendung. Bei einer Falschlieferung oder einem Fehler von uns erstatten wir Ihnen das Rückporto. Den Widerruf erklären Sie über den Knopf „Vertrag widerrufen“ im Fuß der Seite.

Hersteller und ProduktsicherheitBooks on Demand GmbH
Books on Demand GmbH
Überseering 33
22297 Hamburg
Deutschland
info@bod.de

Mehr von Michael Hartl

Ähnliche Titel

Bewertungen

Zu diesem Titel gibt es noch keine Bewertung. Bewerten kann, wer ihn bei uns gekauft hat.

So prüfen wir Bewertungen
Eine Bewertung kann bei uns nur abgeben, wer den Titel über sein Kundenkonto bei uns gekauft hat. Jede Bewertung ist fest mit der zugehörigen Bestellung verknüpft; anders kommt sie technisch gar nicht zustande. Deshalb trägt jede angezeigte Bewertung den Hinweis „Verifizierter Kauf". Wir zeigen positive wie negative Bewertungen und löschen nur bei Rechtsverstößen. Für Bewertungen gibt es keine Gegenleistung.
37,49 €Voraussichtlich 1. bis 3. Dez.

Inhalte ab 18

Cover von Titeln für Erwachsene, etwa erotische Romane, Manga oder Comics, bleiben unscharf, bis Sie bestätigen. Die Bestätigung gilt für alle Seiten und Tabs, bis Sie den Browser schließen.

Zurück zum Katalog