Address Book Example http://www.cs.gordon.edu/courses/cs211/AddressBookExample/

Slides:



Advertisements
Similar presentations
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Advertisements

Using a database to organize information
Case Study Lecture 4 UML Huma Ayub Department of Software Engineering
Creating a Form on a Web Page
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
4.3 Searching for Patient Information 4-12 Medisoft offers two options for conducting searches for information: 1.Search for and Field boxes 2.Locate buttons.
This presentation contains the following: -the availability and need menu options -the add option Mark Smith.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Outlook Project and Contact Management with Outlook.
CHAPTER © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 11 Scheduling.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 3 Maintaining a Database Using the Design and Update Features of Access.
Creating FrontPage Tasks The task view allows you to add information about what you want to accomplish when creating your Web site.
Document Basics Lesson 2. Skills Matrix SKILL #MATRIX SKILL 1.1.2Apply Quick Styles to documents 1.1.3Format documents using themes 1.1.4Customize a theme.
1 After completing this lesson, you will be able to: View and open folders. Open, edit, and save files. Print files. Sort files. (continued)
Chapter 1 Databases and Database Objects: An Introduction
Simple Address Book Case Study Lecture 4 UML Huma Ayub Department of Software Engineering.
Preview four Pages Click Here-----Click and Drag to Select 4 pages.
Exploring Office Grauer and Barber 1 Introduction to Access: What is a Database?(Wk1)
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
1. CLICK “CONTACTS” (BOTTOM LEFT CORNER OF SCREEN) 2. SELECT “NEW CONTACT GROUP”
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
1 Advanced Topics in Access How to create forms and reports Andrew Yu 03/04/2002.
MS-Word XP Lesson 9. Mail Merge The Mail Merge feature combines a list of data, typically name and address that is contained in one file with a document.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE OUTLOOK 2003 INTRODUCTORY COURSE.
Click your mouse to continue. Creating a New Mail Merge Document When you need to create a form letter but do not have an existing main document, you can.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Microsoft Outlook 2010 Chapter 3 Managing Contacts and Personal Contact Information with Outlook.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
CREATING A LABEL MAIL MERGE IN WORD. TERMS FIELDS RECORDS MERGE CODES.
) Main Menu: You can access all aspects of the database from this screen 2) Contacts: You can access the “contact database management” side of.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
FIRST COURSE Word Tutorial 6 Using Mail Merge. Objectives Learn about the mail merge process Use the Mail Merge task pane Select a main document Create.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT OUTLOOK Lesson 3 – Working with Other Outlook Tools.
Microsoft Access Introduction. What is a database? A DATABASE is a collection of related data.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Microsoft Access By Ritesh Sharma. Introduction Microsoft Access is a desktop database program that enables you to enter, store, analyze,and present data.For.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
5/14/2003Sprint TekNet IP Train the Trainer1 Open TekNet Software If working at a client station, enter the IP address of the server and mark page as a.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
1 After completing this lesson, you will be able to: Create and edit hyperlinks in worksheets. Save worksheets and workbooks as Web pages. Send workbooks.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Access Lesson 5 Creating and Modifying Reports
Maintaining a Database Using the Design and Update Features of Access
11 Scheduling.
Practical Office 2007 Chapter 10
European Computer Driving Licence
Microsoft Office Access 2003
Word Tutorial 6 Using Mail Merge
Printing Address Labels
Access Creating a Database
Creating and Using a Database
Access Creating a Database
Merging Word Documents
Chapter 7 Advanced Form Techniques
Creating Reports and Forms
Chapter 4 Creating Reports and Forms
MODULE 7 Microsoft Access 2010
Chapter 15: GUI Applications & Event-Driven Programming
European Computer Driving Licence
Grauer and Barber Series Microsoft Access Chapter One
Wings 2.0 Business Flow Reference
Shelly Cashman: Microsoft Access 2016
New User Registration Click the ‘Register’ link to create your profile.
Presentation transcript:

Address Book Example http://www.cs.gordon.edu/courses/cs211/AddressBookExample/

Requirement The software to be designed is a program that can be used to maintain an address book. An address book holds a collection of entries, each recording a person's first and last names, address, city, state, zip, and phone number. It must be possible to add a new person to an address book, to edit existing information about a person (except the person's name), and to delete a person. It must be possible to sort the entries in the address book alphabetically by last name (with ties broken by first name if necessary), or by ZIP code (with ties broken by name if necessary). It must be possible to print out all the entries in the address book in "mailing label" format. It must be possible to create a new address book, to open a disk file containing an existing address book to close an address book, and to save an address book to a disk file, using standard New, Open, Close, Save and Save As ... File menu options. The program's File menu will also have a Quit option to allow closing all open address books and terminating the program.

Mockup User Interface

Use Cases

Flows of Events for Individual Use Cases Add a Person Use Case The Add a Person use case is initiated when the user clicks the "Add" button in the main window. A dialog box appears, with title "New Person", containing fields for the user to fill in the new person's first and last names and other information. The box can be dismissed by clicking either "OK" or "Cancel". If the "OK" button is clicked, a new person is added to the end of the address book, and the person's name is added to the end of the list of names in the main window. If the "Cancel" button is clicked, no changes are made either to the address book or to the main window.

Identify Objects Add a Person Use Case The Add a Person use case is initiated when the user clicks the "Add" button in the main window. A dialog box appears, with title "New Person", containing fields for the user to fill in the new person's first and last names and other information. The box can be dismissed by clicking either "OK" or "Cancel". If the "OK" button is clicked, a new person is added to the end of the address book, and the person's name is added to the end of the list of names in the main window. If the "Cancel" button is clicked, no changes are made either to the address book or to the main window.

Object Analysis An initial reading of the use cases suggests that the following will be part of the system. A single entity object representing the current address book that the program is working with (AddressBook). An arbitrary number of entity objects, each representing one of the people that is in the current address book (Person). A boundary object representing the interface between the address book system and the human user (AddressBookGUI). A boundary object representing the interface between the address book system and the file system on disk (FileSystem). A controller object that carries out the use cases in response to user gestures on the GUI (AddressBookController). (For a problem of this small size, a single controller is sufficient.)

Object Analysis The various use cases work with these objects, as follows: The Add a Person Use Case involves getting the new information from the user, and then telling the AddressBook object to add a new person with this information to its collection The Edit a Person Use Case involves displaying the current information about the desired person (obtained from the AddressBook), then allowing the user to enter new information for the various fields, then telling the AddressBook object to make the changes. ……

Add a Person Use Case Sequence Diagram

CRC Cards Class Responsibility Collaboration (CRC) cards are a way to describe the responsibilities and collaborations between objects in an application. CRC cards are used as a brainstorming technique designed to walk-through use cases in order to create objects, responsibilities, and discover collaborators. CRC cards look like the following:

CRC Cards for Person

CRC Cards for AddressBookController

Class Diagram

Detailed Class Design

Coding Exercise: complete the code to realize the major functions of the AddressBook.