title: chat functionality on php application
body: <p>SO has lot many questions of this type but not able to find correct solution. May be I am missing anything.</p>
  
  <p>I am struggling from last few days for finding better option for Chat service.
  Following thing I have to keep in mind before using any option..</p>
  
  <ul>
  <li>It should be OS independent</li>
  <li>Installation should be easy</li>
  <li>Opensource so that can be modify as per requirement.</li>
  <li>Lightweight</li>
  <li>Chat Client should be customizable and lightweight</li>
  <li>File Sharing, Private Chat, Group Chat, emotions should be there.</li>
  <li>Chat should not allow user to connect with other outsider chat servers like gmail, AOL, etc.. </li>
  </ul>
  
  <p>I have developed chat service using Openfire server as chat server and Jetty applet as client.
  But this applet is not as userfriendly and need to work a lot to make it look like gmail chat or facebook chat..
  Also I am going to use Zend framework, PHP, MySQL, Apache server. And server OS could be windows or Linux.</p>
  
  <p>Here are few more questions...</p>
  
  <ul>
  <li>Is there way to use openfire server as chat server with some other javascript/AJAX/Dojo as Client?</li>
  <li>How we can use XAMPP-BOSH for Chat service? Is this XAMPP is related to XAMPP server of apache, PHP, etc...?</li>
  <li>How we can use Dojo.io.cometd library for chat?</li>
  </ul>