Using the URL to build database-free web apps
bryanbraun.com
Using the URL to build database-free web apps
1–10 of 10 posts
Re: Using the URL to build database-free web apps
#2I made a semi-stateful web page like this but I stored the state in a single object that gets saved to local storage. Then I stringify that object and email it to myself whenever I switch between phone and computer. ...The web page can read in the string. https://smchughinfo.github.io/search.html
It works good enough for me. But the holy grail would be a way to store that state so that different devices could share state without having to do anything. Hmm.
Re: Using the URL to build database-free web apps
#3One big positive concerns sensitive info. The app wouldn't have to store it.
Re: Using the URL to build database-free web apps
#4Re: Using the URL to build database-free web apps
#5Re: Using the URL to build database-free web apps
#6Re: Using the URL to build database-free web apps
#7Godbolt.org Compiler Explorer works like this. Your code snippets are stored in the URL you share, so none of your code has to be persisted on the server.
Re: Using the URL to build database-free web apps
#8Re: Using the URL to build database-free web apps
#9How is this different from the GET method in PHP?
Re: Using the URL to build database-free web apps
#10Yeah, this is cool. Combined with a url shortener that doesn't have length limits this idea could really have legs. I made a semi-stateful web page like this but I stored the state in a single object that gets saved to local storage. Then I stringify that object and email it to myself whenever I switch between phone and computer. ...The web page can read in the string. https://smchughinfo.github.io/search.html It wor…