Hi all,
Recently I have developed a site using Codeigniter framework and it was my first assessment in any framework.
Now I would like to integrate a chat application in the same site. Already I have tried to implement a chat application (looks like google chat) in the site(the code sample has downloaded from a free site and it was done with ajax, jquery and php). Unfortunately the result was fail.
The sample chat application has mainly four files like chat.php,chat.js,jquery.js and a css file. I have modified the chat.php to make it as a controller class, also corresponding changes are made to the chat.js file. After these changes, the application starts working but the result was just 40%.
There are problems in session and in jquery calls. The sample chat codes has storing values in php session and they were using multi dimensional array format for storing it. I have modified these things to support codeigniter.
Finally I have found that jquery post($.post(url,data,resul)) function calls are working fine and ajax($.ajax(url,returntype…..)) function calls does not.
Thanks in advance for your valuable advise,