Presentation is loading. Please wait.

Presentation is loading. Please wait.

Smart Shopper iPhone App

Similar presentations


Presentation on theme: "Smart Shopper iPhone App"— Presentation transcript:

1 Smart Shopper iPhone App
Team: Parth Saxena Sowmya Coppisetty Abhinav Chhabra Guy Hail

2 Team - Mentor Dr. Alfredo Perez – Davila Associate Professor
(Computer Science and Computer Information Systems) Delta 167 (location) Phone:

3 Smart Shopper – Team Roles
Parth Saxena Team Leader & Programmer Sowmya Coppisetty Documentation & Programmer Abhinav Chhabra Programmer & Website maintenance Guy Hail Programmer & Tester

4 Purpose The “Smart Shopper” application provides users the ability to choose a local grocery store, browse the products it offers, and to compose a shopping list chosen from the available products. Provides more convenient and planned way of shopping to a user.

5 The Application A server which supplies lists of grocery stores, lists of products, and discount coupons for product. A client which allows the user to choose stores and organize a shopping list.

6 The Server The server is a web service, which when queried by the client replies with the appropriate data. Web service queries the database: - What grocery stores are in the user’s locale? - What products does the chosen store offer? - What is the discount coupon for a product?

7 The Client - Presents the data to the user
Description- - Retrieves data from the server - Presents the data to the user - Allows the user to organize the data

8 The Client Services- - Select a grocery store
- View and choose from a store’s products - Allows a user to add own - View and manage a shopping list for a store - View a discount coupon for a product

9 Application model

10 Technologies Server Side Technologies: DCM Server (Microsoft IIS6) PHP
My Sql Database Subversion Repository

11 Technologies Client Side Technologies An iPhone with iOS 4
Objective-C 2.0 XCode IDE

12 Functional Requirements
SERVER SIDE CLIENT SIDE

13 Server Side Requirements
List_Stores() List_Products() List_Coupons()

14 Client Side Requirements
Display Map Fetch and store List locally Display Stores Display Product List Add a product Sort Product List

15 Client Side Requirements
Add Items to Cart Tracking state of an item Update Cart Find Coupons Server Fails to Respond Default Memory State

16 Managing the shopping list
Display items in cart

17 Non Functional Requirements Server
Server Side: Server Response Time. Partial Server Response. Report Server Failure.

18 Non Functional Requirements Client
Client Side: Arrangement of buttons (Apple Human interface guidelines). Size and Spacing of Buttons. Text (Font Size) should be readable.

19 Behind the scenes Hi everybody, My name is Abhinav Chhabra and I am going to take you through our application screen by screen and let you know, what actually happens behind the application.

20 Before launch Now, this is how the icon for our application looks like on an iphone/ipod before you launch it.

21 Start screen When you launch the application it requests the web service to fetch all the stores in the database. Starts with displaying a map with pins showing nearby grocery stores from the default location. Location services should be on; if not the user will be requested to turn on the services. Once you launch it, the application sends a request to the web service and asks for the list of stores in the form of a PHP script and then the web service queries the database in the form of an SQL query and fetches all the stores which are there in the database. These stores are sent to the application in by the web service by converting it in XML format. The app starts with displaying a map with pins dropped on it showing the nearby grocery stores from the default location. Now there is an option of setting the default location which I am gonna show you in the next slide. Now the option of the location services should be on from the phone settings.

22 Application settings Default latitude and longitude can be changed through the settings. There is an option of changing the search radius.

23 Product list On clicking a grocery store the web service reads the storeid from the request URL sent by the application through GET method of PHP. Appropriate query is executed and the list of products and corresponding coupons are fetched. The result of the query is changed into XML format and sent to the application. Once the user clicks a grocery store he wants the list of products associated with that store. So on clicking the store the client sends the storeid to the web service in the request URL and this storeid is read by the webservice through the GET method of PHP in the second php script which we have written. Now the service queries the database accordingly in the form of an sql query and fetches a list of products along with the coupon information specific to that store. The challenge was to covert the results of a SQL query to the XML format. After lots of reading and research, we came across different methods. We implemented a function in PHP to convert the results to the XML format. There were various automated methods available, but we chose to write a function for the conversion. The function is called ‘sqltoxml’.

24 Viewing Coupons By selecting the required products in the list, the list is ready to shop. There is an option of viewing the coupon specific to a product in form of an image. Once the user gets a list of products the user can select the products which are required and the list is ready to be shopped. We had an option of saving the coupon as form of an image or as a form of URL. From the perspective of performance we chose to save the URL of the coupon instead of the image as it would have naturally occupied more space and time to load on the screen.

25 Products sorted as per their aisle
The products which were selected get sorted according to their aisle and get populated in the list. These products are ready to be shopped. Once the user selects all the products which he needs these products get sorted according to their aisle.

26 Adding a product When the user goes through the list of products available for a particular store and if he does not find something he still needs it there is a provision in this application to add a new product and save to the final shopping list.

27 Database Snapshot grocery_stores
This is a snapshot of the database tables and their attributes which we have build grocery_stores

28 Database Snapshot products_table
Both these tables are in first normal form products_table

29 Demonstration

30 Concept For whom is the application written?

31 Smart Shopper Mobile Notepad? Availability Service?

32 Primary Stakeholder The Grocery Store

33 Cornucopia Grocery stores offer thousands of products.

34 Network EDGE, 3G, Wifi

35 Hierarchy Table Subtable

36 Dog food? I don’t have a dog!

37 Frederick Brooks “In most projects, the first system built is barely usable. It may be too slow, too big, awkward to use, or all three.”

38


Download ppt "Smart Shopper iPhone App"

Similar presentations


Ads by Google