With Node.JS as a backend solution; is there any frontend javascript or all events controlled on the backend?


It is completely separate from client-side JS. Like any other browser/server scenario you still have that http middle-man/wall to throw things over. There are plenty of advantages to having both be the same language like sharing core utility libraries, of course, but it will still take an Ajax call to make a mouse event matter to the server.


As with any web server, Node is compatible with client Javascript requests - the base repository does not include any front-end Javascript, however, demos like Node Chat include front-end scripts (i.e. jQuery).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.