You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice is not too opinionated on how you do things, so you could definitely do something very similar to your Slim example:
$app->set('routes', function (RouteCollector$r) use ($app) {
require$app->getRootDir().'/app/routes/session.php';
require$app->getRootDir().'/app/routes/member.php';
require$app->getRootDir().'/app/routes/admin.php';
});
I wonder how can we organise the simple routes below when they get bigger when the app grows.
For instance, with Slim framework, I can do this when we have routes to be grouped and stored in different files,
url: http://www.slimframework.com/2011/09/24/how-to-organize-a-large-slim-framework-application.html
Can this be done with Nice?
The text was updated successfully, but these errors were encountered: