Using the File Data Source

Imagine that you want to create a simple task list app with the file data source. You want to be able to display a list of existing tasks and create new tasks (see Figure 9.1).

Image

FIGURE 9.1 Task list created with a file data source

You also want to be able to delete individual tasks by right-clicking/swiping a task and clicking the Delete button (see Figure 9.2) or delete all of the tasks by clicking the Nuke button.

Image

FIGURE 9.2 Deleting tasks with the file data source

The user interface for the task list app is contained ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.