Skip to content

Create a middleware to interface Modler with Slim #4

Description

@enygma

I'd like to be able to link Modler instances with Slim routes (in theory any framework but start with Slim) that would allow a RESTful request to a route and the appropriate action be taken.

For example, on a GET request to a /user/view/:id route, it would bind that to a findById method on the model that would return that data. A POST request would know enough to take in all of the POST data and insert a new record.

NOTE: This would require something like the MySQL support that's also planned otherwise there's no datasource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions