Understanding Database 12 - Web Database Programming (NodeJS)
2023. 3. 26. 00:02ㆍData science
반응형
Client-server architecture
: Here, NodeJS plays the role of connecter to DB
Sequence | Web browser (Java script) |
The Internet (NodeJS or other apps) |
Web Server at server.com |
Disk Drive at server.com(DB) |
1 | User enters: http://server.com |
|||
2 | Look up IP address of server.com | |||
3 | Request server.com main page using IP | |||
4 | Recieve request for index page | |||
5 | Fetch index.html from hard disk | |||
6 | return index page | |||
7 | receive and display page |
JavaScript
- a simple programming language for building interactive HTML pages.
- Commonly used in the development of games and mobile applications.
- The program can only be executed in an internet browser because it is interpreted as scripting.
- To run and execute the code outside the browser, we can utilise Node.js.
Node.js
- an open-source, cross-platform JavaScript runtime environment.
- Allows JavaScript code to run outside the browser.
- An asynchronous event-driven JavaScript runtime
- is designed to build scalable network applications.
JavaScript Variables
◉ only the letters a–z, A–Z, 0–9, the $ symbol, and the underscore (_).
◉ First character: only a–z, A–Z, $, or _ (no numbers).
◉ case-sensitive
◉ No limit on lengths
TBD
반응형
'Data science' 카테고리의 다른 글
[Latex] How to use Latex - Overleaf (0) | 2023.03.26 |
---|---|
Linear Algebra and Dimensionality Reduction (0) | 2023.03.26 |
[Power BI] (0) | 2021.05.18 |
[IBM] What is Data Science? - Data Science in Business (0) | 2021.05.18 |
[IBM] What is Data Science? - Big Data, Data Mining (0) | 2021.05.15 |