> An HTML based app in CF, would have to do meta-refreshes for the chat
> screens to be up-to-date and live.
> A Flash-based or Java based app, I believe, would not have to do
> meta-refereshes, those applications would be using some other method to
> make the chat up-to-date. In addition, those apps could probably use
> xml files rather than connect to a database.
A few points to make here:
1) HTML/CF based app needn't rely on meta-refreshes exactly, but could
rely on _javascript_ (like rob's app). They will still be based on the
HTTP request-response model.
2) you can have CF keep chat data, messages, who's online, etc., in
memory (application variables), in XML files, or whatever storage
mechanism you desire. Databases aren't required for CF to function.
3) Flash and Java based chat apps are better than CF, ASP, PHP, etc.
apps because Flash and Java can make socket connections to a back-end
server. Instead of constant check-ins, they can stay connected while
receiving and sending events from the server asynchronously.
4) You need a socket server, as well as a client. For a flash front-end,
the easiest way is with Flash Communication Server. If you want to be
cheap, I'd recommend Java or a .NET server, but maybe you can find some
other implementation.
4) Blackstone (the next version of CF) may be able to act as a socket
server through a java listener. I greatly look forward to playing with this.
>
> If you know of any apps like that, please let me know.
socket servers for flash:
http://www.moock.org/unity/
http://projects.cyberlot.net/cyberss/trac.cgi
http://swocket.sourceforge.net/
flash chat app that relies on fcs:
http://www.userplane.com/
and there's literally hundreds of java chat apps. google it!
-nathan strutz
http://www.dopefly.com/techblog/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

