Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: Simple Intraweb Messaging Demo

Permlink Replies: 0 Threads: [ Previous | Next ]
Daniel Fields

Posts: 622
Registered: 11/29/04
Simple Intraweb Messaging Demo
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 8, 2016 7:42 AM
This is a simple example of a messaging system written completely in Intraweb. This is a proof-of-concept only. It is styled after a chatroom where each user has a name, and messages are sent to the group. This example also allows messages to be sent to individual users.

The user sets his/her Username, and is then able to send messages to the group or to specific users. There is a button to refresh the user list. The user may also toggle their status from online to offline.

This can be tested on a development machine by opening multiple instances, and setting different usernames in each. It could also be tested by opening an instance in different browsers. It contains a single form that is formatted for a desktop browser. It would easily work in a form created for phones.

There is a timer that checks for new messages. The interval can be changed to anything you need. I have added a few critical sections to make it thread safe.
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02