Practices
  Home arrow Practices arrow Page 5 - The Importance Of Interface Text (part 2)
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
PRACTICES

The Importance Of Interface Text (part 2)
By: Deepa L, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 3
    2003-03-26


    Table of Contents:
  • The Importance Of Interface Text (part 2)
  • Brass Tacks
  • The Screening Process
  • Playing The Field
  • When Things Go Bad...
  • Offering Instruction
  • Better Safe Than Sorry
  • Globe-trotting

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    The Importance Of Interface Text (part 2) - When Things Go Bad...
    ( Page 5 of 8 )

    Next up, error messages, one of the most important components to consider when creating interface text, purely because of its potential to unnerve the user.

    A well-written error message should cover three bases:
    • What happened?
    • What is the result?
    • What does the user need to do?
    You will usually have two kinds of errors - validation errors and exceptions.

    Validation errors occur due to incorrect data entry by the user, and therefore, the error message needs to essentially point out the input field where the error occurred and how to correct it. In an online expense claim system, for example, if a user enters an amount claim that exceeds his total permissible expenses, a validation error would occur, and the following message would be generated: "Your expense claim cannot be greater than your total permissible claim. Please re-enter your expense claim."

    An exception, on the other hand, occurs due to a back-end problem - for example, the database has missing data or a resource cannot be found. Typically, these are internal errors beyond the control of the user, and the error message should reflect this, essentially asking the user to contact a more technically-astute administrator to identify and rectify the problem.

    Some things to keep in mind with respect to exception messages:
    • The message should specify whether the changes made have been reset and the user needs to enter them again or simply use the "Submit" or "Save" commands to register the changes.

    • Avoid letting the system code for the errors appear on screen. And also avoid using exclamations in error messages - "Oops! You screwed up!!!!" is definitely not a good error message to see in an application.

    • The user need not be informed of any back-end processes that are causing the error. In case there is nothing more the users can do, ask them to contact the administrator.

    You can be more professional in your design of error messages by creating a single database of generic error messages, and reusing them in your application - for example, "<field> contains data of incorrect type", where <field> is a variable that is automatically replaced with an actual field name by the program. The benefit here is that you have a single database of error messages, and can immediately enforce a consistent style across the entire application.

    Your other option is to write specific messages, like the message for claim expenses above. You will need to write these for validations that are *not* common across the application. In practice, you will nearly always end up with a combination of these two approaches. The thing to be sensitive to here is that you should not have an overlap between the two approaches - that is, you should not be writing a specific message for a situation where the generic one will suffice.

     
     
    >>> More Practices Articles          >>> More By Deepa L, (c) Melonfire
     

       

    PRACTICES ARTICLES

    - More Techniques for Finding Things
    - Finding Things
    - Finishing the System`s Outlines
    - The System in So Many Words
    - Basic Data Types and Calculations
    - What`s the Address? Pointers
    - Design with ArgoUML
    - Pragmatic Guidelines: Diagrams That Work
    - Five-Step UML: OOAD for Short Attention Span...
    - Five-Step UML: OOAD for Short Attention Span...
    - Introducing UML: Object-Oriented Analysis an...
    - Class and Object Diagrams
    - Class Relationships
    - Classes
    - Basic Ideas





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek