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

Model instance on Route? #3

Open
IamSAB opened this issue Jan 25, 2019 · 0 comments
Open

Model instance on Route? #3

IamSAB opened this issue Jan 25, 2019 · 0 comments

Comments

@IamSAB
Copy link

IamSAB commented Jan 25, 2019

You state that in your blog post Using a Dependency Injection Container to simplify Routing in an MVC framework:

In MVC the View and Controller encapsulate the model. The top level of the application that knows about the route doesn't need to know of the Model's existence, and as such it should be removed from the Route object entirely.

But this router version does have a model instance ...

@IamSAB IamSAB changed the title No model instance on Route Model instance on Route? Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant