Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application refactor #1

Closed
wdalmut opened this issue Jun 21, 2012 · 2 comments
Closed

Application refactor #1

wdalmut opened this issue Jun 21, 2012 · 2 comments
Assignees

Comments

@wdalmut
Copy link
Owner

wdalmut commented Jun 21, 2012

Check and fix application.php.

  • should be less than 100 LOC
  • controllers configuration is quite complex
@wdalmut
Copy link
Owner Author

wdalmut commented Jun 25, 2012

A complete refactor is the only way.

Separate Application and FrontController should be a good idea.

@wdalmut
Copy link
Owner Author

wdalmut commented Sep 6, 2012

Move controller handling to a Dispatcher

<?php
class Dispatcher
{
    public function dispatch(Route $route) { /* ... */ }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant