marg
marg copied to clipboard
A naive request router written in PHP.
Can we have something like this? /account => array(method: GET, controller: 'getAccount') /account => array(method: POST, controller: 'newAccount') /account => array(method: PUT, controller: 'saveAccount')
Support class based routers that may have request handlers named according to own choice other than having request routers named after HTTP verbs. The support for verb-based handlers should also...
Once the framework has become more solid and stable, package it for composer.
Symfony2 supports writing routers in YML and XML as well. Can we do something to support writing routers in the same. Its perhaps not a lot of work since routers...