What is client side javascript and what is server side javascript?

前端 未结 8 1572
南方客
南方客 2020-12-08 05:29

Will any one please explain me what is server side java script and client side java script

Because I recently heard about livewire JavaScript is server side and navi

8条回答
  •  无人及你
    2020-12-08 06:05

    Client-side javascript allows you to make possible some user interactions, by for instance changing the DOM, adding events to html elements, etc..

    On the other hand, server side javascript, allows to exploit the javascript in its entireness by building more scalable, event-driven and non I/O blocking applications. One example of server side javascript environment is NodeJs.

    Moreover, in this way the learning curve for both client and backend developers in learning javascript is diminished, since both talk the same language.

提交回复
热议问题