Skip to content

Model instance on Route? #3

@IamSAB

Description

@IamSAB

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions