Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have a client with an existing straight up HTML/JavaScript site. No back end of any kind. He wants to add email functionality to it and I was thinking of using Node to do this for two reasons:

  1. It seems like an extremely lightweight way to do it
  2. He's talking about adding further functionality in the future.

What are the positives and negatives of this approach?

share|improve this question
    
Off topic here. Maybe webmasters.stackexchange –  kevin cline Feb 2 '12 at 21:58
2  
I disagree it being off-topic. It's a question about structure and design. –  KevDog Feb 2 '12 at 22:27
1  
This looks fine here to me, too. –  user8 Feb 3 '12 at 1:15
add comment

2 Answers

Positive: Node is really cool and you'll feel really cool writing the code.

Negative: The appropriate solution would take 1/10th the time in PHP, Perl, or Python and one of those languages is probably already installed on the server. In addition, Node is still in beta.

share|improve this answer
    
+1, ride existing infrastructure. –  Wyatt Barnett Feb 2 '12 at 21:51
    
node is not in beta. –  Raynos Feb 5 '12 at 17:20
add comment

I gues you could use the emailjs plugin for node. Even if node wasn't serving the site you could still interact with node from the static webpage through websockets using socket.io.

This all sounds a bit complicated but having been playing with node in the last week this stuff is amazingly easy to accomplish.

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.