Introducing vibe.d!
Sönke Ludwig
sludwig at outerproduct.org
Fri Apr 27 05:37:31 PDT 2012
The server is back up and I've looked at Flask's blueprints. So they
have a more implicit approach with annotations (once D has these, it
would be a possible extension for vibe). Right now my corresponding
pattern looks like this:
// create a global url router
auto r = new UrlRouter
// create application specific routes
r.get("/", &showHomePage);
// let each sub-component register its routes, possibly in a sub-path
registerVibeLog(settings, router);
registerTicker(router, "/ticker");
More information about the Digitalmars-d-announce
mailing list