[osflash] Techniques to implement a Chat system
Marcelo de Moraes Serpa
celoserpa at gmail.com
Thu Sep 14 20:34:40 EDT 2006
Complementing my last post: How difficult/different would it be to implement
a chat entirely with AMF0 (Flash Remoting) compared to Red5 or XMLSocket? I
think this pretty much summarizes my doubt :)
On 9/14/06, Marcelo de Moraes Serpa <celoserpa at gmail.com> wrote:
>
> Thanks a lot for the valuable reply Chris!
>
> What I don't understand though is this uni-direcional/bi-directional
> thing, I'm not that good in network socket programming after all, all I have
> used was Flash Remoting (which is unidirecional if I understood this concept
> right).
>
> By bi-direcional I mean something such FMS where you data get sent to the
> app by the server (pull method?)
>
> Thanks again,
>
> Marcelo.
>
>
> On 9/14/06, Chris Allen <mrchrisallen at gmail.com> wrote:
> >
> > Marcelo,
> >
> > XMLSocket is bidirectional. It's a Socket afterall. Bob, might be
> > right that it's possibly overkill to use Red5 for a chat application.
> > You may want to look at Jive Software's Wildfire:
> > http://jivesoftware.org/ as a good choice. It's a Jabber/XMPP
> > implementation that also has a really good Flash library for the XMPP
> > protocol. This gives you much of the typical chat infrastructure right
> > off the bat. I used this for an application a little while back, and
> > it was really excellent.
> >
> > However, if it's a room based chat that you want, take a look at the
> > FITC example that comes with Red5. We have a simple text based chat
> > that's part of the video conferencing application.
> >
> > There's also another guy on the Red5 list that is looking to hook up
> > Red5 to an XMPP server, so you may want to discuss with him what he's
> > doing over on the Red5 list.
> >
> > I hope that some of this information helps you out.
> >
> > -Chris
> >
> > On 9/14/06, Johannes Nel <johannes.nel at gmail.com> wrote:
> > > yes
> > >
> > >
> > > On 9/14/06, Marcelo de Moraes Serpa < celoserpa at gmail.com> wrote:
> > > >
> > >
> > > Hey bob... this XMLSocket technique is bi-direcional?
> > >
> > >
> > >
> > > On 9/14/06, Bob Ippolito <bob at redivi.com > wrote:
> > > > On 9/14/06, Marcelo de Moraes Serpa < celoserpa at gmail.com > wrote:
> > > > > On my last project I need to implement a chat system. However, I'm
> >
> > > really
> > > > > not sure about the technologies involved. I know I can do the
> > "refresh
> > > > > trick" (pull method?) where the application keeps pinging the
> > server to
> > > see
> > > > > if there is new data available. I also know that there are other
> > more
> > > > > efficient solutions such as the one used by FMS or FDS, and here's
> > my
> > > doubt
> > > > > - what is this technology about (JMS?) ? Does it work over http?
> > How
> > > does
> > > > > that work after all?
> > > >
> > > > Creating an XMLSocket server for Flash 5+ is trivial. People have
> > been
> > > > making chat servers and clients with that combination for at least 5
> > > > years now (my first was in 2001), you should have no problem finding
> >
> > > > information on the topic.
> > > >
> > > > Personally I would steer clear of Red5 for this, there are more
> > mature
> > > > and easier to debug options available to you for this kind of
> > > > application.
> > > >
> > > > -bob
> > > >
> > > > _______________________________________________
> > > > osflash mailing list
> > > > osflash at osflash.org
> > > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > > >
> > >
> > >
> > > _______________________________________________
> > >
> > > osflash mailing list
> > > osflash at osflash.org
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > j:pn
> > > http://www.lennel.org
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > osflash at osflash.org
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> > >
> > >
> >
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060914/6437974d/attachment-0001.htm
More information about the osflash
mailing list