CGI-Node run on shared hosting sites running Apache. It can run along side PHP.
CGI-Node was designed specifically for this purpose. It works on any web hosting service that allows custom CGI scripts. In most cases if your web hosting company uses cPanel then CGI-Node will work.
If you can follow simple instruction then YES. See our GoDaddy tutorial here.
But, if you're a pro then here is the simplified version:
YES, CGI-Node pre-processes all the request headers, query strings, POST data and provides a clean and simple API to access every thing. See the API here.
Like phpInfo(), cgiNodeInfo() will display all the server variables, request headers, query string, POST forms and POST files.
Here is a quick look some of CGI-Node API:
NOTE: Unlike PHP, if you include a .js file then you don't need to wrap the code within <? ?> tags. This will allow you to use the same files on the client/browser without getting syntax errors. This is especially helpful if you have core library or utility methods that can be shared between the server and client.
Here is an example:
<?= helloWorld ?>
Yes, CGI-Node automatically creates a new session for new users and handles saving and loading session.
Simply store all your session data in session.data and it will persist after every request. See documentation for full details here.
Absolutely, this works the same way as running Node.js locally. You can even use the require() method the same way. For more information about NPM go here: https://www.npmjs.org/
YES!!! this feature is planned and will be release in subsequent versions.
Yes, simply install the MySQL module from NPM.
If you're not sure how, I'l be writing a tutorial on this soon.
YES, cgi-node can not cook you breakfast. YET!