Search the Community
Showing results for tags 'Offline'.
With any website, there is the possibility of db issues - overloaded server, network connectivity if the db is on another machine in the hosting network, etc. I would love to see a feature where if there is any reason the db fails or cannot be accessed, then pw displays a dedicated page that is stored in the filesystem - instead of displaying nothing, or an ugly mysql error. Obviously it would be good to log the error, and possibly send a notification to the admin (email?). This gives us the opportunity to still present a professional front (albeit with no functionality) while problems are resolved behind the scenes. I cannot think of a company I have worked for that hasn't had db errors at times What are your thoughts?
After I discovered the SerivceWorker spec, which was demonstrated really funny and informative in this panel, I wonder if it is possible to combine it with ProcessWire? Is it possible to make offline websites with ServiceWorker and ProcessWire combined? Because you still would need a server to serve the PHP files or does it only work with static HTML files? This question is maybe silly, but I would like know if anybody has experience with this new spec so far. Regards, Andreas
Hello, has anyone here thought about building a PW backend as a Chrome App to support offline mode? The editors using the backend of the pages I built often travel to remote places without any internet access so they asked me if it was possible to draft the articles offline and then simply upload them once they have access again. My first idea was to build a Chrome App that stores all data locally until it's explicitly told to upload everything and publish the articles. I've never built a Chrome App but from what I've figured it would mean packing an entire PW installation, modifying the database and file upload classes to use local storage and add an online status listener to provide the upload functionality. Makes sense? Or is there another way to achieve this? Thanks, thomas
is it somehow possible to get PW running without SQL - maybe as a file based CMS, saving everything in a single(?) xml or multiple txt files? i know, there are a lot of downsides using files, but for some small projects it would be a great alternative!