Utilizing Node.js Along Side Another Platform (Grails) -
We have a grails application in the wild. We want users to provide a better experience to current browsers and provide some auto-updates to site pieces. With all the options and especially with Grails, I'm not impressed.
I really want to use WebSocket and till that point I have checked, I believe our best The option is node. Js. But obviously we can not do our application again. I like Grails
So my idea is that we use Node.js along with Grails basically as a read-on proxy between the client and the data. All nodes The JS application pulls data from the database and distributes the client on websacet.
Is it like a legitimate approach? Is there anything else that someone else did?
Definitely feels appropriate; I recommend using socket.io to implement your transport (if the browser supports them, then it will use websitet; otherwise it will use different fallback mechanisms) You can use any cross-root problems To avoid, you might want to use a reverse proxy such as nginx, though socket.io is good enough to avoid them.
The node is a lot about the right use of the right equipment instead of being a golden hammer.
Comments
Post a Comment