News for hackers. Stuff that matters.
Re:Rails in Realtime, Part 2 by marcamillion on Thursday September 13, 2012 @03:44PM (#4518154)
Love this.

This is actually quite timely for me. An app I am trying to build, involves a lot of real-time stuff and have been debating whether or not I should go to a client-side MVC. I am not too gung-ho on doing it, largely because at the core a lot of the functionality of the app is simple CRUD stuff. Then just a matter of updating elements of the app in real time.

Is there a gem for Socket.IO?

Re:Rails in Realtime, Part 2 by kellysutton on Thursday September 13, 2012 @04:07PM (#4518286)
Re:Rails in Realtime, Part 2 by marcamillion on Thursday September 13, 2012 @04:17PM (#4518354)
Is this what you guys used, or did you use the regular client in some other way?
Re:Rails in Realtime, Part 2 by kellysutton on Thursday September 13, 2012 @07:19PM (#4519183)
That is what we use in production.
Re:Rails in Realtime, Part 2 by ludicast on Thursday September 13, 2012 @08:43PM (#4519467)
Use sockjs instead of socket.io :). There is a rails gem for it, or you could use ruby on top of vert.x which also supports sockjs.
Re:Rails in Realtime, Part 2 by mje on Thursday September 13, 2012 @04:07PM (#4518288)
Great work Kelly. How much browser pain have you all had with data-attributes?
Re:Rails in Realtime, Part 2 by kellysutton on Thursday September 13, 2012 @07:19PM (#4519178)
So far, no browser pain at all with the data-attributes.

When dealing with numbers, you will often find yourself making many calls to parseInt(). Other than that, it's smooth sailing.

Re:Rails in Realtime, Part 2 by mje on Thursday September 13, 2012 @11:57PM (#4519992)
Great thanks. So cool to see what you have done since the days at AutomaticDuck.
Re:Rails in Realtime, Part 2 by marcamillion on Thursday September 13, 2012 @04:17PM (#4518357)
Where is your production app hosted? Heroku? AWS? Your own colo box?
Re:Rails in Realtime, Part 2 by kellysutton on Thursday September 13, 2012 @07:20PM (#4519184)
We use Slicehost.