Navigation
Questionable Project: "Categories"
30 March 2009
I've been brainstorming over the last few days, and thought I might put up some documentation for my apps/tweaks/whatnot. However, Projects would very quickly get cluttered with a bunch of pages named docs_vcssh_main. So, the solution? Namespaces!
If I decide to go through with it, Categories would let you make sub-folders in the pages/ directory, which correspond to the categories you have set up. The way it would work is the same way as Wikipedia's system... say you have a URL like this: http://www.site.com/index.php?slug=overview:contents Categories would see the colon (:) in there and intercept the string before it, which is the category. In this case, you'd be accessing the "contents" page in the "overview" category (pages/overview/contents.php).
It's just a thought... Not all NanoCMS sites would need it; most probably won't. But I might develop it just for my own uses. I don't know how much code it would need, but it doesn't seem too complicated on the face.