Chapter 26: Webchat
Số trang: 56
Loại file: pdf
Dung lượng: 414.57 KB
Lượt xem: 17
Lượt tải: 0
Xem trước 6 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Webchat là một chương trình CGI hữu ích cho phép một số người trên World Wide Web để nói chuyện với nhau cùng một lúc. Nó khác với một BBS (hệ thống bảng thông báo), trong đó thông điệp được đọc giờ hoặc vài ngày sau khi chúng được đăng. Khả năng trò chuyện trên web có thể là một cách nhanh chóng để tổ chức một hình 26,1 cho thấy một ví dụ về webchat trông giống như "cuộc họp ảo". Mặc dù cả hai webchat và lưu các tin nhắn WebBBS cho những người khác để đọc, có...
Nội dung trích xuất từ tài liệu:
Chapter 26: Webchat C HA PT E R 2 6 WebChatOVERVIEWWebChat is a useful CGI program that allows a number of people on theWorld Wide Web to talk to one another simultaneously. It differs from aBBS (bulletin board system), in which the messages are typically readhours or days after they are posted. The ability to chat on the Web can bea quick way to hold a “virtual meeting.” Figure 26.1 shows an example ofwhat WebChat looks like. Although both WebChat and WebBBS store messages for other peo-ple to read, there is a major difference in how the user sees and postsmessages. The BBS emphasizes long-term storage of messages, includingstatistical data such as the date and time the message is posted. The BBSalso encourages users to branch out into different topics in “threads” ofreplies. 683 Chapter 26: WebChat On the other hand, WebChat emphasizes the quick posting of small messages much like a conversation among a group of people. Dialogue is designed to flow swiftly in small, easily digested chunks. Additionally, because the topic is being discussed by everyone at the same time, there is little room for different people discussing many different things in the same chat session. Thus, there is no reason to keep track of different threads of conversation. Figure 26.1 An example dialogue in WebChat. Because people are discussing things simultaneously in real time, another feature of WebChat is the ability to refresh or display new mes- sages as quickly as desired. This is done using the META HTML tag to force refreshes within a certain time frame. WebChat includes many features designed to facilitate this kind of dialogue. In WebChat, users can refresh messages using a button that is684 Chapter 26: WebChatdisplayed in plain view. In addition, if the user is using a browser such asNetscape, that supports the META REFRESH HTML tag, the user can choose tohave the chat messages refresh or redisplay themselves automatically at auser-defined interval. Messages are displayed in chronological order of posting from mostrecent to oldest so that users can quickly look through a list of state-ments. In addition, users can specify whether to see only new messageseach time they refresh the screen or to include a user-defined number ofprevious messages. Viewing several of the previous posts along with newones tends to provide the user with greater continuity. By default, messages are posted to everyone, and the user’s informa-tion is embedded as part of a posted message. This arrangement facili-tates quick posting. By default, posted messages are seen by everyone.However, the user has a choice of entering a different username to speci-fy whom the message should go to; the message is then entered as a pri-vate message from one person to another. This is option analogous tosomeone whispering a comment to someone else in the middle of a larg-er meeting. Additionally, Netscape-style frames are supported; messages arerefreshed in one frame while the user types messages in another frame.This feature allows a user to set a relatively high refresh rate for seeingnew messages, while leaving the message submission form intact whilethe user is typing a message. Figure 26.2 shows an example of WebChatwith frames. WebChat also has configurable options such as the automaticannouncement of a user’s entry into the chat area, allowing people tokeep track of who is currently in the system. Also, when a person leaves,he or she is encouraged to announce the departure by pressing the LogOff button. Nothing is more disturbing than to find out the person youwere chatting with has left the room!In addition, WebChat can be customized to remove old messages by ageand by number of messages. For example, if WebChat is used for real-time conversations, it is generally not useful to keep the conversationmessages for more than an hour. Additionally, you may want to make 685 Chapter 26: WebChat sure that not more than 10 or 20 messages stay around at any given point, because messages older than the first 10 may be irrelevant to the current course of conversation. On the other hand, on other chat areas, you may want to keep the messages around for a long time to keep a full transcript of the discussion or meeting. Figure 26.2 WebChat with frames on. INSTALLATION AND USAGE The chat files on the accompanying CD-ROM will install into a directory called Chat. The files and subdirectories associated with this application along with their requ ...
Nội dung trích xuất từ tài liệu:
Chapter 26: Webchat C HA PT E R 2 6 WebChatOVERVIEWWebChat is a useful CGI program that allows a number of people on theWorld Wide Web to talk to one another simultaneously. It differs from aBBS (bulletin board system), in which the messages are typically readhours or days after they are posted. The ability to chat on the Web can bea quick way to hold a “virtual meeting.” Figure 26.1 shows an example ofwhat WebChat looks like. Although both WebChat and WebBBS store messages for other peo-ple to read, there is a major difference in how the user sees and postsmessages. The BBS emphasizes long-term storage of messages, includingstatistical data such as the date and time the message is posted. The BBSalso encourages users to branch out into different topics in “threads” ofreplies. 683 Chapter 26: WebChat On the other hand, WebChat emphasizes the quick posting of small messages much like a conversation among a group of people. Dialogue is designed to flow swiftly in small, easily digested chunks. Additionally, because the topic is being discussed by everyone at the same time, there is little room for different people discussing many different things in the same chat session. Thus, there is no reason to keep track of different threads of conversation. Figure 26.1 An example dialogue in WebChat. Because people are discussing things simultaneously in real time, another feature of WebChat is the ability to refresh or display new mes- sages as quickly as desired. This is done using the META HTML tag to force refreshes within a certain time frame. WebChat includes many features designed to facilitate this kind of dialogue. In WebChat, users can refresh messages using a button that is684 Chapter 26: WebChatdisplayed in plain view. In addition, if the user is using a browser such asNetscape, that supports the META REFRESH HTML tag, the user can choose tohave the chat messages refresh or redisplay themselves automatically at auser-defined interval. Messages are displayed in chronological order of posting from mostrecent to oldest so that users can quickly look through a list of state-ments. In addition, users can specify whether to see only new messageseach time they refresh the screen or to include a user-defined number ofprevious messages. Viewing several of the previous posts along with newones tends to provide the user with greater continuity. By default, messages are posted to everyone, and the user’s informa-tion is embedded as part of a posted message. This arrangement facili-tates quick posting. By default, posted messages are seen by everyone.However, the user has a choice of entering a different username to speci-fy whom the message should go to; the message is then entered as a pri-vate message from one person to another. This is option analogous tosomeone whispering a comment to someone else in the middle of a larg-er meeting. Additionally, Netscape-style frames are supported; messages arerefreshed in one frame while the user types messages in another frame.This feature allows a user to set a relatively high refresh rate for seeingnew messages, while leaving the message submission form intact whilethe user is typing a message. Figure 26.2 shows an example of WebChatwith frames. WebChat also has configurable options such as the automaticannouncement of a user’s entry into the chat area, allowing people tokeep track of who is currently in the system. Also, when a person leaves,he or she is encouraged to announce the departure by pressing the LogOff button. Nothing is more disturbing than to find out the person youwere chatting with has left the room!In addition, WebChat can be customized to remove old messages by ageand by number of messages. For example, if WebChat is used for real-time conversations, it is generally not useful to keep the conversationmessages for more than an hour. Additionally, you may want to make 685 Chapter 26: WebChat sure that not more than 10 or 20 messages stay around at any given point, because messages older than the first 10 may be irrelevant to the current course of conversation. On the other hand, on other chat areas, you may want to keep the messages around for a long time to keep a full transcript of the discussion or meeting. Figure 26.2 WebChat with frames on. INSTALLATION AND USAGE The chat files on the accompanying CD-ROM will install into a directory called Chat. The files and subdirectories associated with this application along with their requ ...
Tìm kiếm theo từ khóa liên quan:
cách tạo trang web thủ thuật máy tính lập trình web xây dựng website quản lý webTài liệu liên quan:
-
52 trang 432 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 319 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 308 0 0 -
74 trang 303 0 0
-
Báo cáo tốt nghiệp: Xây dựng website bán mũ bảo hiểm
60 trang 266 0 0 -
Sửa lỗi các chức năng quan trọng của Win với ReEnable 2.0 Portable Edition
5 trang 216 0 0 -
Giáo trình Bảo trì hệ thống và cài đặt phần mềm
68 trang 209 0 0 -
Phần III: Xử lý sự cố Màn hình xanh
3 trang 207 0 0 -
Tổng hợp 30 lỗi thương gặp cho những bạn mới sử dụng máy tính
9 trang 206 0 0 -
UltraISO chương trình ghi đĩa, tạo ổ đĩa ảo nhỏ gọn
10 trang 204 0 0