Skip to content

Instantly share code, notes, and snippets.

@joemccann
Created January 24, 2014 16:02
Show Gist options
  • Save joemccann/8600205 to your computer and use it in GitHub Desktop.
Save joemccann/8600205 to your computer and use it in GitHub Desktop.
Mother Ski Trip Offline Site

Every year at Mother we have an all-agency ski trip.

This year, we want a responsive site that will work on phones while people are on the slopes. The cell phone coverage there is shit so offline is necessary.

We basically need a schedule of events, phone numbers, etc. Nothing serious and nothing super interactive.

However, we are considering a leaderboard of sorts for some activities, but not a dealbreaker if data is eventually consistent.

Nonetheless, background syncing of sorts and adding to home page is a requirement.

Should be relatively straightforward but didn't want to go reinvent the wheel if a boilerplate exists.

@janl
Copy link

janl commented Jan 24, 2014

hm, maybe just using the regular hoodie app boilerplate that you get from hoodie new myapp (the shitty todo app) is enough to get you going. All you really need is your markup and a <script src="https://server.com/hoodie.js"> where you then can wire up forms / views to the hoodie.store CRUD methods.

For simplicity, you could forego signups and auto-login everyone with the same user ID and password (assuming a private URL on https) and share the same object space with everyone.

This is just me handwaving, I’m waiting for @svnlto, @gr2m and @espy to chime in :)

@gr2m
Copy link

gr2m commented Jan 24, 2014

Happy to help. I agree that hoodie new myapp would be a good start. All that it's missing is a cache manifest to make it work offline.

If you like, I could make a quick boilerplate that has Hoodie & appCache in it, either as simple plain html/css/js or with grunt/Backbone/Marionette

When would you need it?

Just ping me on twitter, as gists do not support notifications

@joemccann
Copy link
Author

Cache Manifest would be great. Again, just a static site. No need to for users to login or anything. Just need the site to be accessible offline for key information like agenda, lodge location, etc.

Sooner the better, but I know you have a business to run. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment