Example 1: Storage and Retreival
This example shows the ability to create, store and retreive decals from the repository.
Step 2: Write
Here we will write the decal to the right into the repository. Click the option to Store Decal, and then make sure to copy the returned ID to your clipboard.
Decals can be stored as simple JSON objects in No-SQL databases, or on a filesystem. Here we are writing the decal to a No-SQL database, and returning an ID.
Here we are writing the decal into a No-SQL database. We do not explicitly record within the decal what the ID of the decal is, it is generated at runtime. Methods of generating the ID, such as MD5 hashing the decal to obtain an ID (useful for de-duplication) are also valid.
Store Decal