No-database Flash-PHP chat. Part IV: Usability and nice-to-have features

In this article we will continue working on our Flash-PHP chat application (see Part I, Creating Basic Chat Functionality, Part II Security and Usability features and Part III Security and Usability features (continued))

Today we will cover the following topics:

  • Using unique colours for each user’s messages
  • Displaying timestamp with each message
  • Automatically placing keyboard focus in the nickname field on the log-in form
  • Log-in by pressing “Enter” key
  • Send and format messages by pressing “Enter” Key
$2.89
- OR -

Overview

Just before diving into the new features I would like to bring to your attention one important issue:
Recently a reader has notified me about the problem with Internet Explorer, where the chat window would not update unless the browser caching setting ("Check for the newer version of stored pages") was set to "Every visit to the page", instead of the default one "Automatically". In order to get to this setting you must click Tools-> Internet Options, then on the General Tab Settings (see screenshots below)



Obviously the majority of users never get to see this dialog box, and even when they do they often have no idea what "Automatically" means. What it does mean however is that most of time in order to get the newest version of the page you will have to hit the browser Refresh button.

Alex July

Alex JulyAlex July is a Vancouver-based (Canada, British Columbia) Web Developer/ Graphic Artist who has an extensive experience in both creative realms.
He is also a host of Linecraft.com where he is showcasing his skills and sharing experience with the developers community. For the past 3 years Alex has been focusing on the development of Rich Internet Applications using Macromedia Flash technology.

When away from the computer Alex is practicing Martial Arts, playing guitar and enjoying time with his wonderful family.

See All Postings From Alex July >>

Reviews

Be the first to write a review

You must me logged in to write a review.