brianking / events-app

Initially intended as a mobile Web app for Mozilla community events. Hopefully it will be evolve to be useful for everyone having an event.
4 stars 3 forks source link

webapp manifest, local storage, etc... #4

Open fuzzyfox opened 12 years ago

fuzzyfox commented 12 years ago

make it so the the webapp can work online, and gracefully reduce functionality if in use offline.

maybe provide only the sessions for the current day in schedule view with a persistent notice stating that app is in offline-mode and some features don't work offline.

LeoMcA commented 12 years ago

caching the schedule offline will be easy enough, since we can just use appcache to make the browser cache that particular webpage for offline access.

as for each individual session, this could prove harder, however we could get node to generate the appcache manifest file, and add the url of each session to it

appcache: https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache

fuzzyfox commented 12 years ago

For now, I think we should only bother caching starred sessions. No point caching too much… just the things people think is more important.