Create an Ajax-based IM client

Moderators: b1o, jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Create an Ajax-based IM client

Postby dedanna1029 » 02 Jul 2010, 17:12

The ability to instant message (IM) co-workers and friends is a great convenience, but some environments prohibit the use of instant messaging clients in the workplace due to security concerns. The exercise in this tutorial resolves any security concerns by showing you how to use Ajax to create a Web-based IM client that turns IM traffic into plain Web traffic by creating an instant messaging "bot" and a corresponding Web application. While it's not a production application, it demonstrates several nifty Ajax techniques, such as how to use Prototype to do easier DOM manipulation and how to easily update sections of a Web page, either once or repeatedly.

http://www.stumbleupon.com/su/2g0rEz/ww ... X-IMdth-WD
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

rvause
Viking
Posts: 42
Joined: 16 Jun 2010, 20:17
Contact:

Re: Create an Ajax-based IM client

Postby rvause » 04 Jul 2010, 16:59

Thanks for that. I had a skim through. I built a Ajax chat app with Django and Jquery not so long ago and it has been deployed and in use in the office since. I have been thinking about plugging it into Jabber/XMPP to give users more flexibility in how they use it.
Screenshot:
Image

Code: http://github.com/rvause/bistrochat

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Create an Ajax-based IM client

Postby dedanna1029 » 04 Jul 2010, 18:06

Quite nice, that. Good job. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Linux education”