I have a personal website and it will have a page where people can submit a kind of message to me. I need to be able to store these messages and access them from anywhere on the site. Currently my site is very simple with just HTML5 and CSS3. I will of course be adding JavaScript as is necessary. I want to add in a way to store and retrieve these "messages". What is the best way to do this?
Get some VPS, PHP way: install Nginx and Lumen on it, store it in MySQL DB. JS way: install node.js, do some API in express.js and store results MongoDB
In either way look how simple Todo's Apps are done, as idea is very similar.
You can do something with Wordpress. Which is so easy.And yes lot's of enhancement will be there , free themes etc.
Thanks for the answers everyone! They are all good answers but I decided to go with Firebase.
Zach
and
Are still good if you want to just get a server up and running to screw around on - they'll be local, but at least you don't have to pay for anything.
If your a Mac user, MacOS does come with Apache / Ruby / PHP
Marco Alka
Software Engineer, Technical Consultant & Mentor
Since you already have your site with HTML, why not just add a little script to the mix. You can either go for PHP or Perl, which you will have to call via fast-cgi (you might want to use fpm).
As for handling the messages: Instead of making some complex code to store and retrive messages, why not have a one-liner script send them to you via email? That's rather easy and many hosters allow sendmail.