Scriptdb - not just for Google Apps Script

6,778 views
6,679 views

Published on

Scriptdb is a no-sql db associated with each Google Apps Script. Here's some unusual uses - it's a useful db in its own right.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
6,778
On SlideShare
0
From Embeds
0
Number of Embeds
5,101
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scriptdb - not just for Google Apps Script

  1. 1. Google Apps ScriptDB Not only for google apps script Excel Liberation
  2. 2. ScriptDB      A no-SQL database Associated with a script Can be accessed by other scripts by including the parent script as a library Can be exposed to other applications via a Google Apps script web app It’s simple, it’s free
  3. 3. repository to be shared amongst multiple scripts Example referencin g script Parent script referencin g script scriptDB parent. myStuffDb() function myStuffDb() { return ScriptDb.getMyDb(); }
  4. 4. Multiple repositories to be shared amongst multiple scripts Example referencin g script Parent script referencin g script scriptDB parent. myStuffDb() function myStuffDb() { return ScriptDb.getMyDb(); } parent2. myStuffDb() function myStuffDb() { return ScriptDb.getMyDb(); } Parent2 script scriptDB2
  5. 5. Repository to be shared amongst external apps via REST contentService External app Example External app Parent script scriptDB function myStuffDb() { return ScriptDb.getMyDb(); } function doGet(e) { return ContentService .createTextOutput(JSON.stringify(process(e,parent.myStuffD b())) .setMimeType(ContentService.MimeType.JSON); } parent. myStuffDb() referencin g script
  6. 6. As a credential lockbox and oauth Proxy to external services External app Example External app Parent script scriptDB function myStuffDb() { return ScriptDb.getMyDb(); } function doGet(e) { return ContentService .createTextOutput(JSON.stringify(processOauth(e,parent.myStuffDb() )) .setMimeType(ContentService.MimeType.JSON); } parent. myStuffDb() Proxy script oauth service credentials External service oauth dance Proxy rest query
  7. 7. As an encrypted store for entitlement data (eg Mozilla open badge assertions) Mozilla openbadge infrastructure Example External badge enabled app Parent script scriptDB function myStuffDb() { return ScriptDb.getMyDb(); } Assertion manager Encrypted assertion data Badge manager
  8. 8. As a provider of shared lookups and Parent2 validation lists referencin g scripts Example Other data sources script Timed updating scripts scriptDB2 Validation lists Blister API scriptDB Parent script Custom function lookups and validations REST External apps, Excel, Google Docs Validation lists
  9. 9. More Information   For more information, see Excel Liberation website and Blog See here for a comparison of parse.com and scriptDB

×