Node.js + Nginx – What now?

Nginx works as a front end server, which in this case proxies the requests to a node.js server. Therefore you need to setup an nginx config file for node. This is what I have done in my Ubuntu box: Create the file yourdomain.com at /etc/nginx/sites-available/: In it you should have something like: If you want nginx (>= 1.3.13) … Read more

how to implement Interfaces in C++?

C++ has no built-in concepts of interfaces. You can implement it using abstract classes which contains only pure virtual functions. Since it allows multiple inheritance, you can inherit this class to create another class which will then contain this interface (I mean, object interface 🙂 ) in it. An example would be something like this … Read more