Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

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.

share|improve this answer
add comment

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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