demo: Socket To Me : A demo realtime chat app built using NodeJS, NowJS and Titanium
Shameless demo : http://www.youtube.com/watch?v=l97hEseBmbg
(sorry, not a question - we do need a place to do this kind of sharing)
Here's something I've been dabbling with for the past 48 hours or so. Using NodeJS and NowJS and also Titanium from Appcelerator, I've put together a little sample/demo chat room application on the iPhone and a web browsers.
One cool thing about this is: the server, the client and the app are all written in JavaScript! ;) Nice!
It does a few things you'd expect from a simple chat room… and also something you wouldn't - as a little demo, of course ;)
Watch and see!
Get nodejs and nowjs from here :
http://nowjs.com
http://nodejs.org
6 Answers
-
Hello, kosso
Trying to build application using now.js, and I've got a question.
Hello. Is there any way to Titanium.import('now.js') or you just used webview in your app?
-
Good work Kosso, I like it!
-
Sweet! I've been looking for examples on how to use websockets in Titanium, really interested in seeing how you did that. Without built-in support for websockets in Titanium, I'm guessing it's far from straight forward to make it play nicely with Socket.IO.
Are you planning on putting it up on GitHub? Or, if you could show the relevant snippets of code here I'd be a happy developer :)
-
I'm becoming quite a fan of your videos, Kosso - great work! :)
-
Hey Kosso.. You never posted any Code for this. Could please post the app code that would link the Now.js to titanium app. I have my web clients working with node and now, but I cannot hook now.js to titanium.
Could someone please help me with this issue?
-
Aditya, Checkout the new Appcelerator Cloud Services. Chat is now built in. Its very cool. Included as part of the Ti SDK 2.0
http://cloud.appcelerator.com/docs/api/v1/chats/info