1 / 11

Checklist

Checklist. Barnett Trzcinski September 13, 2010. Overview. Server. Google App Engine Datastore used to store data http://ece4564.appspot.com GET (with uid parameter) gets list contents POST (with action and data) changes list contents. Android.

amora
Download Presentation

Checklist

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Checklist Barnett Trzcinski September 13, 2010

  2. Overview

  3. Server • Google App Engine Datastore used to store data • http://ece4564.appspot.com • GET (with uid parameter) gets list contents • POST (with action and data) changes list contents

  4. Android • First launch initializes the checklist from the server • UID of the list can be set in the Options menu • List is fully interactive and automatically synchronized • Each HTTP task is queued as needed

  5. Adding and Editing Tasks

  6. Removing a Task and Changing Lists

  7. Server Code • Very simple – 93 lines including boilerplate comments • Uses the App Engine Python API • Google Datastore for storage • Free-form database format – no schema needed in advance of object creation • Maximum of 1GB of data to store (unless you pay) • More than enough quota constraints for this app and audience

  8. Key Features • All data is persistent because it is stored at App Engine • User does not have to synchronize • Tradeoff: User does not need an account… • So user doesn’t have any data protection, either • Complete use of POST for data modification and safe GETs enhances security of the service (can’t send in unsafe parameters over GET) • Full use of asynchronous background tasks for HTTP requests to avoid GUI locking

  9. Questions?

More Related