110 likes | 265 Views
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.
E N D
Checklist Barnett Trzcinski September 13, 2010
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 • 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
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
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