Hi you all, is there any plugin or extension to create P2P applications with Rails? Such as JXTA for Java? Thanks. -- 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 -~----------~----~----~----~------~----~------~--~---
While I wouldn''t say it''s impossible, I would say that Peer-to-Peer (P2P) is outside the scope of Rails. Rails is a web application framework (server-side) and wouldn''t be the technology I would choose for building a P2P network. Although, a Rails application could certainly play a role in the P2P network. You still need some client- side applications to act as the peers. Consider a simple P2P network like an instant messenger where each peer runs an application that sends messages to another peer running the same (or other compatible) application. You might be able to force- fit a Rails application to this purpose, but it would seem to me to be the wrong technology for the job. In that same case there is usually a centralized "server" that allows the peers to find each other on the network. Maybe a Rails application would be a good fit there. But, that''s not actually what I would call a pure P2P network where messages, or files would be transmitted directly from one peer to another without the need for a central server. I''m not aware of any plugins for Rails similar to JXTA. That would be more like searching for a plugin for Struts that is similar to JXTA. What I mean is that whatever that would be would probably not be for Rails but for Ruby in the same way that JXTA is a library for Java and not some Java based web application framework. Maybe a better way to ask your question is to fill us in on what you are actually trying to do. Just asking about P2P is a pretty broad subject. You could quite easily build a P2P between two web applications using a REST API and ActiveResource. That''s pretty common and is, technically, a P2P network, but maybe not in the sense you''re referring. On May 18, 2:11 pm, Damaris Fuentes <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi you all, is there any plugin or extension to create P2P applications > with Rails? Such as JXTA for Java? > Thanks. > -- > Posted viahttp://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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I would create P2P applications with Ruby, rather than Rails. One could make the comparison that Rails is more like mininova.org where Ruby is more like Transmission/Azereus. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Umm...yes, I''ve seen is easy and even more obvious to create a P2P app as a non-Web app, just with Ruby. And I could do a kind of hybrid app, mixing Ruby apps for clients and Web apps for clients that act also as rendezvous, but perhaps is too complicated. I''m trying to build a kind of Emule app. JXTA for Java offers a set of protocols that makes easier the functionality of a whole app of this type. In that way, I wonder if there is an extension for Ruby similar to Jxta. Thanks again. Ryan Bigg wrote:> I would create P2P applications with Ruby, rather than Rails. One could > make > the comparison that Rails is more like mininova.org where Ruby is more > like > Transmission/Azereus.-- 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 -~----------~----~----~----~------~----~------~--~---
However, now that I think, there is out there some instant messaging apps like MSN with a version online, instead of a locally-installed application. These apps can be considered in some way P2P apps. So perhaps it is not so wrongly-considered to have a Web-based app for this P2P network. Damaris Fuentes wrote:> Umm...yes, I''ve seen is easy and even more obvious to create a P2P app > as a non-Web app, just with Ruby. And I could do a kind of hybrid app, > mixing Ruby apps for clients and Web apps for clients that act also as > rendezvous, but perhaps is too complicated. > > I''m trying to build a kind of Emule app. JXTA for Java offers a set of > protocols that makes easier the functionality of a whole app of this > type. > > In that way, I wonder if there is an extension for Ruby similar to Jxta. > > Thanks again. > > Ryan Bigg wrote: >> I would create P2P applications with Ruby, rather than Rails. One could >> make >> the comparison that Rails is more like mininova.org where Ruby is more >> like >> Transmission/Azereus.-- 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 -~----------~----~----~----~------~----~------~--~---