Node.js: das umfassende Handbuch
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | German |
Veröffentlicht: |
Bonn
Rheinwerk Verlag
2018
|
Ausgabe: | 3., aktualisierte und erweiterte Auflage |
Schriftenreihe: | Rheinwerk Computing
|
Schlagworte: | |
Online-Zugang: | Inhaltstext Inhaltsverzeichnis |
Beschreibung: | Titelzusatz auf dem Cover: Aktuell ab Version 10, professionelle, echtzeitfähige Anwendungen entwicklen ; Installation, Grundlagen, Best Practices ; Debugging, Skalierung, Qualitätssicherung |
Beschreibung: | 747 Seiten Illustrationen 24 cm x 16.8 cm |
ISBN: | 9783836262552 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV045168914 | ||
003 | DE-604 | ||
005 | 20191104 | ||
007 | t | ||
008 | 180906s2018 gw a||| |||| 00||| ger d | ||
015 | |a 18,N23 |2 dnb | ||
016 | 7 | |a 1160197067 |2 DE-101 | |
020 | |a 9783836262552 |c : EUR 39.90 (DE), EUR 41.10 (AT), CHF 49.90 (freier Preis) |9 978-3-8362-6255-2 | ||
024 | 3 | |a 9783836262552 | |
028 | 5 | 2 | |a Bestellnummer: 459/06255 |
035 | |a (OCoLC)1053830011 | ||
035 | |a (DE-599)DNB1160197067 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a ger | |
044 | |a gw |c XA-DE-NW | ||
049 | |a DE-473 |a DE-523 |a DE-M347 |a DE-91G |a DE-861 |a DE-B768 |a DE-92 |a DE-859 |a DE-29T | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
084 | |a DAT 362f |2 stub | ||
084 | |a DAT 332f |2 stub | ||
100 | 1 | |a Springer, Sebastian |e Verfasser |0 (DE-588)1041590202 |4 aut | |
245 | 1 | 0 | |a Node.js |b das umfassende Handbuch |c Sebastian Springer |
250 | |a 3., aktualisierte und erweiterte Auflage | ||
264 | 1 | |a Bonn |b Rheinwerk Verlag |c 2018 | |
300 | |a 747 Seiten |b Illustrationen |c 24 cm x 16.8 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Rheinwerk Computing | |
500 | |a Titelzusatz auf dem Cover: Aktuell ab Version 10, professionelle, echtzeitfähige Anwendungen entwicklen ; Installation, Grundlagen, Best Practices ; Debugging, Skalierung, Qualitätssicherung | ||
650 | 0 | 7 | |a Node.js |0 (DE-588)1027030742 |2 gnd |9 rswk-swf |
653 | |a Node.js | ||
653 | |a JavaScript | ||
653 | |a jQuery | ||
653 | |a Webserver | ||
653 | |a Websockets | ||
653 | |a Webapplikationen | ||
653 | |a Webentwicklung | ||
653 | |a Webprogrammierung | ||
653 | |a Programmierung | ||
653 | |a PHP | ||
653 | |a Node.js | ||
653 | |a Node.js Framework | ||
653 | |a Node.js lernen | ||
653 | |a Debugging | ||
653 | |a Skalierung | ||
653 | |a node express | ||
653 | |a Applikationsentwicklung | ||
653 | |a Node Package Manager | ||
689 | 0 | 0 | |a Node.js |0 (DE-588)1027030742 |D s |
689 | 0 | |5 DE-604 | |
710 | 2 | |a Galileo Press |0 (DE-588)1065964404 |4 pbl | |
780 | 0 | 0 | |i Vorangegangen ist |z 978-3-836-24003-1 |
856 | 4 | 2 | |m X:MVB |q text/html |u http://deposit.dnb.de/cgi-bin/dokserv?id=a3ba6beb71a843c388fe3ce7441e6dbb&prov=M&dok_var=1&dok_ext=htm |3 Inhaltstext |
856 | 4 | 2 | |m DNB Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030558250&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-030558250 |
Datensatz im Suchindex
_version_ | 1811259908075552768 |
---|---|
adam_text |
INHALT
MATERIALIEN ZUM
BUCH.
21
G ELEITW
ORT.
23
V O RW O
RT.
25
1 GRUNDLAGEN
29
1.1 DIE GESCHICHTE VON NODE.JS
.
31
1.1.1 DIE
URSPRUENGE.
31
1.1.2 DIE GEBURT VON NODE.JS
.
32
1.1.3 DER DURCHBRUCH VON
NODE.JS.
33
1.1.4 NODE.JS EROBERT W
INDOWS.
34
1.1.5 IO.JS - DER FORK VON NODE.JS
.
34
1.1.6 NODE.JS WIEDER VE RE IN
T.
35
1.2 DIE ORGANISATION VON
NODE.JS.
35
1.2.1 DAS TECHNICAL STEERING COM M
ITTEE. 35
1.2.2
COLLABORATORS.
35
1.2.3 DAS COMMUNITY COM M
ITTEE. 36
1.2.4
ARBEITSGRUPPEN.
36
1.2.5 DIE NODE.JS FOUNDATION
.
36
1.3 VERSIONIERUNG VON
NODE.JS.
37
1.3.1
LTS-RELEASES.
37
1.4 VORTEILE VON
NODE.JS.
38
1.5 EINSATZGEBIETE VON NODE.JS
.
39
1.6 DAS HERZSTUECK
- DIE V8-ENGINE
.
40
1.6.1 DAS
SPEICHERMODELL.
41
1.6.2 ZUGRIFF AUF EIGENSCHAFTEN
. 41
1.6.3
MASCHINENCODEGENERIERUNG.
44
1.6.4 GARBAGE
COLLECTION.
45
1.7 BIBLIOTHEKEN UM DIE ENGINE
.
47
1.7.1
EVENT-LOOP.
48
1.7.2 EINGABE UND
AUSGABE.
49
1.7.3 LIB U V
.
50
1.7.4
DNS.
51
1.7.5
CRYPTO.
52
1.7.6 ZLIB
.
52
1.7.7
HTTP-PARSER.
53
1.8
ZUSAMMENFASSUNG.
53
2 INSTALLATION
55
2.1 INSTALLATION VON
PAKETEN.
56
2.1.1 L
INUX.
57
2.1.2 W INDOW
S.
61
2.1.3
MACOS.
65
2.2 KOMPILIEREN UND
INSTALLIEREN.
70
2.3 NODE VERSION M
ANAGER.
73
2.4
ZUSAMMENFASSUNG.
74
3 EIN ERSTES BEISPIEL
75
3.1 DER INTERAKTIVE M
ODUS.
75
3.1.1 GENERELLE
BENUTZUNG.
76
3.1.2 WEITERE
REPL-BEFEHLE.
77
3.1.3 SPEICHERN UND LADEN IM REPL
.
79
3.1.4 KONTEXT DES
REPL.
79
3.1.5 REPL-HISTORIE
.
80
3.1.6 REPL-MODUS
.
80
3.2 DIE ERSTE
APPLIKATION.
81
3.2.1 EIN WEBSERVER IN
NODE.JS.
81
3.2.2 ERWEITERUNG DES WEBSERVERS
.
85
3.2.3 ERSTELLEN EINER
HTML-ANTWORT.
87
3.2.4 DYNAMISCHE ANTWORTEN GENERIEREN
.
88
3.3 DEBUGGEN VON NODE.JS-APPLIKATIONEN
.
90
3.3.1 NAVIGATION IM
DEBUGGER.
92
3.3.2 INFORMATIONEN IM
DEBUGGER.
93
3.3.3
BREAKPOINTS.
95
3.3.4 DEBUGGEN M IT DEN CHROME DEVELOPER TOO LS
.
98
3.3.5 DEBUGGING IN DER
ENTWICKLUNGSUMGEBUNG. 100
3.4 ENTWICKLUNGSWERKZEUG NODEMON
.
101
3.5
ZUSAMMENFASSUNG.
102
4 NODE.JS-MODULE
IO B
4.1 MODULARER A U FB AU
.
103
4.2
KERNMODULE.
105
4.2.1 S
TABILITAET.
106
4.2.2 LISTE DER
KERNMODULE.
108
4.2.3 GLOBALE O
BJEKTE.
110
4.3
JAVASCRIPT-MODULSYSTEME.
117
4.3.1 COMMONJS
.
118
4.3.2 ECMASCRIPT-MODULE
.
119
4.4 EIGENE MODULE ERZEUGEN UND VERWENDEN
.
121
4.4.1 MODULE IN
NODE.JS.
122
4.4.2 EIGENE NODE.JS-MODULE
.
123
4.4.3 VERSCHIEDENE DATENTYPEN EXPORTIEREN
.
125
4.4.4 DAS MODULES-MODUL
.
127
4.4.5 DER M ODULLOADER
.
128
4.4.6 DIE
REQUIRE-FUNKTIONALITAET.
131
4.5
ZUSAMMENFASSUNG.
133
5 HTTP
ISS
5.1 DER WEBSERVER
.
135
5.1.1 DAS SERVER-OBJEKT
.
135
5.1.2
SERVER-EVENTS.
140
5.1.3 DAS
REQUEST-OBJEKT.
142
5.1.4 UMGANG M IT DEM REQUEST-BODY (UPDATE)
.
148
5.1.5 AUSLIEFERN VON STATISCHEN INHALTEN
.
153
5.1.6 DATEIUPLOAD
.
154
5.2 NODE.JS ALS
HTTP-CLIENT.
157
5.2.1 REQUESTS M IT DEM HTTP-MODUL
.
157
5.2.2 DAS REQUEST-PAKET
.
158
5.2.3
HTML-PARSER.
160
5.3 SICHERE KOMMUNIKATION MIT
HTTPS. 161
5.3.1 ZERTIFIKATE
ERSTELLEN.
161
5.3.2 HTTPS IM WEBSERVER VERWENDEN
.
162
5.4 HTTP/2
.
163
5.4.1 DER
HTTP/2-SERVER.
164
5.4.2 SERVER-PUSH
.
166
5.4.3 DER HTTP/2-CLIENT
.
.
.
168
5.5
ZUSAMMENFASSUNG.
170
6 EXPRESS M
6.1
AUFBAU.
171
6.2
INSTALLATION.
172
6.3
GRUNDLAGEN.
174
6.3.1
REQUEST.
174
6.3.2
RESPONSE.
175
6.4
SETUP.
176
6.4.1 STRUKTUR EINER APPLIKATION
. 176
6.5
MOVIEDATENBANK.
179
6.5.1 R
OUTING.
180
6.5.2
CONTROLLER.
183
6.5.3 MODEL
.
184
6.5.4 V IE W
.
185
6.6 M
IDDLEWARE.
187
6.6.1 EIGENE
MIDDLEWARE.
187
6.6.2 M
ORGAN.
189
6.6.3 STATISCHE INHALTE
AUSLIEFERN.
190
6.7 ERWEITERTES ROUTING
- LOESCHEN VON DATENSAETZEN
.
192
6.8 ANLEGEN UND BEARBEITEN VON DATENSAETZEN - BODY-PARSER
.
195
6.8.1 UMGANG MIT FORMULAREINGABEN -
BODY-PARSER. 199
6.9 EXPRESS 5
.
202
6.10 HTTPS UND
HTTP/2.
203
6.10.1
HTTPS.
203
6.10.2
HTTP/2.
204
6.11
ZUSAMMENFASSUNG.
205
7.1 EINE EIGENE
TEMPLATE-ENGINE.
208
7.2 TEMPLATE-ENGINES IN DER PRAXIS - P U G
. 210
7.2.1 INSTALLATION
.
210
7.2.2 PUG UND EXPRESS.JS - INTEGRATION
.
210
7.2.3 VARIABLEN IN P U G
.
214
7.2.4 DIE BESONDERHEITEN VON
PUG. 215
7.2.5 BEDINGUNGEN UND SCHLEIFEN
. 216
7.2.6 EXTENDS UND
INCLUDES.
218
7.2.7 MIXINS
.
221
7.2.8 PUG UNABHAENGIG VON EXPRESS
VERWENDEN. 223
7.2.9 C OM
PILING.
223
7.3
HANDLEBARS.
225
7.3.1 INSTALLATION
.
225
7.3.2 INTEGRATION IN
EXPRESS.JS.
225
7.3.3 BEDINGUNGEN UND
SCHLEIFEN.
228
7.3.4
PARTIAIS.
229
7.3.5 EIGENE H
ELPER.
231
7.3.6 HANDLEBARS OHNE
EXPRESS.
233
7.4 ZUSAMMENFASSUNG UND
AUSBLICK.
234
8 ANBINDUNG VON DATENBANKEN
237
8.1 NODE.JS UND RELATIONALE
DATENBANKEN.
238
8.1.1
MYSQL.
238
8.1.2
SQLITE.
252
8.1.3 ORM
.
259
8.2 NODE.JS UND NICHT RELATIONALE
DATENBANKEN. 261
8.2.1
REDIS.
261
8.2.2
MONGODB.
267
8.3
ZUSAMMENFASSUNG.
276
9 AUTHENTIFIZIERUNG UND SESSIONHANDLING IN
9.1
PASSPORT.
277
9.2 SETUP UND
KONFIGURATION.
278
9.2.1
INSTALLATION.
278
9.2.2
KONFIGURATION.
278
9.2.3 KONFIGURATION DER
STRATEGY.
280
9.3 ANMELDUNG AN DER APPLIKATION
.
281
9.3.1 ANM ELDEFORM
ULAR.
282
9.3.2 ABSICHERUNG VON RESSOURCEN
.
284
9.3.3 ABMELDEN
.
285
9.3.4 ANBINDUNG AN DIE DATENBANK
.
286
9.4 ZUGRIFF AUF
RESSOURCEN.
289
9.4.1
ZUGRIFFSBESCHRAENKUNG.
290
9.4.2 BEWERTUNGEN
ABGEBEN.
295
9.5
ZUSAMMENFASSUNG.
300
10 REST-SERVER
301
10.1 REST - EINE KURZE EINFUEHRUNG UND WIE ES IN WEBAPPLIKATIONEN
VERWENDET W IRD
.
301
10.2 ZUGRIFF AUF DIE
APPLIKATION.
302
10.2.1 POSTM
AN.
302
10.2.2
CURL.
303
10.3 ANPASSUNGEN AN DER APPLIKATIONSSTRUKTUR
.
303
10.4 LESENDE
ANFRAGEN.
304
10.4.1 ALLE DATENSAETZE EINER RESSOURCE AUSLESEN
.
305
10.4.2 ZUGRIFF AUF EINEN
DATENSATZ.
307
10.4.3
FEHLERBEHANDLUNG.
309
10.4.4 SORTIEREN DER
LISTE.
310
10.4.5 STEUERN DES
AUSGABEFORMATS.
313
10.5 SCHREIBENDE
ANFRAGEN.
315
10.5.1 POST - ERSTELLEN VON NEUEN
DATENSAETZEN. 315
10.5.2 PUT-BESTEHENDE DATENSAETZE MODIFIZIEREN
.
319
10.5.3 DELETE - DATENSAETZE LOESCHEN
.
322
10.6 AUTHENTIFIZIERUNG MIT JW T
.
323
10.6.1
ANMELDUNG.
324
10.6.2 ABSICHERN VON
RESSOURCEN.
326
10.6.3 ZUGRIFF AUF BENUTZERINFORMATIONEN IM TOKEN
.
327
10.7
SWAGGER.
328
10.8
GRAPHQL.
333
10.8.1 INTEGRATION IN
EXPRESS.
333
10.9
ZUSAMMENFASSUNG.
338
11 ECHTZEIT-WEBAPPLIKATIONEN
339
11.1 DIE
BEISPIELAPPLIKATION.
340
11.2
SETUP.
341
11.3
WEBSOCKETS.
347
11.3.1 DIE SERVERSEITE
.
348
11.3.2 DIE
CLIENTSEITE.
352
11.3.3
USER-LISTE.
354
11.3.4
LOGOUT.
358
11.4
SOCKET.LO.
362
11.4.1 INSTALLATION UND
EINBINDUNG.
362
11.4.2 SOCKET.LO-API
.
364
11.5
ZUSAMMENFASSUNG.
367
12 NODE AUF DER KOMMANDOZEILE 369
12.1
GRUNDLAGEN.
369
12.1.1 A U FB AU
.
370
12.1.2 AUSFUEHRBARKEIT
.
371
12.2 DER AUFBAU EINER
KOMMANDOZEILENAPPLIKATION. 372
12.2.1 DATEI UND VERZEICHNISSTRUKTUR
.
372
12.2.2 PAKETDEFINITION
.
373
12.2.3 DIE MATHE-TRAINER-APPLIKATION
.
374
12.3 ZUGRIFF AUF EIN- UND AUSGABE
.
377
12.3.1
AUSGABE.
378
12.3.2
EINGABE.
379
N
12.3.3 BENUTZERINTERAKTION MIT DEM
READLINE-MODUL. 380
12.3.4 OPTIONEN UND ARGUM ENTE
.
384
12.4 W
ERKZEUGE.
387
12.4.1
COMMANDER.
387
12.4.2
CHALK.
389
12.4.3 NODE-EM
OJI.
391
12.5 SIGNALE
.
394
12.6 EXIT
CODES.
396
12.7
ZUSAMMENFASSUNG.
398
13 ASYNCHRONE PROGRAMMIERUNG
399
13.1 GRUNDLAGEN ASYNCHRONER
PROGRAMMIERUNG. 399
13.1.1 DAS CHILD_PROCESS-MODUL
. 402
13.2 EXTERNE KOMMANDOS ASYNCHRON
AUSFUEHREN. 404
13.2.1 DIE
EXEC-METHODE.
404
13.2.2 DIE SPAWN-METHODE
.
407
13.3 NODE.JS-KINDPROZESSE ERZEUGEN MIT
FORK. 410
13.4 DAS
CLUSTER-MODUL.
414
13.4.1 DER
MASTERPROZESS.
415
13.4.2 DIE WORKERPROZESSE
.
419
13.5 PROMISES IN
NODE.JS.
423
13.5.1 VERKETTUNG VON
PROMISES.
426
13.5.2 MEHRERE PARALLELE OPERATIONEN M IT PROMISE.ALL
.
427
13.5.3 DIE SCHNELLSTE ASYNCHRONE OPERATION M IT PROMISE.RACE
.
428
13.6 ASYNC
FUNCTIONS.
429
13.7
ZUSAMMENFASSUNG.
430
14 RXJS
433
14.1
GRUNDLAGEN.
434
14.1.1 OBSERVABLE
.
435
14.1.2
OBSERVER.
436
14.1.3
OPERATOR.
438
14.1.4 BEISPIEL FUER RXJS IN
NODE.
438
14.2
OPERATOREN.
440
14.2.1 ERSTELLENDE
OPERATOREN.
442
14.2.2 TRANSFORMIERENDE OPERATOREN
.
444
14.2.3
FILTEROPERATOREN.
447
14.2.4 KOMBINIERENDE OPERATOREN
. 450
14.2.5 OPERATOREN ZUR
FEHLERBEHANDLUNG.
451
14.2.6
HILFSOPERATOREN.
453
14.2.7
BEDINGUNGSOPERATOREN.
454
14.2.8 VERBINDUNGSOPERATOREN
.
455
14.2.9 KONVERTIERUNGSOPERATOR
.
456
14.3 SUBJECTS
.
456
14.4
SCHEDULER.
458
14.5 ZUSAMMENFASSUNG
.
459
15 STREAMS 46I
15.1
EINLEITUNG.
461
15.1.1 WAS IST EIN
STREAM?.
461
15.1.2 WOZU VERWENDET MAN
STREAMS?. 462
15.1.3 WELCHE STREAMS GIBT ES?
.
463
15.1.4 STREAMVERSIONEN IN NODE.JS
. 463
15.1.5 STREAMS SIND EVENTEMITTER
.
464
15.2 READABLE
STREAMS.
464
15.2.1 EINEN READABLE STREAM ERSTELLEN
.
465
15.2.2 DIE
READABLE-STREAM-SCHNITTSTELLE.
466
15.2.3 DIE EVENTS EINES READABLE
STREAMS. 467
15.2.4 FEHLERBEHANDLUNG IN READABLE STREAMS
.
468
15.2.5 M
ETHODEN.
469
15.2.6 P
IPING.
470
15.2.7
READABLE-STREAM-MODI.
470
15.2.8 WECHSEL IN DEN FLOWING M ODE
.
471
15.2.9 WECHSEL IN DEN PAUSED M
ODE. 471
15.2.10 EIGENE READABLE
STREAMS.
472
15.2.11 BEISPIEL FUER EINEN READABLE STREAM
. 472
15.2.12
READABLE-SHORTCUT.
475
15.3 WRITABLE STREAM
S.
476
15.3.1 EINEN WRITABLE STREAM ERSTELLEN
.
477
15.3.2
EVENTS.
477
15.3.3 FEHLERBEHANDLUNG IN WRITABLE STREAMS
.
479
15.3.4 M
ETHODEN.
479
15.3.5 SCHREIBOPERATIONEN P UFFERN
. 480
15.3.6
FLUSSSTEUERUNG.
481
15.3.7 EIGENE WRITABLE
STREAMS.
482
15.3.8
WRITABLE-SHORTCUT.
483
15.4
DUPLEX-STREAMS.
484
15.4.1 DUPLEX-STREAMS IM
EINSATZ.
484
15.4.2 EIGENE DUPLEX-STREAMS
.
484
15.4.3
DUPLEX-SHORTCUT.
485
15.5
TRANSFORM-STREAMS.
486
15.5.1 EIGENE TRANSFORM-STREAMS
.
486
15.5.2 TRANSFORM-SHORTCUT
.
487
15.6 G U LP
.
488
15.6.1
INSTALLATION.
488
15.6.2 BEISPIEL FUER EINEN BUILD-PROZESS M IT G
ULP. 488
15.7
ZUSAMMENFASSUNG.
490
16 ARBEITEN MIT DATEIEN
491
16.1 SYNCHRONE UND ASYNCHRONE FUNKTIONEN
.
491
16.2 EXISTENZ VON D
ATEIEN.
493
16.3 DATEIEN
LESEN.
494
16.3.1 DIE PROMISEBASIERTE API
.
499
16.4
FEHLERBEHANDLUNG.
499
16.5 IN DATEIEN
SCHREIBEN.
500
16.6
VERZEICHNISOPERATIONEN.
504
16.7 WEITERFUEHRENDE
OPERATIONEN.
507
16.7.1
WATCH.
509
16.7.2 ZUGRIFFSBERECHTIGUNGEN
.
510
16.8
ZUSAMMENFASSUNG.
512
17.1
UNIX-SOCKETS.
514
17.1.1 ZUGRIFF AUF DEN
SOCKET.
516
17.1.2 BIDIREKTIONALE KOM
MUNIKATION.
518
17.2 WINDOWS
PIPES.
521
17.3
TCP-SOCKETS.
522
17.3.1
DATENUEBERTRAGUNG.
524
17.3.2
DATEIUEBERTRAGUNG.
525
17.3.3 FLUSSSTEUERUNG
.
527
17.3.4
DUPLEX.
528
17.3.5 PIPE
.
529
17.4
UDP-SOCKETS.
530
17.4.1 GRUNDLAGEN EINES
UDP-SERVERS.
531
17.4.2 BEISPIEL ZUM
UDP-SERVER.
532
17.5
ZUSAMMENFASSUNG.
534
18 PACKAGE MANAGER
535
18.1 DIE HAEUFIGSTEN OPERATIONEN
.
536
18.1.1 PAKETE
SUCHEN.
536
18.1.2 PAKETE
INSTALLIEREN.
537
18.1.3 INSTALLIERTE PAKETE
ANZEIGEN.
541
18.1.4 PAKETE
VERWENDEN.
542
18.1.5 PAKETE
AKTUALISIEREN.
543
18.1.6 PAKETE
ENTFERNEN.
545
18.1.7 DIE WICHTIGSTEN KOMMANDOS IM UEBERBLICK
.
546
18.2 WEITERFUEHRENDE
OPERATIONEN.
547
18.2.1 DER AUFBAU EINES M
ODULS.
547
18.2.2 EIGENE PAKETE
ERSTELLEN.
550
18.2.3 NPM SCRIPTS
.
552
18.3 WERKZEUGE FUER N P M
.
554
18.3.1 NODE LICENSE
FINDER.
554
18.3.2
SINOPIA.
555
18.3.3
NPM-CHECK-UPDATES.
556
18.3.4
NPX.
557
18.4 Y A RN
.
557
18.5
ZUSAMMENFASSUNG.
558
19 QUALITAETSSICHERUNG
SEI
19.1
STYLEGUIDES.
562
19.1.1 DER
AIRBNB-STYLEGUIDE.
562
19.2 U N TE
R.
563
19.2.1
ESLINT.
564
19.3
PRETTIER.
568
19.3.1
INSTALLATION.
568
19.3.2
AUSFUEHRUNG.
568
19.4 PMD C PD
.
569
19.4.1
INSTALLATION.
570
19.4.2
AUSFUEHRUNG.
571
19.5 P LATO
.
572
19.5.1
INSTALLATION.
572
19.5.2
AUSFUEHRUNG.
572
19.6
ZUSAMMENFASSUNG.
574
20 TESTING
575
20.1
UNITTESTING.
575
20.1.1
VERZEICHNISSTRUKTUR.
576
20.1.2 UNITTESTS UND
NODE.JS.
577
20.1.3
TRIPLE-A.
577
20.2 ASSERTION
TESTING.
578
20.2.1
EXCEPTIONS.
581
20.2.2 PROMISES TE S TE N
.
582
20.3
JASMINE.
584
20.3.1
INSTALLATION.
585
20.3.2
KONFIGURATION.
585
20.3.3 TESTS IN
JASMINE.
586
20.3.4
ASSERTIONS.
588
20.3.5
SPYS.
591
20.3.6 BEFOREEACH UND AFTEREACH
.
592
20.4
NODEUNIT.
592
20.4.1
INSTALLATION.
592
20.4.2 EIN ERSTER
TEST.
593
20.4.3
ASSERTIONS.
595
20.4.4 G
RUPPIERUNG.
595
20.4.5 SETLLP UND
TEARDOWN.
596
20.5 PRAKTISCHES BEISPIEL VON UNITTESTS MIT NODEUNIT
.
597
20.5.1 DER T E S T
.
598
20.5.2 DIE IM
PLEMENTIERUNG.
599
20.5.3 DER ZWEITE T E S
T.
600
20.5.4 VERBESSERUNG DER IMPLEMENTIERUNG
.
601
20.6
ZUSAMMENFASSUNG.
602
21 SICHERHEITSASPEKTE EOS
21.1 FILTER INPUT UND ESCAPE OUTPUT
.
606
21.1.1 FILTER IN P U T
.
606
21.1.2 BLACK- UND W
HITELISTING.
606
21.1.3 ESCAPE O U TP U T
.
607
21.2 ABSICHERUNG DES
SERVERS.
609
21.2.1 BENUTZERBERECHTIGUNGEN
. 609
21.2.2 SINGLE-THREADED-ANSATZ
.
610
21.2.3 DENIAL OF
SERVICE.
613
21.2.4 REGULAERE
AUSDRUECKE.
614
21.2.5
HTTP-HEADER.
616
21.2.6
FEHLERMELDUNGEN.
618
21.2.7
SQL-INJECTIONS.
619
21.2.8
EVAL.
621
21.2.9 METHOD
INVOCATION.
623
21.2.10 UEBERSCHREIBEN VON
BUILT-INS.
625
21.3
NPM-SICHERHEIT.
627
21.3.1
BERECHTIGUNGEN.
627
21.3.2 NODE SECURITY PLATFORM
.
628
21.3.3
QUALITAETSASPEKT.
629
21.3.4 NPM SCRIPTS
.
630
21.4 SCHUTZ DES CLIENTS
.
631
21.4.1 CROSS-SITE-SCRIPTING
.
632
21.4.2
CROSS-SITE-REQUEST-FORGERY.
633
21.5
ZUSAMMENFASSUNG.
635
22 SKALIERBARKEIT UND DEPLOYMENT 6Z?
22.1
DEPLOYMENT.
637
22.1.1 EINFACHES DEPLOYM ENT
.
638
22.1.2 DATEISYNCHRONISIERUNG M IT RSYNC
.
640
22.1.3 DIE APPLIKATION ALS D IENST
.
641
22.1.4 NODE_MODULES BEIM DEPLOYMENT
.
643
22.1.5 APPLIKATIONEN M IT DEM NODE PACKAGE MANAGER INSTALLIEREN
.
644
22.1.6 PAKETE LOKAL
INSTALLIEREN.
645
22.2
TOOLUNTERSTUETZUNG.
646
22.2.1 G RUE N
T.
646
22.2.2 G U LP
.
654
22.2.3 N PM
.
654
22.3
SKALIERUNG.
654
22.3.1
KINDPROZESSE.
656
22.3.2 LOADBALANCER
.
659
22.3.3 NODE IN DER CLOUD
.
662
22.4 PM2 -
PROZESSMANAGEMENT.
664
22.5
DOCKER.
665
22.5.1 DAS
DOCKERFILE.
665
22.5.2 CONTAINER
STARTEN.
666
22.6
ZUSAMMENFASSUNG.
667
23 MICROSERVICES MIT NODE.JS 669
23.1
GRUNDLAGEN.
669
23.1.1 MONOLITHISCHE ARCHITEKTUR
.
669
23.1.2
MICROSERVICE-ARCHITEKTUR.
671
23.2
ARCHITEKTUR.
672
23.2.1 KOMMUNIKATION ZWISCHEN DEN EINZELNEN SERVICES
.
673
23.3 DIE
INFRASTRUKTUR.
674
23.3.1 DOCKER
COMPOSE.
675
23.4
SENECA.
676
23.4.1 INSTALLATION UND
SETUP.
676
23.4.2 MUSTER IN
SENECA.
677
23.4.3
DATENBANK-ANBINDUNG.
679
23.4.4
SENECA-PLUGINS.
680
23.4.5
TRANSPORTS.
681
23.4.6 KOMMUNIKATION UEBER EINE
MESSAGE-QUEUE. 682
23.4.7 DOCKER
SETUP.
683
23.5
API-GATEWAY.
685
23.5.1 ANBINDUNG DES
USER-SERVICES.
685
23.5.2 ASYNCHRONE KOMMUNIKATION MIT DEM USER-SERVICE
.
687
23.5.3 AUTHENTIFIZIERUNG
.
689
23.5.4 DOCKER SETUP DES
API-GATEWAYS.
691
23.6
EXPRESS.
693
23.6.1 S
ETUP.
694
23.6.2
CONTROLLER.
694
23.6.3
MODEL-IMPLEMENTIERUNG.
695
23.6.4
DOCKER-SETUP.
697
23.6.5 EINBINDUNG INS
API-GATEWAY.
699
23.7
ZUSAMMENFASSUNG.
703
24 TYPSICHERE APPLIKATIONEN IN NODE.JS
705
24.1 TYPSYSTEME FUER
NODE.JS.
706
24.1.1 F LO W
.
706
24.1.2
TYPESCRIPT.
709
24.2 WERKZEUGE UND KONFIGURATION
.
710
24.2.1 KONFIGURATION DES
TYPESCRIPT-COMPILERS. 711
24.2.2 INTEGRATION IN DIE
ENTWICKLUNGSUMGEBUNG. 712
24.2.3
TSLINT.
712
24.2.4
TS-NODE.
713
24.3
GRUNDLAGEN.
714
24.3.1
DATENTYPEN.
715
24.3.2
FUNKTIONEN.
717
24.3.3 M
ODULE.
718
24.4
KLASSEN.
720
24.4.1 M
ETHODEN.
721
24.4.2
ZUGRIFFSMODIFIKATOREN.
722
24.4.3
VERERBUNG.
722
24.5
INTERFACES.
723
24.6
GENERICS.
724
24.7 TYPESCRIPT IM EINSATZ IN EINER NODE.JS-APPLIKATION
.
726
24.7.1 TYPEDEFINITIONS
.
726
24.7.2 EIGENE TYPEDEFINITIONS
ERZEUGEN. 726
24.7.3 BEISPIEL EINER
EXPRESS-APPLIKATION.
727
24.8
ZUSAMMENFASSUNG.
728
INDEX.
729 |
any_adam_object | 1 |
author | Springer, Sebastian |
author_GND | (DE-588)1041590202 |
author_facet | Springer, Sebastian |
author_role | aut |
author_sort | Springer, Sebastian |
author_variant | s s ss |
building | Verbundindex |
bvnumber | BV045168914 |
classification_rvk | ST 250 ST 253 |
classification_tum | DAT 362f DAT 332f |
ctrlnum | (OCoLC)1053830011 (DE-599)DNB1160197067 |
discipline | Informatik |
edition | 3., aktualisierte und erweiterte Auflage |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV045168914</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20191104</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">180906s2018 gw a||| |||| 00||| ger d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">18,N23</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">1160197067</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9783836262552</subfield><subfield code="c">: EUR 39.90 (DE), EUR 41.10 (AT), CHF 49.90 (freier Preis)</subfield><subfield code="9">978-3-8362-6255-2</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9783836262552</subfield></datafield><datafield tag="028" ind1="5" ind2="2"><subfield code="a">Bestellnummer: 459/06255</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1053830011</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB1160197067</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">ger</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">gw</subfield><subfield code="c">XA-DE-NW</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-473</subfield><subfield code="a">DE-523</subfield><subfield code="a">DE-M347</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-861</subfield><subfield code="a">DE-B768</subfield><subfield code="a">DE-92</subfield><subfield code="a">DE-859</subfield><subfield code="a">DE-29T</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 362f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 332f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Springer, Sebastian</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1041590202</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Node.js</subfield><subfield code="b">das umfassende Handbuch</subfield><subfield code="c">Sebastian Springer</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">3., aktualisierte und erweiterte Auflage</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Bonn</subfield><subfield code="b">Rheinwerk Verlag</subfield><subfield code="c">2018</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">747 Seiten</subfield><subfield code="b">Illustrationen</subfield><subfield code="c">24 cm x 16.8 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Rheinwerk Computing</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Titelzusatz auf dem Cover: Aktuell ab Version 10, professionelle, echtzeitfähige Anwendungen entwicklen ; Installation, Grundlagen, Best Practices ; Debugging, Skalierung, Qualitätssicherung</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Node.js</subfield><subfield code="0">(DE-588)1027030742</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Node.js</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">JavaScript</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">jQuery</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Webserver</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Websockets</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Webapplikationen</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Webentwicklung</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Webprogrammierung</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Programmierung</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">PHP</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Node.js</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Node.js Framework</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Node.js lernen</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Debugging</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Skalierung</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">node express</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Applikationsentwicklung</subfield></datafield><datafield tag="653" ind1=" " ind2=" "><subfield code="a">Node Package Manager</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Node.js</subfield><subfield code="0">(DE-588)1027030742</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="710" ind1="2" ind2=" "><subfield code="a">Galileo Press</subfield><subfield code="0">(DE-588)1065964404</subfield><subfield code="4">pbl</subfield></datafield><datafield tag="780" ind1="0" ind2="0"><subfield code="i">Vorangegangen ist</subfield><subfield code="z">978-3-836-24003-1</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">X:MVB</subfield><subfield code="q">text/html</subfield><subfield code="u">http://deposit.dnb.de/cgi-bin/dokserv?id=a3ba6beb71a843c388fe3ce7441e6dbb&prov=M&dok_var=1&dok_ext=htm</subfield><subfield code="3">Inhaltstext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">DNB Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030558250&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-030558250</subfield></datafield></record></collection> |
id | DE-604.BV045168914 |
illustrated | Illustrated |
indexdate | 2024-09-26T12:00:54Z |
institution | BVB |
institution_GND | (DE-588)1065964404 |
isbn | 9783836262552 |
language | German |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-030558250 |
oclc_num | 1053830011 |
open_access_boolean | |
owner | DE-473 DE-BY-UBG DE-523 DE-M347 DE-91G DE-BY-TUM DE-861 DE-B768 DE-92 DE-859 DE-29T |
owner_facet | DE-473 DE-BY-UBG DE-523 DE-M347 DE-91G DE-BY-TUM DE-861 DE-B768 DE-92 DE-859 DE-29T |
physical | 747 Seiten Illustrationen 24 cm x 16.8 cm |
publishDate | 2018 |
publishDateSearch | 2018 |
publishDateSort | 2018 |
publisher | Rheinwerk Verlag |
record_format | marc |
series2 | Rheinwerk Computing |
spelling | Springer, Sebastian Verfasser (DE-588)1041590202 aut Node.js das umfassende Handbuch Sebastian Springer 3., aktualisierte und erweiterte Auflage Bonn Rheinwerk Verlag 2018 747 Seiten Illustrationen 24 cm x 16.8 cm txt rdacontent n rdamedia nc rdacarrier Rheinwerk Computing Titelzusatz auf dem Cover: Aktuell ab Version 10, professionelle, echtzeitfähige Anwendungen entwicklen ; Installation, Grundlagen, Best Practices ; Debugging, Skalierung, Qualitätssicherung Node.js (DE-588)1027030742 gnd rswk-swf Node.js JavaScript jQuery Webserver Websockets Webapplikationen Webentwicklung Webprogrammierung Programmierung PHP Node.js Framework Node.js lernen Debugging Skalierung node express Applikationsentwicklung Node Package Manager Node.js (DE-588)1027030742 s DE-604 Galileo Press (DE-588)1065964404 pbl Vorangegangen ist 978-3-836-24003-1 X:MVB text/html http://deposit.dnb.de/cgi-bin/dokserv?id=a3ba6beb71a843c388fe3ce7441e6dbb&prov=M&dok_var=1&dok_ext=htm Inhaltstext DNB Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030558250&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Springer, Sebastian Node.js das umfassende Handbuch Node.js (DE-588)1027030742 gnd |
subject_GND | (DE-588)1027030742 |
title | Node.js das umfassende Handbuch |
title_auth | Node.js das umfassende Handbuch |
title_exact_search | Node.js das umfassende Handbuch |
title_full | Node.js das umfassende Handbuch Sebastian Springer |
title_fullStr | Node.js das umfassende Handbuch Sebastian Springer |
title_full_unstemmed | Node.js das umfassende Handbuch Sebastian Springer |
title_short | Node.js |
title_sort | node js das umfassende handbuch |
title_sub | das umfassende Handbuch |
topic | Node.js (DE-588)1027030742 gnd |
topic_facet | Node.js |
url | http://deposit.dnb.de/cgi-bin/dokserv?id=a3ba6beb71a843c388fe3ce7441e6dbb&prov=M&dok_var=1&dok_ext=htm http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030558250&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT springersebastian nodejsdasumfassendehandbuch AT galileopress nodejsdasumfassendehandbuch |