You know any way I could access databases through a static page? I mean, I wanted to have an "open to read, but not write" database to feed contents to a static HTML through javascript, would be neat.
HN user
fgielow
http://kevtownsend.wordpress.com/2012/06/18/reckz0r-hacks-ma...
Interesting to consider. But I do not know much regarding this topic, I am just leaving that link because it is directly related :P
edit.: Anyways, I downloaded that file and it was really just plain texts, nothing to worry about. But seemed suspicious anyway. Why are there email addresses?
My mind was blown when I started thinking on the possibilities of entirely client-side running websites.
If the correct services exist, there are so many things that could be done better.
Thanks for the replies so far!
I will give it a try today later. If I find any nice solutions I will give feedback.
When I thought of doing this I thought: "Why haven't I seen this before?", as it seems so feasible, but I never really read many discussions regarding this topic. Anyways, I do not dive in web programming too much, there may exist some solutions already.
I see that much of the programming that is done on the server-side could be done in the client-side with no collateral effects at all, if some cares were correctly taken!
Going even further, is there a way to securely manipulate remote databases through javascript? Maybe have a pair of asymmetric keys on the client-side/server-side (this server-side would be of the third party that offers the service, not mine) so I can authenticate the user at the server side. The client would then have to send this key with the operation he wants to perform in the database. If he has access, the operation is performed. Otherwise, it isn't.
Again, I do not know much about these topics. Maybe it is already done and I don't know. If you guys know of something like what I am saying, please let me know. It seems that it should not be very difficult to achieve these things in practice.
How do you people think this would cope with using NoSQL approaches, such as MongoDB, instead of SQL based ones?