Ferreteria/v0.5/URI data: Difference between revisions
< Ferreteria | v0.5
Jump to navigation
Jump to search
(Created page with "==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 c...") |
No edit summary |
||
Line 7: | Line 7: | ||
** cDropinLink now contains the Slug Registry, and looks up Features from their shorter URI-aliases in InvokeFeature() | ** 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 | *** The aliases are registered by portable config files, e.g. /config/portable/uri.php | ||
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== | ==Related== | ||
This system is also used by the {{l/same|dropin}} system. | This system is also used by the {{l/same|dropin}} system. |
Revision as of 20:28, 28 February 2022
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.