?
Solved

cfchat

Posted on 2006-06-13
8
Medium Priority
?
271 Views
Last Modified: 2013-12-24
Like a lot of other people, I'd like to implement a chat session on my website.
I don't want to use Flash or AJAX or Flex or Director or Fusetalk or anything else other than standard cfm to html using a SQL database.
Oh, and I want it to be free.
With source code.
That's not asking for too much, is it?

There's been a few EE threads
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_10447156.html?query=chat&topics=112
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20264957.html
But they're getting pretty stale.

I found a "Bare Bones Chat System, V1.0" at
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn131&extID=1002138#loc=en_us&view=sn131&extID=1002138&viewName=ColdFusion%20Extension&avm=1

It's "Free, unencrypted and commented.  A good base for your own chat system and as good as some of the systems that you have to pay for. Download it, hack it, use it, junk it but don't pay for it!"

Can anyone say "Oh no, you should use (your name here) chat system.  It's much more up-to-date (uses cfcs), and is free and includes the source code and yada yada yada".
0
Comment
Question by:psenn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 16899221
psenn,

I think that a chat system that doesn't use ajax style communication will not work.

How does the chat page know when something else has happened without refreshing all the time. You need to use either Ajax or IFRAME communication to do what you want.

Doing it using IFRAMES is simple and you could just write one, then you will have the source etc.

Regards
Plucka
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 16899436
well you can "sorta" do it using

<META HTTP-EQUIV=Refresh CONTENT="30; URL=http://somesite/somechatpage.cfm">

but all this does is continually refresh the page every 30 seconds

not sure but i think the devexchange code uses this (one i looked at a couple of years ago did)

it's ugly, server intensive and quite a poor hack but it does work...any other solutions are going to be ajax or iframe based

however, you might be able to find an open source java chat you can integrate
0
 

Author Comment

by:psenn
ID: 16899567
SidFishes!  Love the name!  The punk dba.

Yeah, I was thinking of using the ugly, server intensive and quite a poor hack model.  That's why I thought I'd better ask around first.

Plucka, I read about the <iframe> tag based on your recommendation.  It's interesting, but I haven't quite made the connection of how using <iframe> keeps them from having to do a submit each time.  It would still be a static page, wouldn't it?  Using the <iframe> tag is NOT a shortcut for AJAX, right?

I just want to implement a solution based upon what I already know, and not have to learn an entire new language or framework just to implement a one textbox classroom exercise (for lack of a better description).

I think I want sample source code because I'll probably end up keeping the chat transcripts and relate them back to my user table to see who's been asking what, when and the answer they got back.
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 36

Accepted Solution

by:
SidFishes earned 750 total points
ID: 16902482
hmm...this looks like it might be a pretty simple implementation...even if it is using ajax...pre-built and open source...even comes with sql scripts for MSSQL and MySQL

http://www.opensourcecf.com/cfopenchat/
0
 

Author Comment

by:psenn
ID: 16905245
cfopenchat looks very promising.  I'll have to check it out tonight.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 17004849
Did it work for you??
0
 

Author Comment

by:psenn
ID: 17030626
Sid,

I just got back from cfUnited, where Farcry was reintroduced as an open-source content management system, formerly a commercial product.

www.farcrycms.org.
I'm going to check it out and get back to you.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
What You Need to Know when Searching for a Webhost Provider
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question