Team 9 – Jailbreakers Team Project Requirements Specification

advertisement

Team 9 – Jailbreakers

Team Project Requirements Specification

1.

Objective: The objective of our project is threefold. First, we allow the user to get the weather for his current location. Second, it streamlines the process of inviting a friend to a restaurant, via a text message template. Third, it finds the location of his friends in the area, and provides directions accordingly if desired.

As a user, this benefits frequent travelers, for both friendly and business purposes. As programmers, this helps us become acquainted with the Cocoa framework and the Macintosh environment in developing an application for the iPhone. It also provides several proof-ofconcepts, such as the ability to call web services from the iPhone, and the ability to insert and retrieve information from a database.

2.

List of features a.

The first feature is to provide weather updates of the user’s current location. We will find the user’s current location via a Cocoa SDK call, and use his latitude and longitude as arguments to the National Digital Forecast Database’s web service: http://www.nws.noaa.gov/xml/ . This will be the first feature to implement, as it demonstrates that we can successfully communicate with a web service, and interpret

SOAP messages.

This feature benefits the user in that traditionally, one must know his zip code to get the current weather. However, this feature bypasses that step entirely.

Use case

Summary

Preconditions

Basic course of events

Finds the current weather information of the user

The user has internet connectivity.

1.

User clicks on a get weather button.

2.

A web service is called to get the current weather

3.

The weather information is returned and displayed on the GUI b.

The second feature creates a single process for inviting a friend or business partner to a restaurant. This process will send a message automatically with the appropriate information. This most likely will entail calling a web service, which then sends an email via SMTP on our behalf.

Use case:

Summary

Preconditions

Basic course of events

The user selects an event to go to, and invites a friend via a text message

The user has internet connectivity.

1.

The user clicks on Choose Restaurant

2.

The web service returns a list of restaurants in the area

3.

The user chooses a restaurant.

4.

The user selects a friend or friends from his friends list

5.

The user sends a message inviting the friend via a web service call, which then uses SMTP to send the message. c.

The third feature will find the location of all of the user’s friends in the area, ranked by distance. As long as the application is running, it shall periodically update the user’s location into a database that we own, via a web service call. The user can then find directions to a friend, via a Google Maps web service call.

Use case:

Summary

Preconditions

Basic course of events

The user can find friends in the area, and get directions.

The user has internet connectivity

1.

User clicks on find friends.

2.

A web service method is called, which finds the distance to each of his friends, and their current location.

3.

The distance is displayed as a list.

4.

The user can then select a friend from the list, which finds the directions to that friend via a Google Maps web service call.

5.

The directions may be displayed as text, or via a

Google Maps web browser gui.

3.

Users: Our project is intended for general iPhone and iPod Touch users.

4.

Assumptions: The program assumes that there is connectivity to the internet, and the features cannot operate successfully without it.

Download