the PoC Url Structure
http://pileofcrap.org/[[module]]/[controller]/[action]/[parameters] ---------------------| p1 | p2 | p3 | p4
- [module] (p1), optional, default is index
- For the most part the module won't change.
- See: File Naming Conventions
- [controller] (p2)
- The controller will be, news, auth, user, articles, images
- [action] (p3)
- Action will be something like view, edit, add, etc.
- [parameters] (p4)
- Parameters specified will be in 'name/value' pairs.
- example: /news/view/id/69/page/2 would result the news controller executing the view action with parameters in id = 69, page = 2
- ? additional
- If required query parameters are required, they can be appended in a standard query string.
- an example would be
- http://pileofcrap.org/news/view/1
- http://pileofcrap.org/article/list
- http://pileofcrap.org/article/view/259/page/2
- http://pileofcrap.org/rss/news/category/4
- http://pileofcrap.org/rss/articles/user/69
- etc..
rough layout
out of date
- \
- news\
- article\
- profile\
- users\
- -> view
- -> edit
- -> verify
- -> mask (aka hide or flag private)
- -> list
- images\
- media\
- -> upload
- -> browse
- -> view
- -> resize
- -> fullsize
- -> thumbnail
- -> scale
- -> square
- -> regenerate
- rss\
- -> rss 2.0
- -> atom ?