Replies: 1 comment 1 reply
-
Hi @tacman I would like to follow your project if you can share it into a public Github repository. Let me know, thanks. I'm involved in a similar project to work with photos inside a PWA. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My local newspaper wants to collect and publish photos of the high school sports games, crowd-sourced by coaches, parents and players. I've volunteered to do this, and currently have a Symfony app with a database of games, and we'll post QR codes at the game for people to scan to open the photo submission page.
Because I live in a rural county, with no traffic lights, more cows than people, and lousy internet, uploading the photo is often slow or impossible. And a QR code for each game isn't optimal. Obviously, this is a perfect candidate for a PWA.
As I see it, this is what I need to do.
Phase One
When that works, I'd be pretty excited.
Phase Two
There are only a few hundred games per season, so everything could fit into the DOM and I can do searches from the browser and not worry about online searches. Or I could use IndexDB, CouchDb, Firebase or something like that. I've read about them, but have no experience with them (and am looking for advice!)
The games are a perfect candidate for caching, the season is scheduled ahead of time, but while there are changes (rain, etc.), changes are infrequent. Of course, people may want to use the app to see other (approved) photos, but that will work online.
The photos via background-sync, though, feels like there must be a better way. Like saving the photos to the Camera Roll and then pushing it to some sort of sync.
Users need to be authenticated which is always messy but not too bad in Symfony. However, I don't know how it plays with a mobile app when offline. Store the user token in LocalStorage?
Lastly, I'm not UX designer, I'm happy with bootstrap on the desktop but I haven't been happy with my bootstrap designs on mobile. I don't like tailwind, and would prefer a free theme.
Beta Was this translation helpful? Give feedback.
All reactions