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.
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
GETrequest to a/user/view/:idroute, it would bind that to afindByIdmethod on the model that would return that data. APOSTrequest would know enough to take in all of thePOSTdata and insert a new record.NOTE: This would require something like the MySQL support that's also planned otherwise there's no datasource.