Confirmed users
36
edits
Andregarzia (talk | contribs) |
Andregarzia (talk | contribs) |
||
| Line 86: | Line 86: | ||
GitHub Repository: https://github.com/soapdog/firefoxos-sample-app-image-uploader | GitHub Repository: https://github.com/soapdog/firefoxos-sample-app-image-uploader | ||
== ToDos app == | |||
A sample app for Firefox OS managing to do lists. | |||
https://dl.dropboxusercontent.com/u/1340110/todoapp.gif | |||
=== Implementation === | |||
==== index.html, app.js and model.js ==== | |||
This app is built similarly to the Memos app. It uses a model.js file to hold the functions responsible for manipulating todo lists and an app.js file that holds the application logic. There are two other files, status.js and util.js that hold auxiliary code. | |||
All the UI is built with the Gaia Building Blocks and index.html holds all the screens. | |||
=== Usage of Web APIs === | |||
This applications uses [https://developer.mozilla.org/en-US/docs/IndexedDB/Using_IndexedDB IndexedDB] to store the data and uses the [https://developer.mozilla.org/en-US/docs/WebAPI/Alarm Alarm API] to schedule todo item alarms. | |||
== Telnet Client == | == Telnet Client == | ||