server side js with node.js

08 Nov

One popular project driving server-side js use is Node.js, based on the V8 JavaScript engine from Google Chrome.

Material + video:



Posted by on 08.11.2011 in Javascript, server side js



2 responses to “server side js with node.js

  1. wilfred27

    09.11.2011 at 00:29

    Good Work bro’.
    I would also like to know how to connect a php code with the data base. for example when you create a login or sign up form.

  2. shakeelstha

    09.11.2011 at 09:43

    $dbhost = ‘localhost’;
    $dbuser = ‘root’;
    $dbpass = ‘password’;

    //connect to database
    $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die (‘Error connecting to mysql’);

    $dbname = ‘petstore’;

    Now run your MySql and Apache server. (I guess you are using XAMPP for this.)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: