i want to integrate codeigniter and node.js but i am having confusion that how to execute both node.js and codeigniter.
I have successfully installed and ran the nowjs sample: http://nowjs.com/doc/example
how to access view files of codeigniter(or any php framework) into node.js.
i have confusion because codeigniter executed with url http://localhost/xyz while node.js executed with http://localhost:8080/xyz
so which url i have to write in browser from which i can use both node.js & codeigniter?
Here is how ii made codeigniter and nodejs talk to each other.
i have my codeigniter app running on http://mydomain.com/controller/function/ and i have my nodejs(nowjs) running on http://mydomain.com:8080 ,
users will use codeigniter URL and when open the page, i have this script on my CI view page that connects to my Nodejs app, something similar to this :
ant they can talk to each other very well !!