プロセスとURIのマッピングが出来たらWebアプリケーション

/admin/ -> authAdmin, adminProcess, templateProcess(admin.html)
/admin/account -> authAdmin, adminAccountProcess, templateProcess(adminAccount.html)
/admin/account/{id} -> authAdmin, adminAccountProcess, templateProcess(adminAccount.html)

Chain出来るシンプルなインターフェースを切っておいて

こんな感じで、URIにプロセスを貼り付ける。
また、プロセスはフィルタの様にchain出来る

URIの一致を検出する為のアルゴリズムだけ綺麗に出来れば
綺麗に構造を表現出来るし、良くないかなぁ。