📜 ⬆️ ⬇️

Create an application for Windows Phone 7 from start to finish. Part 3. Defining your application

Previous part

After you have decided on the idea of ​​the application for Windows Phone, you need to define the tasks, pages and navigation flow.

In this part you will learn:

Custom Tasks


Reflecting on the tasks that the user can perform using your application, you will determine the capabilities of your application. Below are some ways to start designing an application.
Fuel Tracker, our sample application, allows the user to track the fuel consumption of their cars. The following image shows the brainstorming process and the board on which the application’s work plan is drawn.
')
image

The following are some of the user tasks that were originally created when designing the Fuel Tracker application as an example.
Custom taskA priority
Enter refueling information (vehicle refueling process)one
Entering information about the carone
View the history of refillsone
View the kilometer / liter reportone
Data entry for multiple vehicles2
Save the location of gas stations2
Gas station placement map2
Switching units of measurement (US or metric)3
View price / liter report3

Pages and navigation paths


To implement your list of user tasks, you need to define pages and navigation paths in more detail. You can do this by creating a navigation prototype. You can start thinking about how pages might look, but for now you don’t need to define specific controls. Your attention should be focused on creating a user-friendly navigation model. The following steps describe how to create a prototype.
  1. Create thumbnails representing the pages of your application. Each page should allow the user to perform at least one task.
  2. Add navigation tools, such as hyperlinks, buttons, or buttons on the application bar, to your sketches.
  3. Test page navigation with the help of navigation tools and the Back button.
Certification Requirement:
Pressing the "Back" button on the first page of the application should close the application.
Pressing the "Back" button on other pages should return to the previous page of the application.

Tip:
If you have Expression Studio Ultimate installed, you can use the SketchFlow features to create navigation prototypes.

The Fuel Tracker application consists of three pages and a photo selection window. The following image shows pages and navigation paths.

image

Try to keep the navigation model as simple as possible. When the Fuel Tracker application was originally designed, buttons were presented on each page to jump to any other page. This led to the following issues:
To address these issues, the Fuel Tracker navigation model has been changed to another, in which only the first page contains buttons for navigating to other pages, while other pages only allow you to go to the first page.

In this model, the first page is reused, while the other pages are recreated with each visit. Other pages are data entry pages, but since they are not reused, they are treated as modal dialog boxes. Users can either click the Save button to save the changes and go to the first page, or they can click the Back button to cancel the changes and go back.

Data thinking


You need to start thinking about the data that the application will use and how to organize it. You can start by listing the required data and try to group them logically. The following table shows some of the data required for the Fuel Tracker application. This will help you identify the controls that are needed in your application, and how you will transfer data from the user interface to the business logic of your application. In the "Data Mapping" and "Creating Data Classes" sections, you will learn more about how to display data in the user interface and how to create data classes for your application.
GroupData
CarTitle
A photo
Initial odometer reading
History of gas stations
Refuelingdate
Odometer reading
Amount of fuel
Fuel price
Next part

Source: https://habr.com/ru/post/117548/


All Articles