hello, is it possible in easy way to do chat in RoR. i mean something similar to http://www.lingr.com/ Maybe there is some plugin or library, which can do the chat in easy way. if not, how to do it directly in the RoR? BR. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
May be just use http://www.lingr.com/developers ;-) On 4/18/07, Ivan Sas <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hello, > is it possible in easy way to do chat in RoR. > i mean something similar to http://www.lingr.com/ > Maybe there is some plugin or library, which can do the chat in easy > way. > if not, how to do it directly in the RoR? > BR. > > -- > Posted via http://www.ruby-forum.com/. > > > >-- rm -rf / 2>/dev/null - http://null.in Dont judge those who try and fail, judge those who fail to try.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> May be just use http://www.lingr.com/developers ;-)It is an option, but lingr can be used only like a service, there is no lingr code to download. I''m rather looking for something which can be included directly to application. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Well, you can always use some easy to use comet solution like http://juggernaut.rubyforge.org/ and write your own code. On 4/18/07, Ivan Sas <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > May be just use http://www.lingr.com/developers ;-) > > It is an option, but lingr can be used only like a service, there is no > lingr code to download. > I''m rather looking for something which can be included directly to > application. > > -- > Posted via http://www.ruby-forum.com/. > > > >-- rm -rf / 2>/dev/null - http://null.in Dont judge those who try and fail, judge those who fail to try.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 4/18/07, Pratik <pratiknaik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Well, you can always use some easy to use comet solution like > http://juggernaut.rubyforge.org/ and write your own code. >But be warned that, this juggernaut thing, won''t work from machines behind firewall and NAT. The reason is, Juggernaut uses XMLSocket from flash, which talks to the push server through a separate port. Now flash imposes lots of security restrictions on programs opening sockets. Couple of Juggernaut folks suggest, run this push server on port 443, which is very strange solution in my opinion, because normally you would like to bind your web server on that, if your application wants to use https. Until, they come with a better solution , Juggernaut can''t be used in anything serious. Traditional comet, through Javascript has been tried before by folks, but rails not being thread safe, it is hard to process one controller asynchronously on a mount point(which would be URL of your chat app.) So you are stuck with Ajax polling. :( --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> So you are stuck with Ajax polling. :(This is what campfire does. It''s nice when my wireless connection flakes out and returns. Campfire doesn''t miss a beat. IRC and Adium both drop and reconnect. Also, yes Rails is not threadsafe and may not be a good candidate for frequent polling or javascript. But you can easily write a custom mongrel handler to do that stuff. -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 4/18/07, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > So you are stuck with Ajax polling. :( > > This is what campfire does. It''s nice when my wireless connection > flakes out and returns. Campfire doesn''t miss a beat. IRC and Adium > both drop and reconnect. > > Also, yes Rails is not threadsafe and may not be a good candidate for > frequent polling or javascript. But you can easily write a custom > mongrel handler to do that stuff. >Thats correct, I saw mongrel handler code, posted on mongrel mailing list, long back. But apparently the idea didn''t pan out. May be its time, I should take it for a ride. :) -- gnufied --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 4/18/07, hemant <gethemant-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 4/18/07, Rick Olson <technoweenie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > So you are stuck with Ajax polling. :( > > > > This is what campfire does. It''s nice when my wireless connection > > flakes out and returns. Campfire doesn''t miss a beat. IRC and Adium > > both drop and reconnect. > > > > Also, yes Rails is not threadsafe and may not be a good candidate for > > frequent polling or javascript. But you can easily write a custom > > mongrel handler to do that stuff. > > > > > Thats correct, I saw mongrel handler code, posted on mongrel mailing > list, long back. But apparently the idea didn''t pan out. May be its > time, I should take it for a ride. :)Can''t help feeling a bit impressed with this: http://www.lukas-renggli.ch/smalltalk/seaside/videos/comet.mov :P -- gnufied --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
>> May be just use http://www.lingr.com/developers ;-) > > It is an option, but lingr can be used only like a service, there is no > lingr code to download.Well. We don''t offer up the code of the app, but we do provide a Ruby library for the API. Which allows your app to use our servers etc. to power your chat, on your site. Still might not be what you''re looking for, but it might save you a lot of time and work. More info on our wiki: http://wiki.lingr.com/dev -- Chris Boone Design Director, Lingr http://www.lingr.com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thanks for all comments. i want to use the chat via standard http port, so from the previous comments the best option for me, looks to code it with ajax polling. BR. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://www.refwell.com/blog/index.php/2007/01/25/full-dulpex-ajax-module-for-lighttpd/ This might be worth a try. On 4/19/07, Ivan Sas <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > thanks for all comments. > > i want to use the chat via standard http port, so from the previous > comments the best option for me, looks to code it with ajax polling. > > BR. > > -- > Posted via http://www.ruby-forum.com/. > > > >-- rm -rf / 2>/dev/null - http://null.in Dont judge those who try and fail, judge those who fail to try.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---