Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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

— asked May 23rd 2011 by Kosso
  • nodejs
  • nowjs
  • realtime
  • sockets
1 Comment
  • Kosso: I know this is a bit old, but did you ever release your source for that simple chat program? I am looking to implement node.js, NowJS, socket.io and Titanium Mobile/Desktop and what you did would be great for a starting point. Cheers!

    — commented December 21st 2011 by Daniel Mahon

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?

    — answered June 6th 2011 by Gaiar Baimouratov
    permalink
    0 Comments
  • Good work Kosso, I like it!

    — answered May 23rd 2011 by Matt Apperson
    permalink
    1 Comment
    • cheers ;)

      I put the 'fun' in bodily functions ;)

      — commented May 23rd 2011 by Kosso
  • 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 :)

    — answered May 24th 2011 by Joakim Stai
    permalink
    1 Comment
    • I think I found it on my own :) See this question:
      [INFO] socket.io + titanium

      I'm guessing that's what kosso used.

      — commented May 27th 2011 by Joakim Stai
  • I'm becoming quite a fan of your videos, Kosso - great work! :)

    — answered May 24th 2011 by Paul Dowsett
    permalink
    1 Comment
    • heh. cheers paul ;) frrrp!

      — commented May 24th 2011 by Kosso
  • 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?

    — answered April 9th 2012 by aditya jamwal
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.