ZeffMu
ZeffMu copied to clipboard
Zend Framwork 2 Microframework
The entire code block that sets the template from from an array result is quite broken: https://github.com/BinaryKitten/ZeffMu/blob/2c4638136471780ccc629060214bb61373f8b27f/src/ZeffMu/ClosureController.php#L75
Currently a hash is created to create a unique key to link an instance of the ClosureController to the routes. This needs to be upgraded to work in a better...
Currently when you return a ViewModel with no template, the system tries to use the template "zeff-mu/closure" This happens for ALL routes and as such prevents view scripts actually being...
The `ZeffMu\App` class should expose methods to allow accessing view and controller helpers in closures. Ideally something like following I suppose: ``` php $app = \ZeffMu\App::init(); $app ->route('/', function() use...
As of https://gist.github.com/4692958 and #7, it may be interesting to improve flexibility of the current closure signature
Routing currently matches only the URL to define which controller to use. Something like following may be useful: ``` php $app->route('/blog', 'GET', function() { // view the blog }) ->route('/blog',...