node.js

11 flashcardsby Ina
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Vorteile von JS auf dem Server
- weniger kontextswitches
- gleiche Tools in FE und BE
- JS wird immer schneller
- grosses Ökosystem
2
Was ist node.js
runtime environment, entspricht JVM in Java
3
Was ist node express
Server framework, entspricht Springboot
4
Was ist das Spezielle am /public Ordner?
alles was hier drin ist, kann direkt vom Browser aufgerufen werden.
5
wofür ist die Datei app.js zuständig?
DB Verbindung, Middleware installieren, Dispatcher zu url binden, Server starten
6
Wie schreibt man einen Router in express?
7
Was ist Middleware?
Wie ein Filter beim Servlet, fügt Funktionalität vor Route
8
Ist die Route auch eine Middleware?
ja
9
Wie und wo wird Middleware bekannt gemacht?
In der app.js Datei mit app.use(middleware)
10
Was ist hier die Ausgabe?
A B B* A*
11
Wie schreibt man eine Middleware?
const middleware = (req,res,next) => { next() }
- tut nichts, minimale Middleware braucht immer ein next()
Study all 11 cards for free

More Computer science flashcards

As You Like It - Play14 cardsComputer science · EnglishBrothersfanNetworking Fundamentals Module 1-7218 cards · 1 addedComputer science · EnglishDiandreiCompTIA Acronyms320 cardsComputer science · EnglishashleighITEC 116: System Integration and ERP98 cardsComputer science · EnglishmackComputer Architecture: Threads and Processes75 cardsComputer science · EnglishbaunieeChapter 3 Key terms62 cardsComputer science · EnglishJaySagemaker Bedrock52 cardsComputer science · EnglishnathanCPEN 247 Final Exam - Gonzaga University43 cardsComputer science · EnglishJoshStructured Query Language (SQL)37 cardsComputer science · English—Griffith—통신, 우편의, 은행 (telecommunication, postal, bank)31 cardsComputer science · Korean모기binary, hex, decimal conversion for cs25 cardsComputer science · Englishgabrielehealth laws20 cardsComputer science · Englishmicha

All Computer science decks

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 11 cards for free