SlideShare uma empresa Scribd logo
1 de 9
Google Apps ScriptDB
Not only for google apps script

Excel Liberation
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
repository to be shared amongst multiple
scripts
Example
referencin
g script
Parent
script
referencin
g script

scriptDB

parent. myStuffDb()

function myStuffDb() {
return ScriptDb.getMyDb();
}
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
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
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
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
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
More Information



For more information, see Excel Liberation website
and Blog
See here for a comparison of parse.com and
scriptDB

Mais conteúdo relacionado

Mais de Bruce McPherson

Google apps script database abstraction exposed version
Google apps script database abstraction   exposed versionGoogle apps script database abstraction   exposed version
Google apps script database abstraction exposed version
Bruce McPherson
 

Mais de Bruce McPherson (11)

Do something useful in Apps Script 5. Get your analytics pageviews to a sprea...
Do something useful in Apps Script 5. Get your analytics pageviews to a sprea...Do something useful in Apps Script 5. Get your analytics pageviews to a sprea...
Do something useful in Apps Script 5. Get your analytics pageviews to a sprea...
 
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheetDo something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
 
Do something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing appDo something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing app
 
Do something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a databaseDo something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a database
 
Do something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as databaseDo something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as database
 
Google apps script database abstraction exposed version
Google apps script database abstraction   exposed versionGoogle apps script database abstraction   exposed version
Google apps script database abstraction exposed version
 
Google cloud datastore driver for Google Apps Script DB abstraction
Google cloud datastore driver for Google Apps Script DB abstractionGoogle cloud datastore driver for Google Apps Script DB abstraction
Google cloud datastore driver for Google Apps Script DB abstraction
 
Dbabstraction
DbabstractionDbabstraction
Dbabstraction
 
Using script db as a deaddrop to pass data between GAS, JS and Excel
Using script db as a deaddrop to pass data between GAS, JS and ExcelUsing script db as a deaddrop to pass data between GAS, JS and Excel
Using script db as a deaddrop to pass data between GAS, JS and Excel
 
JavaScript client API for Google Apps Script API primer
JavaScript client API for Google Apps Script API primerJavaScript client API for Google Apps Script API primer
JavaScript client API for Google Apps Script API primer
 
VBA API for scriptDB primer
VBA API for scriptDB primerVBA API for scriptDB primer
VBA API for scriptDB primer
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Scriptdb - not just for Google Apps Script

  • 1. Google Apps ScriptDB Not only for google apps script Excel Liberation
  • 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