Ferreteria/v0.5/URI data
< Ferreteria | v0.5
Jump to navigation
Jump to search
Ferreteria v0.5: URI Data system
|
About
The URI data system encodes certain session-state information – generally related to the current page and actions to be performed in it – in URLs which can be used as links. It also decodes URLs to determine which objects should be accessed in order to select pages and take actions while seamlessly preventing unintended action-repeats when a page is reloaded within the browser.
Pieces
- menu/objuri.php
- data/uri.php
- tree/menu/DropinLink.php
- cDropinLink now contains the Slug Registry, and looks up Features from their shorter URI-aliases in InvokeFeature()
- The aliases are registered by portable config files, e.g. config/portable/uri.php.
- cDropinLink now contains the Slug Registry, and looks up Features from their shorter URI-aliases in InvokeFeature()
The primary interactions where this system comes into play:
- We have a URL, need to figure out what it's asking us to do (which Feature, mainly).
- We have a Feature we want to link to, need to ask it to generate its part of the URL.
Related
This system is also used by the dropin system.