Live data from Hacker News

Use a Google Spreadsheet as your JSON backend

coderwall.com

41–50 of 69 posts

Re: Use a Google Spreadsheet as your JSON backend

#41

For what it's worth, sheets also has publish as CSV which is super useful for, say, building d3 graphs (d3 consumes csv like a champ). I'm using it a lot lately as I have to create static sites with a bunch of different translations. I have the translators edit a set template, which is aggregated into a single sheet. Then, a (racket.. could be python or anything) script reads from the published csv and outputs all th…

G Spreadsheet CSV format sucks, with or without doublequote, with or without newline, all kinds of undefined behaviors.

Re: Use a Google Spreadsheet as your JSON backend

#46
post #45

It's nice tip. However IMO, it would be better to use services like Firebase.

Care to justify that opinion for those of us that can't read into your mind?

He does have a point - but only if you want to do something more complex. If you need a JSON store that you can easily edit, I don't see a real advantage over Firebase - but once you want to incorporate, say Twitter login or some form of user authentication for your visitors, you're better off with Firebase, I would say.

Re: Use a Google Spreadsheet as your JSON backend

#47

you're stealing my idea ! http://www.nextofwindows.com/how-to-use-google-doc-spreadshe...

Hey Jonathan,

I am the person who wrote the coderwall tip and I am sorry to hear that you feel like this. Especially because I did read your post a while ago, forgot about it and lost the link. I then just searched the GData docs and it's a documented feature. https://developers.google.com/gdata/samples/spreadsheet_samp... so I just spread something lesser known and didn't mean to "steal" anything.

Re: Use a Google Spreadsheet as your JSON backend

#49
post #45

It's nice tip. However IMO, it would be better to use services like Firebase.

Care to justify that opinion for those of us that can't read into your mind?

Because Firebase has a well written and documented API The best advantage of Firebase is it's realtime and it's blazing fast. You can create collaborative apps without worrying the backend. I don't want to change the topic, however it's a great tip. Firebase should be used for more complex things.
Post reply on HN