Lecture 24 – Chapter 12 continued

704 views
633 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
704
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lecture 24 – Chapter 12 continued

  1. 1. Lecture 24 – Chapter 12 continued Human-Computer Interaction
  2. 2. Dialogs and Storyboards <ul><li>Dialog designs can be developed in many ways </li></ul><ul><li>Often evolve from descriptions of scenarios </li></ul><ul><li>Can proceed from written descriptions of steps, describing what the user and the computer are to do at each step (ie. Scenarios) </li></ul><ul><li>Format of these steps may have already been obtained during analysis when we described the flow of events model for scenarios (also called in use case scenarios) </li></ul><ul><ul><li>See next slide for example of such written descriptions of use scenarios (this example was given in chpt. 7 on OO analysis, when we documented use cases ) </li></ul></ul>
  3. 4. <ul><li>Can go from the use scenarios, like one on last slide and break it down further into a sequence of user actions, Eg.: </li></ul><ul><ul><li>Customer calls RMO and talks to order clerk </li></ul></ul><ul><ul><li>Order clerk verifies the customer information </li></ul></ul><ul><ul><li>If this is a new customer a new customer record is created </li></ul></ul><ul><ul><li>ETC. </li></ul></ul><ul><li>Other ways of describing dialogs include: </li></ul><ul><ul><li>Writing out a dialog like the one presented earlier in chapter 12 </li></ul></ul><ul><ul><li>See next slide for example we saw last week of dialog in tabular form </li></ul></ul>
  4. 6. Storyboarding <ul><li>Can go from written description of user interactions, as shown in examples on previous slides to sketching out various series of screens that the make the design clear </li></ul><ul><li>Storyboarding </li></ul><ul><ul><li>A technique used to document dialog design by showing a sequence of sketches of the display screen </li></ul></ul><ul><ul><ul><li>These sketches can be made using a prototyping tool (like Visual Basic) or can even just be drawn out on paper (each page showing one screen of the dialog) </li></ul></ul></ul><ul><ul><li>Can make the screen drawings based on steps from the written scenarios (or written versions of dialogs) </li></ul></ul><ul><ul><ul><li>See next 2 slides for an example of a written description of the dialog representing the event Customer rents videos (a written scenario) </li></ul></ul></ul><ul><ul><ul><li>See slide after that for the corresponding storyboard showing drawings of potential screens for each step ( note - screen numbers in written description refer to screens in this slide ) </li></ul></ul></ul>
  5. 7. <ul><li>System: What Downtown Videos option do you want? </li></ul><ul><li>( screen 1 ) </li></ul><ul><li>User: I need to rent some videos </li></ul><ul><li>System: Okay, what is the customer’s ID number for </li></ul><ul><li>this rental? ( screen 2 ) </li></ul><ul><li>User: It is 201564 </li></ul><ul><li>System: Fine, your customer is Nancy Wells as 1122 </li></ul><ul><li>Silicon Avenue. Note that she has two kids, </li></ul><ul><li>Bob and Sally, who can only rent PG-13 </li></ul><ul><li>videos. Correct? ( screen 3 ) </li></ul>
  6. 8. <ul><li>User: Yes. </li></ul><ul><li>System: What’s the ID number of the first video she </li></ul><ul><li>wants to rent? ( screen 4 ) </li></ul><ul><li>User: It is 5312. ( screen 5 ) </li></ul><ul><li>System: Fine, that Titanic (the 1953 with Barbara </li></ul><ul><li>Stanwyck) with a rental charge of $1.00 for </li></ul><ul><li>three days, rated PG. What’s the ID number of </li></ul><ul><li>the next video or is that it? </li></ul><ul><li>User: It is 8645. ( screen 6 ) </li></ul><ul><li>System: Fine, that is Titanic (the 1998 version) with a </li></ul><ul><li>rental charge of $3.00 for three days ….. </li></ul>
  7. 10. Notes on the Storyboarding Example on previous slides <ul><li>The designer thinks through the sequence of screens that the user would need to carry on the dialog with the user (see last slide for example of screens) </li></ul><ul><ul><li>E.g. as shown on last slide the user needs to enter a customer ID and several video IDS and the computer would have to look up and display information on the customer and each video rented etc. </li></ul></ul><ul><ul><li>Note that the system has a menu hierarchy based on the dialog and user needs </li></ul></ul><ul><ul><ul><li>The dialog uses one form and a few dialog boxes </li></ul></ul></ul><ul><ul><ul><li>Note that on the previous slide, the questions the computer asks are shown in the prompt area at the bottom of the form (matching almost identically the phrases in the written dialog) </li></ul></ul></ul><ul><ul><ul><li>The user would have the option of either scanning or typing the few IDS that must be entered </li></ul></ul></ul><ul><ul><li>As working prototypes are produced, many further details may still need to be worked out </li></ul></ul>
  8. 11. Evaluating storyboards and emerging design <ul><li>As the design progresses, reviewing the golden rules and other guidelines will keep focus on usability </li></ul><ul><li>Note – you can even do usability testing with screen mockups of interface/system (from our storyboard) but can even still do using paper screens </li></ul><ul><ul><li>Give user a task and ask to “think aloud” or comment on the screens and their sequencing </li></ul></ul><ul><ul><li>Can video tape users doing this (ie. work with the prototype) </li></ul></ul><ul><ul><li>Can analyze and use this information to feedback iteratively into screen design and redesign </li></ul></ul><ul><li>As design progresses you will end up doing this usability testing on the actual working computer prototype of the system, or early on can even make and show a video “dramatization” of what the system will look like) </li></ul>
  9. 12. Dialog Documentation with UML Diagrams <ul><li>OO approach provides specific UML diagrams useful for modeling user-computer dialogs </li></ul><ul><ul><li>Objects send messages back and forth listening to and responding to each other in sequence </li></ul></ul><ul><ul><li>People also send messages to objects and receive messages back from objects </li></ul></ul><ul><ul><li>The sequence diagram shows a user (actor) sending messages to objects </li></ul></ul><ul><li>OO approach involves adding interface objects to class diagrams (see chapter 9) </li></ul><ul><ul><li>Show more detail about dialog between user and computer </li></ul></ul><ul><li>A collaboration diagram can also show another view of the dialog design </li></ul>
  10. 13. OO Approach to Dialog Documentation <ul><li>Determine what forms are required for the dialog based on the techniques described above </li></ul><ul><li>The sequence diagram for the scenario is expanded to show the user interacting with the forms </li></ul><ul><li>The user-interface classes that make up the forms can be modeled using a class diagram </li></ul><ul><li>Finally, the sequence diagram is further expanded to show the user interacting with specific objects that make up the form </li></ul>
  11. 14. Example <ul><li>The next slide shows the sequence diagram for the RMO use case Look up item availability </li></ul><ul><li>The slide after that shows the expanded version of the sequence diagram that includes a form object (or window) with which the user interacts </li></ul><ul><ul><li>The form has been inserted between the actor and problem domain objects </li></ul></ul><ul><ul><li>The actor interacts with the interface objects on the form to talk to the problem domain objects, which reply through the interface objects on the form </li></ul></ul><ul><ul><li>Note that the analysis model of the interaction just shows the messages between the actor and the problem domain objects </li></ul></ul><ul><ul><li>Note that the design model inserts the interface to create a physical model of the interaction </li></ul></ul>
  12. 17. Class Diagram showing interface classes making up the item search form <ul><li>Next slide shows a class diagram with the interface classes used to make up the form </li></ul><ul><li>The Frame class represents the basic structure that contains other interface objects (using whole-part or aggregation relationships) </li></ul><ul><ul><li>A menu bar is attached to the Frame </li></ul></ul><ul><ul><li>The menu bar contains Menus </li></ul></ul><ul><ul><li>A menu contains Menu Items etc. </li></ul></ul><ul><ul><li>List, Button and Label are also parts of the frame </li></ul></ul><ul><li>The example is based on Java and enables the frame to “listen” for events that occur to interface objects, e.g. clicking a menu or choosing a button </li></ul><ul><li>The frame’s actionListner() method is invoked when the frame “hears” that an event has occurred </li></ul>
  13. 19. Expanding the Sequence Diagram to include interface design <ul><li>A sequence diagram can be used to model the messages between the user and the specific objects making up the forms </li></ul><ul><li>Can make an expanded sequence diagram that emphasizes the details of the form’s design (so problem domain details can be omitted) </li></ul><ul><li>See next slide for Look up item availability </li></ul><ul><ul><li>Nothing has changed in part of sequence diagram where problem domain objects interact with themselves </li></ul></ul><ul><ul><li>The interface objects have simply been plugged in between them and the actor </li></ul></ul>
  14. 21. <ul><li>In the previous slide the user interacting with the Look up item availability form selects an item to look up in the list and then clicks the search button </li></ul><ul><li>The frame “hears” the click , asks the list for the selected item, and uses the selected item in the message to query the catalog object , which then interacts with the other domain objects </li></ul><ul><li>When the catalog object returns the information, the frame tells the label to display the information to the user </li></ul><ul><li>The next slide shows a collaboration diagram containing the same information as the sequence diagram </li></ul><ul><ul><li>Emphasizes messages between objects but it shows sequence </li></ul></ul>
  15. 23. Notes on OO approach <ul><li>System analyst needs to think through the natural sequence of interaction early on and create a sequence diagram for each scenario of the use case </li></ul><ul><li>The basic dialog is then extended to include user-interface objects for the user and computer when they interact </li></ul><ul><li>Since the same diagrams are used during analysis and design (with design adding more detail) the object-oriented approach lends itself to iteration </li></ul>
  16. 24. Guidelines for Designing Windows Forms <ul><li>Each dialog might require several windows forms </li></ul><ul><li>Each form must be carefully tested for usability </li></ul><ul><li>Most business systems today are developed for </li></ul><ul><ul><li>Microsoft Windows </li></ul></ul><ul><ul><li>X-Windows (UNIX) </li></ul></ul><ul><ul><li>Macintosh </li></ul></ul><ul><li>Form design is similar for these </li></ul><ul><li>Need to distinguish between standard input and browser input </li></ul>
  17. 25. Standard input forms vs. Browser forms <ul><li>Standard input forms </li></ul><ul><ul><li>Programmed in a language like Visual Basic or Java </li></ul></ul><ul><ul><li>Extremely flexible and can access data directly on a workstation </li></ul></ul><ul><li>Browser forms </li></ul><ul><ul><li>Programmed in HTML and XML and follow Internet conventions </li></ul></ul><ul><ul><li>Can be displayed using a markup language browser (e.g. Netscape or Explorer) </li></ul></ul><ul><ul><li>Currently do not permit the same level of design flexibility as standard input forms but next generation markup languages may support all the desired features </li></ul></ul><ul><ul><li>E-commerce is growing so some companies are designing their user interfaces on all new systems based on HTML or XML </li></ul></ul>
  18. 26. Use of Prototyping Tools <ul><li>After identifying the objective of the input form and its associated data fields, the system developer can develop the form using prototyping tools </li></ul><ul><ul><li>More efficient than laying out on paper – in past spent larger amount of time to create and layout forms on paper </li></ul></ul><ul><ul><li>Can design the look and feel of the form at the same time </li></ul></ul><ul><ul><li>Permits the user to be heavily involved in development (provides a strong sense of ownership and acceptance) </li></ul></ul>
  19. 27. Types of Forms <ul><li>Input forms </li></ul><ul><ul><li>Used to record a transaction or enter data </li></ul></ul><ul><ul><li>Some portion of the form may contain information for the user </li></ul></ul><ul><ul><li>Like the example of forms we saw above for the DownTown Videos storyboard example (fig. 12-9) </li></ul></ul><ul><li>Input/Output forms </li></ul><ul><ul><li>Generally used to update existing data </li></ul></ul><ul><ul><li>Display information about a single entity, e.g. customer </li></ul></ul><ul><ul><li>Allows for update by typing in over displayed data </li></ul></ul><ul><li>Output forms </li></ul><ul><ul><li>Used primarily for displaying data </li></ul></ul><ul><ul><li>Design based on same principles as report design </li></ul></ul>
  20. 28. Form Layout and Formatting <ul><li>Concerned with the general look and feel of the form </li></ul><ul><li>One method to ensure that forms are well laid out is to prototype various alternatives and the user test them </li></ul><ul><li>In designing input forms you should consider </li></ul><ul><ul><li>Consistency </li></ul></ul><ul><ul><li>Headings, labels and logos </li></ul></ul><ul><ul><li>Distribution and order of data-entry fields and buttons </li></ul></ul><ul><ul><li>Font sizes, highlighting and colors </li></ul></ul>
  21. 29. <ul><li>Some systems require large teams of programmers and all forms within a system need to have the same look and feel </li></ul><ul><li>Consistent use of function keys, short cuts, control buttons and color and layout make a system professionally looking </li></ul><ul><li>The headings, labels and logos of the form convey the purpose of the form </li></ul><ul><li>The designer should also place data entry fields carefully </li></ul><ul><ul><li>Related fields should be placed near each other </li></ul></ul><ul><ul><li>If input is from a paper form, the tab order should follow the reading of the paper </li></ul></ul><ul><ul><li>Use blank space where needed </li></ul></ul><ul><ul><li>De facto traditions for placement of buttons should be considered </li></ul></ul>
  22. 30. <ul><li>Font size, highlighting and color can be used to make the form easy to read </li></ul><ul><ul><li>Careful mix of large and small fonts, bold and normal </li></ul></ul><ul><ul><li>Too much variation can cause the form to be cluttered </li></ul></ul><ul><ul><li>Column headings and totals should be larger or boldfaced </li></ul></ul><ul><li>Example of form on next slide </li></ul><ul><ul><li>Used to look up information about a product and to add it to an order </li></ul></ul><ul><ul><ul><li>The title and labels make it easy to read </li></ul></ul></ul><ul><ul><ul><li>Natural flow of the form is top to bottom </li></ul></ul></ul><ul><ul><ul><li>Related fields are placed together </li></ul></ul></ul><ul><ul><ul><li>Navigation and close buttons are easily found </li></ul></ul></ul>
  23. 32. Data Keying and Entry for Standard Windows <ul><li>Text box </li></ul><ul><ul><li>An input control that accepts keyboard data entry </li></ul></ul><ul><ul><li>A text box consists of a rectangular box that accepts keyboard data </li></ul></ul><ul><ul><li>It is a good idea to add a descriptive label to identify what should be typed in </li></ul></ul><ul><ul><li>Can be designed to limit the entry to a specific length on a single line or permit scrolling with multiple lines </li></ul></ul>
  24. 33. <ul><li>List box </li></ul><ul><ul><li>An input control that contains a list of acceptable entries the user can select </li></ul></ul><ul><ul><li>Usually consists of a list of predefined list of data values and user can select one from the list </li></ul></ul><ul><ul><li>The list can be presented either within the box or as a drop-down list </li></ul></ul><ul><li>Spin box </li></ul><ul><ul><li>A variation of the list box that presents multiple entries in the text box itself from which the user can select </li></ul></ul><ul><ul><li>Two spinner arrows let the user scroll through all values </li></ul></ul>
  25. 34. <ul><li>Combo box </li></ul><ul><ul><li>Another variation of the list box that permits the user to enter a new value or select from the entries </li></ul></ul><ul><li>Radio buttons (option buttons) </li></ul><ul><ul><li>Input controls that enable the user to select one option from a group </li></ul></ul><ul><ul><li>The system automatically turns off all the other buttons in the group when one is selected </li></ul></ul><ul><li>Check boxes </li></ul><ul><ul><li>Input controls that enable the user to select more than one option from a group </li></ul></ul>
  26. 36. Navigation and Support Controls <ul><li>Standard Windows interfaces provide several controls for navigation and window manipulation </li></ul><ul><li>For Microsoft applications these controls are </li></ul><ul><ul><li>Minimize, Maximize and Close buttons on top-right corner </li></ul></ul><ul><ul><li>Horizontal and vertical scroll bars </li></ul></ul><ul><ul><li>The selection bar </li></ul></ul><ul><li>Good to be consistent </li></ul><ul><li>You should place buttons on the screen that allow users to move to other relevant screens, to search and find data </li></ul>
  27. 37. Data Keying and Entry for the Browser Interface <ul><li>Browser interfaces (e.g. Netscape, Explorer) are dependent on the capabilities in the markup languages such as HTML and XML </li></ul><ul><li>A difference between standard windows input forms and browser input forms </li></ul><ul><ul><li>The windows form can easily perform edits field by field as the data are entered </li></ul></ul><ul><ul><li>In a browser input form, the edits are not performed until the entire form is transmitted to the server </li></ul></ul><ul><ul><li>However with increase in use of Web, future developments will lead to browser forms and input forms that have similar capabilities </li></ul></ul>
  28. 38. Help Support <ul><li>Three types of help are available in current systems </li></ul><ul><ul><li>A tutorial that walks you through the use of the form </li></ul></ul><ul><ul><ul><li>Can be organized by task </li></ul></ul></ul><ul><ul><ul><li>Generally includes one dialog and set of forms for one task </li></ul></ul></ul><ul><ul><li>An indexed list of help topics </li></ul></ul><ul><ul><ul><li>The list can be invoked through a keyword search or help wizard (a program that does an automatic keyword search based on words found in a question or sentence) </li></ul></ul></ul><ul><ul><li>Context-sensitive help </li></ul></ul><ul><ul><ul><li>Automatically displays the appropriate help topic based on what the user is doing </li></ul></ul></ul>

×