Re: [nodejs] CGI example needed

2012-07-08 Thread Louis Santillan
V8cgi might be more of what you need. (http://code.google.com/p/v8cgi/) -L On Sunday, July 8, 2012, Dan Milon wrote: > Yeah, You should read up nodejs.org & tutorials / blogs to learn more ;) > > danmilon. > > On 07/09/2012 12:54 AM, Tim Johnson wrote: > >> * Dan Milon [120708 10:27]: >> >>> Yo

Re: [nodejs] CGI example needed

2012-07-08 Thread Dan Milon
Yeah, You should read up nodejs.org & tutorials / blogs to learn more ;) danmilon. On 07/09/2012 12:54 AM, Tim Johnson wrote: * Dan Milon [120708 10:27]: You wouldn't use node as a cgi script (at least for the web part). Technically you can, but you would lose all the benefits (async/nonblock

Re: [nodejs] CGI example needed

2012-07-08 Thread Tim Johnson
* Dan Milon [120708 10:27]: > You wouldn't use node as a cgi script (at least for the web part). > Technically you can, but you would lose all the benefits > (async/nonblocking io) since you let apache or any http server for the > matter enforce the concurrency model. Afaik, the cgi server will

Re: [nodejs] CGI example needed

2012-07-08 Thread Nathan Rajlich
And if you want the opposite (using Node to invoke and serve CGI files), then you can check out node-cgi: https://github.com/TooTallNate/node-cgi On Sun, Jul 8, 2012 at 11:21 AM, Arunoda Susiripala < arunoda.susirip...@gmail.com> wrote: > You need this - http://expressjs.com > > Read the guide. >

Re: [nodejs] CGI example needed

2012-07-08 Thread Arunoda Susiripala
You need this - http://expressjs.com Read the guide. On Sun, Jul 8, 2012 at 11:38 PM, Dan Milon wrote: > You wouldn't use node as a cgi script (at least for the web part). > Technically you can, but you would lose all the benefits > (async/nonblocking io) since you let apache or any http server

Re: [nodejs] CGI example needed

2012-07-08 Thread Dan Milon
You wouldn't use node as a cgi script (at least for the web part). Technically you can, but you would lose all the benefits (async/nonblocking io) since you let apache or any http server for the matter enforce the concurrency model. Afaik, the cgi server will pull up node processes for each req

[nodejs] CGI example needed

2012-07-08 Thread Tim Johnson
I've been a CGI programmer for 16 years. I have used python for the last 9. I currently use javascript for client-side programming. I am interested in using node.js for server-side programming. I've done a little googling on CGI interfaces for node, but I am finding *too* much information. I am i