Live data from Hacker News

How to use a Google Spreadsheet as a database

api.blockspring.com

31–40 of 77 posts

Re: How to use a Google Spreadsheet as a database

#31

A spreadsheet is NOT a database! Argh! As a person who gets asked to fix these kinds of projects once they hit a wall (performance/concurrency/etc) and then have to migrate them to a proper DB platform, just stop it! Put it on in a DB up front and save some poor developer their sanity. Please.

He mentions that its explicitly for quick prototyping. I've started a few projects but stopped when setting up the infrastructure became too tedious. For the quick and dirty prototype, this seems perfect.

Re: How to use a Google Spreadsheet as a database

#32
post #27

Closest any company has come to a decent web version of Access is Intuit Quickbase. But it is priced for enterprise and not hobbiest. Lacks full SQL but can do some pretty amazing things. Also has reasonable REST-like API. I built a PoC data backend for an iPhone app really easily.

We also recently released an early version of the Airtable API. It provides an API that's specific to each database you've configured in the app: https://airtable.com https://airtable.com/api

Re: How to use a Google Spreadsheet as a database

#33

A spreadsheet is NOT a database! Argh! As a person who gets asked to fix these kinds of projects once they hit a wall (performance/concurrency/etc) and then have to migrate them to a proper DB platform, just stop it! Put it on in a DB up front and save some poor developer their sanity. Please.

Wouldn't that put you out of work, then? ;)

But in all seriousness, using a spreadsheet for prototyping makes perfect sense. Why waste a ton of time setting up a database when you're still figuring out what you are doing, and a spreadsheet works just fine? Yes, there's some hassle when you have to migrate, but that's compared to the hassle of setup. The amount of time to get the first iteration launched is a LOT more valuable than time down the road.

Re: How to use a Google Spreadsheet as a database

#34
post #10

Where's the free, web based, easy to use database, the web version of MS Access?

https://airtable.com/ is exactly what you are looking for

I'm not the parent poster but this looks like it may indeed be just what I'm looking for. Thanks.

Re: How to use a Google Spreadsheet as a database

#36

A spreadsheet is NOT a database! Argh! As a person who gets asked to fix these kinds of projects once they hit a wall (performance/concurrency/etc) and then have to migrate them to a proper DB platform, just stop it! Put it on in a DB up front and save some poor developer their sanity. Please.

[deleted]

Re: How to use a Google Spreadsheet as a database

#37
post #28
post #2

I beat my head on APIs from Google spreadsheets, so good on ya! How does blockspring deal with Google Spreadsheet availability issues? I remember the spreadsheet not always being available.

Same here! We went from using Spreadsheets to using our own flat files on Drive, but the API service would throw random rejection errors for both. Long story short, we learned that you should not try to use Drive or Google docs as a program database. It's designed first and foremost for users.

"random rejection errors"... AKA "webscale". things are going to fail. you need to add fault checking and retries with exponential backoff.

Re: How to use a Google Spreadsheet as a database

#38
post #28
post #2

I beat my head on APIs from Google spreadsheets, so good on ya! How does blockspring deal with Google Spreadsheet availability issues? I remember the spreadsheet not always being available.

Same here! We went from using Spreadsheets to using our own flat files on Drive, but the API service would throw random rejection errors for both. Long story short, we learned that you should not try to use Drive or Google docs as a program database. It's designed first and foremost for users.

I was looking for the google spreadsheets api earlier today and I noticed it has not been migrated away from GData yet. I wonder why this is not getting any love

https://code.google.com/p/gdata-java-client/ <--- Spreadsheets api is one of the three apis still alive out of all gdata apis

Re: How to use a Google Spreadsheet as a database

#39
post #38
post #28

Earlier quoted context omitted.

Same here! We went from using Spreadsheets to using our own flat files on Drive, but the API service would throw random rejection errors for both. Long story short, we learned that you should not try to use Drive or Google docs as a program database. It's designed first and foremost for users.

I was looking for the google spreadsheets api earlier today and I noticed it has not been migrated away from GData yet. I wonder why this is not getting any love https://code.google.com/p/gdata-java-client/ <--- Spreadsheets api is one of the three apis still alive out of all gdata apis

because the spreadsheets were originally developed by an outside company that was acquired and injected into the google apps ecosystem. supposedly google is working on a new "Sheets API" but it isn't available for the public yet... however i think the new "Sheets" use that API internally now.

Re: How to use a Google Spreadsheet as a database

#40
post #29

I'm a big fan of spreadsheets instead of db -- it has it's limitations of course, but works great for apps with a few thousand read-only records (items/products or even just text captions). I built HasGluten [1, 2] with react + google spreadsheet, hosted on github for free, you get a cheap, scalable, geo-distributed software stack, with simple interfaces to maintain both code (GitHub Pages) and data (Google Sheets —…

In Brazil all food manufactures are required to put in the package whether the product contains gluten or not. Isn't that the case in the United States?
Post reply on HN