I've scoured the web looking specifically for sample scripts or code that makes a chat applet in a site using only PHP.
I want to make it YM-style - where you put in smileys, and when you pick an online visitor/user, you can click on his name then a pop-up window appears where you can chat with that person privately. Also, there a group chat window in it.
It drives me crazy to look at the other tutorials since you have to have AJAX and Javascript installed for that sort of applet to run.
Does anyone of you out there where I can get resources for that concern?
I hope they not only provide the source code with comments in it, but even discussions and explanations on why this is done and how it works...
But if you do know, I'd be grateful for any info that you can share:D
Thanks for reading this post - I hope I didn't bother you guys...Pardon if I sound so desperate:crying:
Help in putting a YM-style chat applet in a website using only PHP...
Started by PC_flea, Jun 21 2011 01:28 AM
6 replies to this topic
#1
Posted 21 June 2011 - 01:28 AM
|
|
|
#2
Posted 21 June 2011 - 07:38 AM
It does requires Javascript and for having the javascript to work as you wish, use the AJAX methods of JavaScript. AJAX is a way to use Javascript, not something own you "install". You don't install javascript either, as it's part of the browser, where it can be enabled or disabled. Default is enabled, but some users, authorities, employers etc can turn it off due to security reasons.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 21 June 2011 - 04:07 PM
Thanks for that pointer - in that case, do you know of any resources that will help me with that project (detailed tutorials and source code)?
Or do you know of anyone here in this site that can help me with it?
Or do you know of anyone here in this site that can help me with it?
#4
Posted 21 June 2011 - 09:39 PM
It looks like we've a nice tutorial on an AJAX chat here that is fairly commented:
http://forum.codecal...php-jquery.html
Feel free to experiment with it, it seems to be well written.
jQuery is a Javascript framework that can make working with AJAX and the alike a lot easier, so you need not manually write code to perform AJAX queries or whatnot. You could certainly learn jQuery, there is even a huge demand for it online often in jobs.
http://forum.codecal...php-jquery.html
Feel free to experiment with it, it seems to be well written.
jQuery is a Javascript framework that can make working with AJAX and the alike a lot easier, so you need not manually write code to perform AJAX queries or whatnot. You could certainly learn jQuery, there is even a huge demand for it online often in jobs.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 22 June 2011 - 01:05 AM
In that case, is there a sort of Visual jQuery and AJAX editor software that you can recommend?
One more thing: when a chat user clicks on a online user's name to pull up a window for a private chat, is it a matter of repeating the same lines of code (in the tutorial you recommended) to make a new window and a new session for just the two users?
I hope you got what I meant - if only I detailed in further...
One more thing: when a chat user clicks on a online user's name to pull up a window for a private chat, is it a matter of repeating the same lines of code (in the tutorial you recommended) to make a new window and a new session for just the two users?
I hope you got what I meant - if only I detailed in further...
#6
Posted 22 June 2011 - 12:00 PM
Hi, you could check out Wavemaker.
#7
Posted 22 June 2011 - 08:04 PM
I checked Wavemaker's site and from what I read, it only supports Javascript.
I'm looking for Sigma Visual JS - it's not pulling up its official site.
I'm planning to put up this chat applet into my website using PHP - you guys probably know of something else right?
I'm looking for Sigma Visual JS - it's not pulling up its official site.
I'm planning to put up this chat applet into my website using PHP - you guys probably know of something else right?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









