Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/getbraincloud/examples-cloudcode

Examples of cloud code
https://github.com/getbraincloud/examples-cloudcode

Last synced: 3 months ago
JSON representation

Examples of cloud code

Lists

README

        

# examples-cloudcode

## What is Cloud Code?

brainCloud allows developers to write custom [Cloud Code](https://getbraincloud.com/apidocs/apiref/#cc) routines in JavaScript, that reside and run on the brainCloud servers, allowing execution of code more securely and efficiently than if it were run client-side.

brainCloud uses the [Mozilla Rhino](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino) engine to run scripts.

Scripts can be quickly written and tested via the [**Design | Cloud Code | Scripts**](https://portal.braincloudservers.com/login#/development/serverscripts-edit) page of the Design Portal.

## Handy references
* [Capabilities](https://getbraincloud.com/apidocs/api-modules/cloud-code/) – an overview of how cloud code can be used in brainCloud
* [Rules](https://getbraincloud.com/apidocs/cloud-code-central/cloud-code-tutorials/cloud-code-tutorial-background/) – an overview of cloud code scripts
* [Tutorials](https://getbraincloud.com/apidocs/cloud-code-central/cloud-code-tutorials/) – recommended for all developers!
* [Examples](examples/readme.md) – handy example scripts

## Even more references
Additional pages from the web:

[JavaScript Guide](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide) – Mozilla’s guide to JavaScript syntax