libraries:

full
mvc
assets
storing
distributing
processing
conditions
caching
recycling
stating
responding
interpreting
base
monitor

examples:

tic tac toe

description

The storing library has a simple name for a very powerful lib. You are not only able to cache data objects and have access to them by using the caching library. Additionally, the storing lib informs you about any data changes that you want and allow. If you install a Shelf to a Storage, you can afterwards decide if that Shelf should be observed. In that case all watchers will be informed when you add or remove a data object at that Shelf. Additionally you can call an observer from the data object or a decorator when a value of the data object has changed. In that case the watchers will be informed, too. You can register a watcher at any Storage you want. If the data at another Storage has been changed, the watcher will still get informed. A watcher just needs to have one or more custom functions with the metatag [Watch(on="...")]. You can choose between 'added', 'removed', 'updated' and 'inform'. If you use 'inform' you need to add a key like this: [Watch(on="inform", key="..."]. This gives you the power to inform the watchers in very specific cases.
A watch function with a Watch metatag should only have one non-optional parameter and the type of that parameter specifies which data class changes in the storages are being watched. That gives you the option to create one watcher that is watching many different data types.

download

version 1.2 | released on Mar 9th 2016 | documentation

changes:
Added conditions, to release data automatically when a condition is met.

version 1.1 | released on Jan 5th 2016 | documentation

changes:
Added the functionality to generate the decorator classes at runtime from a given base class as template. All you need are some as3commons libraries, which are listed in the dependencies.
Added "[codeboxes]" to trace statements.

version 1.0 | released on Aug 29th 2015 | documentation

author

Stefan Dubsky - stefan[at]codeboxes.com

navigate:

description
download
author