Ask HN: How to design an entirely client-side generated website
I would like to know if it is possible to build a website in a way that it depends only in the javascript running on the client-side, considering the needs specified below.
I want to have a server only to serve files, and then the content of the website itself would all be obtained and generated by the client browser, no server-side programming at all. I want to use amazon s3 for hosting the files.
Then, I would need to have a "public" database which could be read by anyone without any login, so I could retrieve all my data from there securely through javascript. I do not want a server listening for AJAX requests or anything like that, as I would still need to do some specific server-side programming there. Is there any possibility of using online available databases in a public way, easily and securely retrievable through a client-side javascript request? Something like amazon RDS or MongoHQ would be great, but I do not know if it is possible.
I do not know much advanced stuff regarding these topics, I am sorry if this is too obvious or if I did not make much sense.
Thanks in advance.