Iliyan Peychev 12年 前 Very nice, David, finally we have something working!The first two potential use cases - to write a mobile site or a new frontend using this approach are really interesting - will be happy to participate!Talking about improvements, what if we replace the HTTP connection with AMQP, for example?https://github.com/postwait/node-amqp 投票するためにはログインが必要です。 次として送信する: キャンセル
Rushikesh S Thakkar 12年 前 Looks interesting. I myself having worked with Liferay, and currently working on Node.js keep thinking of use-cases where these two can be brought together. The scenarios you suggested uses Liferay as content provider for Node.js. A scenario I thought of is other way around:Socket.io + Node.js (on backend) with Liferay (on frontend): to display real-time streaming data (stock feeds, clock/time, monitoring dashboard, etc). 投票するためにはログインが必要です。 次として送信する: キャンセル David Truong Rushikesh S Thakkar 12年 前 That sounds interesting.I would like to find a way to not have to run 2 different servers. 投票するためにはログインが必要です。 次として送信する: キャンセル Rushikesh S Thakkar David Truong 12年 前 @David,I agree with you on that. I too wouldn't like to run 2 different servers. We can use comet libraries for Java - like Grizzly (http://grizzly.java.net/), but websocket support is not yet available in IE and webkit (AFAIK). That's where socket.io comes to rescue.Moreover, Node.js is fares well on high load (plus: has good support for no-sql dbs like MongoD. So I wouldn't mind considering it as a backend for a Liferay app that renders realtime data. 投票するためにはログインが必要です。 次として送信する: キャンセル
David Truong Rushikesh S Thakkar 12年 前 That sounds interesting.I would like to find a way to not have to run 2 different servers. 投票するためにはログインが必要です。 次として送信する: キャンセル Rushikesh S Thakkar David Truong 12年 前 @David,I agree with you on that. I too wouldn't like to run 2 different servers. We can use comet libraries for Java - like Grizzly (http://grizzly.java.net/), but websocket support is not yet available in IE and webkit (AFAIK). That's where socket.io comes to rescue.Moreover, Node.js is fares well on high load (plus: has good support for no-sql dbs like MongoD. So I wouldn't mind considering it as a backend for a Liferay app that renders realtime data. 投票するためにはログインが必要です。 次として送信する: キャンセル
Rushikesh S Thakkar David Truong 12年 前 @David,I agree with you on that. I too wouldn't like to run 2 different servers. We can use comet libraries for Java - like Grizzly (http://grizzly.java.net/), but websocket support is not yet available in IE and webkit (AFAIK). That's where socket.io comes to rescue.Moreover, Node.js is fares well on high load (plus: has good support for no-sql dbs like MongoD. So I wouldn't mind considering it as a backend for a Liferay app that renders realtime data. 投票するためにはログインが必要です。 次として送信する: キャンセル
Koen De Jaeger 11年 前 Some changes I had to make in the code in order to try the example.Change "local.host" to "localhost".Change "styles.css" to style.css". 投票するためにはログインが必要です。 次として送信する: キャンセル