Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
modul:m290:learningunits:lu08:theorie:03 [2024/10/30 14:15] vdemirmodul:m290:learningunits:lu08:theorie:03 [2024/11/18 10:50] (aktuell) cbolzern
Zeile 1: Zeile 1:
-====== LU10b - Server-Programming von JavaScript- Under Construction ======+====== LU10b - Server-Programing with JavaScript ======
  
 ===== Learning Objectives ===== ===== Learning Objectives =====
-  - Programming our first Node Server application "hello world"+  - Programing our first Node Server application "hello world"
   - Know how to start the server application   - Know how to start the server application
   - Generate a terminal message   - Generate a terminal message
  
 ===== HelloWorld.js ===== ===== HelloWorld.js =====
-At the beginning of each programmer's carreer there is always our notorious "Hello World". Why changing good habits? Let us also greet the world with a first server script.+At the beginning of each programer's carreer there is always our notorious "Hello World". Why changing good habits? Let us also greet the world with a first server script.
  
   - For that we need to create in our Webstorm a new JavaScript file with the title "helloWorld". Please note, that the file ending will be set as "js", if you choose the right file type.   - For that we need to create in our Webstorm a new JavaScript file with the title "helloWorld". Please note, that the file ending will be set as "js", if you choose the right file type.
Zeile 14: Zeile 14:
 In the lower part of Webstorm you can open a terminal window to start the mini-server-application. A node server is always started with the commande **node + servername.js**. In our case it is **node helloworld.js**, which generates the console output, just as we intended. In the lower part of Webstorm you can open a terminal window to start the mini-server-application. A node server is always started with the commande **node + servername.js**. In our case it is **node helloworld.js**, which generates the console output, just as we intended.
  
-{{:modul:m290:learningunits:lu08:theorie:lu10.s01.png?600|}}+{{:modul:m290:learningunits:lu08:theorie:a6.png?800|}}
  
  
  • modul/m290/learningunits/lu08/theorie/03.1730294158.txt.gz
  • Zuletzt geändert: 2024/10/30 14:15
  • von vdemir