Shop Project - Documentation
Routing, URL Mapping & Prioritization
Documentation of URL evaluation via cRouter, map.php, and the dispatcher. Describes how request parameters are validated and transformed into internal system and page state.
Important Routing Priorities
By default, a passed node parameter is evaluated through category resolution first. However, for `node=article` with a valid, numeric article ID, the article detail route is strictly prioritized. This effectively prevents naming collisions with identically named category keys.
Routing Logic (Simplified)
if ($requestedNode === 'article' && $articleId > 0) {
$navPage = 'article';
}