codeigniter & node js integration with now js - how to access view files

后端 未结 1 1898
别那么骄傲
别那么骄傲 2020-12-30 16:58

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 inst

1条回答
  •  情深已故
    2020-12-30 17:21

    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 !!

    0 讨论(0)
提交回复
热议问题