Changeset View
Changeset View
Standalone View
Standalone View
src/docs/tech/celerity.diviner
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
These references point at ##/res/## URIs, which are handled by | These references point at ##/res/## URIs, which are handled by | ||||
@{class:CelerityResourceController}. It responds to these requests and delivers | @{class:CelerityResourceController}. It responds to these requests and delivers | ||||
the relevant resources and packages, managing cache lifetimes and handling any | the relevant resources and packages, managing cache lifetimes and handling any | ||||
neessary preprocessing. It uses @{class:CelerityResourceMap} to locate resources | neessary preprocessing. It uses @{class:CelerityResourceMap} to locate resources | ||||
and read packaging rules. | and read packaging rules. | ||||
The dependency and packaging maps are generated by | The dependency and packaging maps are generated by | ||||
##scripts/celerity_mapper.php##, which updates | ##bin/celerity map##, which updates | ||||
##src/__celerity_resource_map__.php##. This file is automatically included and | ##resources/celerity/map.php##.. | ||||
just calls @{function:celerity_register_resource_map} with a large blob of | |||||
static data to populate @{class:CelerityResourceMap}. | |||||
@{class:CelerityStaticResourceResponse} also manages some Javelin information, | @{class:CelerityStaticResourceResponse} also manages some Javelin information, | ||||
and @{function:celerity_generate_unique_node_id} uses this metadata to provide | and @{function:celerity_generate_unique_node_id} uses this metadata to provide | ||||
a better uniqueness guarantee when generating unique node IDs. | a better uniqueness guarantee when generating unique node IDs. |