web - What exactly does Node.js do? -


could give me quick description of node.js is? understand server, server? have basic knowledge of web, not understand it. send requests node.js , database?

thanks can help!

node platform. it's platform written in javascript , c++ interacts , calls underlying operating system don't have directly. makes platform, basically(not framework or environment). it's platform leverages javascript v8 engine can write in javascript abstraction lower details of programming; e.g. writing in c , assembly

a server serves requests requester service. if serving request, server. node more server. it's platform act client too, other program. can lower-level language or platform can do, can think of possibilities. higher-level languages , platforms viewed being faster code writing in c.

you can send requests node server program can access database on behalf of request , forward database data fulfill request. instance, if request website generates dynamic data database; node can this. node can bind network port through operating system user can connect , request, such http://localhost:8080. because code in node javascript, it's high-level compared going on in node on behalf, such using low-level system calls. these low-level system calls made internally in node on behalf interpreted higher-level language of javascript code.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -