title: Execute Javascript server side
body: <p>I was interested in obfuscating my JS code, but I realized arround forums that it is useless. I would like to obfuscate my code anyway. So I was wondering, is that possible to execute JS code on server side (with an app in node.js for example), and just call via Ajax function with context (like dom, or something else), execute on server side, then give back result to page.</p>
  
  <p>It could be very usefull for me, that could permit to just show basic JS functions, but not core of my app...</p>
  
  <p>Perhaps a solution already exists, but I found nothing on Web...</p>
  
  <p>EDIT :</p>
  
  <p>I thought that with node.js, a solution was existing. I meant for example a simple JS function in client side like : call_func('function_name', context); that call a server side JS dispatcher function with ajax, that returns JS object containing results.</p>
  
  <p>Perhaps I am dreaming ? :)</p>
  
  <p>Thanks for your help.</p>