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. 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. 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. 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. 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. 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. 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. More Information
For more information, see Excel Liberation website
and Blog
See here for a comparison of parse.com and
scriptDB